]> err.no Git - linux-2.6/commit
[XFRM] STATE: Add a hook to find offset to be inserted header in outbound.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 00:57:28 +0000 (17:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:36 +0000 (15:06 -0700)
commitaee5adb4307c4c63a4dc5f3b49984d76f8a71b5b
treeb2daac197259c535d66749617ede6f8479b355a4
parenteb2971b68a7d17a7d0fa2c7fc6fbc4bfe41cd694
[XFRM] STATE: Add a hook to find offset to be inserted header in outbound.

On current kernel, ip6_find_1stfragopt() is used by IPv6 IPsec to find
offset to be inserted header in outbound for transport mode. (BTW, no
usage may be needed for IPv4 case.)  Mobile IPv6 requires another
logic for routing header and destination options header
respectively. This patch is common platform for the offset and adopts
it to IPsec.

Based on MIPL2 kernel patch.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/ipv6/ah6.c
net/ipv6/esp6.c
net/ipv6/ipcomp6.c
net/ipv6/ipv6_syms.c
net/ipv6/xfrm6_mode_transport.c
net/ipv6/xfrm6_output.c