Re: [PATCH nf-next 1/3] netfilter: bridge: add nf_afinfo to enable queuing to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephane Bryant <stephane.ml.bryant@xxxxxxxxx> wrote:
> From: stephane <stephane.ml.bryant@xxxxxxxxx>
> 
> This just adds and registers a nf_afinfo for the ethernet
> bridge, which enables queuing to userspace for the AF_BRIDGE
> family. No checksum computation is done.
> 
> Signed-off-by: Stephane Bryant <stephane.ml.bryant@xxxxxxxxx>
> ---
>  net/bridge/br_netfilter_hooks.c | 44 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
> 
> diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
> index 7ddbe7e..7f8f922 100644
> --- a/net/bridge/br_netfilter_hooks.c
> +++ b/net/bridge/br_netfilter_hooks.c
> @@ -999,6 +999,46 @@ static struct ctl_table brnf_table[] = {
>  };
>  #endif
>  
> +static void nf_br_saveroute(const struct sk_buff *skb,
> +			    struct nf_queue_entry *entry)

Please put all of these functions into a new file.
CONFIG_BRIDGE_NETFILTER will be deprecated, this is the glue part
that allows a bridge to use arp and /ip(6)tables.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux