Re: [PATCH nft] src: add netdev family support

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

 



On 25.05, Pablo Neira Ayuso wrote:
> diff --git a/include/rule.h b/include/rule.h
> index 97959f7..06ec2ff 100644
> --- a/include/rule.h
> +++ b/include/rule.h
> @@ -72,6 +72,7 @@ enum table_flags {
>   *
>   * @list:	list node
>   * @handle:	table handle
> + * @dev:	network device name (only for netdev family)
>   * @location:	location the table was defined at
>   * @chains:	chains contained in the table
>   * @sets:	sets contained in the table
> @@ -80,6 +81,7 @@ enum table_flags {
>  struct table {
>  	struct list_head	list;
>  	struct handle		handle;
> +	const char		*dev;

I think this logically belongs into struct handle itself.
--
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