]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/netfilter/xt_TPROXY.c
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)
commit84018f55ab883f03d41ec3c9ac7f0cc80830b20f
tree0faaab58d7760b648a8bf2bd9173cf646da997cd
parent9bb862beb6e5839e92f709d33fda07678f062f20
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