https://github.com/torvalds/linux
Revision e674d0f38de6109b59dbe30fba8b296a03229b8e authored by Yasuyuki Kozakai on 19 September 2005, 22:34:40 UTC, committed by David S. Miller on 19 September 2005, 22:34:40 UTC
Some IPv6 matches have very similar loops to find IPv6 extension header
and we can unify them. This patch introduces ipv6_find_hdr() to do it.
I just checked that it can find the target headers in the packet which has
dst,hbh,rt,frag,ah,esp headers.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 926b50f
History
Tip revision: e674d0f38de6109b59dbe30fba8b296a03229b8e authored by Yasuyuki Kozakai on 19 September 2005, 22:34:40 UTC
[NETFILTER] ip6tables: remove duplicate code
Tip revision: e674d0f

back to top