]> 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)
commit57951f04e3357df8224c2addeb0838f93ca005f7
tree0faaab58d7760b648a8bf2bd9173cf646da997cd
parentef15e9d121a164ac2b98d68aa66ea4a3dc9c130d
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