]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPSEC]: Use IPv6 calling convention as the convention for x->mode->output
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Oct 2007 22:44:44 +0000 (15:44 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:54 +0000 (16:55 -0700)
commit37fedd3aab6517daec628764c5d66dd8761fbe5f
tree12227aec3944168bff04173dccd580240f4496aa
parent7b277b1a5fb147cb828e5d8b9780cee60f31a9bf
[IPSEC]: Use IPv6 calling convention as the convention for x->mode->output

The IPv6 calling convention for x->mode->output is more general and could
help an eventual protocol-generic x->type->output implementation.  This
patch adopts it for IPv4 as well and modifies the IPv4 type output functions
accordingly.

It also rewrites the IPv6 mac/transport header calculation to be based off
the network header where practical.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv4/ipcomp.c
net/ipv4/xfrm4_mode_beet.c
net/ipv4/xfrm4_mode_transport.c
net/ipv4/xfrm4_mode_tunnel.c
net/ipv6/xfrm6_mode_beet.c
net/ipv6/xfrm6_mode_ro.c
net/ipv6/xfrm6_mode_transport.c
net/ipv6/xfrm6_mode_tunnel.c