]> git.baikalelectronics.ru Git - kernel.git/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)
commiteb0db8d019266d8d945765025718a11a299aec8c
treeb2daac197259c535d66749617ede6f8479b355a4
parentd7ab88864d46b0478e8bd12400a6b0baabf2bca7
[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