{IPv6,xfrm} Add ESN support for AH egress part
authorFan Du <fan.du@windriver.com>
Sat, 18 Jan 2014 01:54:26 +0000 (09:54 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 12 Feb 2014 06:02:11 +0000 (07:02 +0100)
commit26dd70c3fad36f4b1aa124080d5907db10ed287c
treec296a63cc7aee9f53f6a3dc33cfb7aa0f76c4c04
parentd8b2a8600b0ea002985d65bba4a94642a01bfe4c
{IPv6,xfrm} Add ESN support for AH egress part

This patch add esn support for AH output stage by attaching upper 32bits
sequence number right after packet payload as specified by RFC 4302.

Then the ICV value will guard upper 32bits sequence number as well when
packet going out.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ah6.c