{IPv4,xfrm} Add ESN support for AH egress part
authorFan Du <fan.du@windriver.com>
Sat, 18 Jan 2014 01:54:24 +0000 (09:54 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 12 Feb 2014 06:02:10 +0000 (07:02 +0100)
commitd4d573d0334d07341beffdcf97e2b85d3955d8ae
tree9cd3e65edd08be02ab95c581bd626a95b826acdf
parent25a91d8d91911f84a03a039339b29537e7f1970d
{IPv4,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/ipv4/ah4.c