TUNNELING METHOD OF MOBILE TERMINAL FOR SUPPORTING IP MOBILITY
A tunneling method for a mobile terminal is provided. In the tunneling method, a first device driver connected to a visit network senses a packet tunneled to an interface connected to the visit network, and the first device driver decapsulates a packet without transmitting the packet to a first IP end that is an upper layer of the first device driver and transmits the decapsulated packet to a second driver. Then, the second driver transmits a packet to a second IP end that is an upper layer of the second driver.
1 . A tunneling method for a mobile terminal, comprising:
at a first device driver connected to a visit network, sensing a packet tunneled to an interface connected to the visit network;
at the first device driver, decapsulating a packet without transmitting the packet to a first IP end that is an upper layer of the first device driver and transmitting the decapsulated packet to a second driver; and
at the second driver, transmitting a packet to a second IP end that is an upper layer of the second driver.
2 . The tunneling method of claim 1 , wherein in the decapsulating of the packet, a header is removed if the packet is an IP-in-IP type packet.
3 . The tunneling method of claim 1 , wherein in the decapsulating of the packet, the packet is decoded through security association if the packet is an IP security protocol type packet.
4 . A tunneling method for a mobile terminal comprising:
at a second device driver with a home address is mapped, receiving an IP packet using a home address;
at the second device driver, transferring the received packet to a first device driver mapped to a current tunneling end point; and
at the first driver, encapsulating the received packet and transmitting the encapsulated packet to an interface that is a lower layer of the first driver.
5 . The tunneling method of claim 4 , wherein in the encapsulating of the received packet, a header is added if the packet is an IP-in-IP type.
6 . The tunneling method of claim 4 , wherein in the encapsulating of the received packet, a packet is encoded through security association if a packet is an IP security protocol type.