]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ip6_tables: add flags parameter to ipv6_find_hdr()
authorHans Schillstrom <hans.schillstrom@ericsson.com>
Mon, 23 Apr 2012 03:35:26 +0000 (03:35 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 May 2012 10:53:47 +0000 (12:53 +0200)
commit549aa96dbac2f3d7b0e7676f534e2cb81542efa9
tree0faaab58d7760b648a8bf2bd9173cf646da997cd
parent27d9de13d29d137c71d19dbd2c3f85c6a1a9de04
netfilter: ip6_tables: add flags parameter to ipv6_find_hdr()

This patch adds the flags parameter to ipv6_find_hdr. This flags
allows us to:

* know if this is a fragment.
* stop at the AH header, so the information contained in that header
  can be used for some specific packet handling.

This patch also adds the offset parameter for inspection of one
inner IPv6 header that is contained in error messages.

Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_ipv6/ip6_tables.h
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/ip6t_ah.c
net/ipv6/netfilter/ip6t_frag.c
net/ipv6/netfilter/ip6t_hbh.c
net/ipv6/netfilter/ip6t_rt.c
net/netfilter/xt_TPROXY.c
net/netfilter/xt_socket.c