Methods and apparatus for processing a network connection are disclosed.
The network connection is established by a first network protocol stack.
A determination is made whether to offload the network connection from
the first network protocol stack to the second network protocol stack.
The network connection is then transferred from the first network
protocol stack to the second network protocol stack when a determination
has been made to offload the network connection from the first network
protocol stack to the second network protocol stack. The network
connection is handled by second network protocol stack until a
determination has been made to offload the network connection back to the
first network protocol stack. When an indicator is received indicating a
request to transfer the network connection back to the first network
protocol stack, the network connection is transferred back to the first
network protocol stack. State information associated with the network
connection is shared by the two network protocol stacks, thereby enabling
the network connection to be transferred seamlessly and without loss of
data.