]> git.baikalelectronics.ru Git - kernel.git/commit
[XFRM] IPV6: Update outbound state timestamp for each sending.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 01:20:16 +0000 (18:20 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:43 +0000 (15:06 -0700)
commit83024d003bf3233d337f6b515eaa4da1f4ac26e0
tree3ef6e1b304248fad27c8063b7fbffdba966a0671
parent0546ae7b126e423a5e38ec990129dc5201e25fe9
[XFRM] IPV6: Update outbound state timestamp for each sending.

With this patch transformation state is updated last used time
for each sending. Xtime is used for it like other state lifetime
expiration.
Mobile IPv6 enabled nodes will want to know traffic status of each
binding (e.g. judgement to request binding refresh by correspondent node,
or to keep home/care-of nonce alive by mobile node).
The last used timestamp is an important hint about it.
Based on MIPL2 kernel patch.

This patch was also written by: Henrik Petander <petander@tcs.hut.fi>

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/linux/xfrm.h
include/net/xfrm.h
net/ipv6/xfrm6_output.c
net/xfrm/xfrm_user.c