Re: [PATCH libnetfilter_conntrack 1/2] dump: support filtering by zone

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

 



On Tue, Dec 05, 2023 at 09:35:03AM +0000, Felix Huettner wrote:
> diff --git a/include/libnetfilter_conntrack/libnetfilter_conntrack.h b/include/libnetfilter_conntrack/libnetfilter_conntrack.h
> index 76b5c27..2e9458a 100644
> --- a/include/libnetfilter_conntrack/libnetfilter_conntrack.h
> +++ b/include/libnetfilter_conntrack/libnetfilter_conntrack.h
> @@ -547,6 +547,7 @@ enum nfct_filter_dump_attr {
>  	NFCT_FILTER_DUMP_MARK = 0,	/* struct nfct_filter_dump_mark */
>  	NFCT_FILTER_DUMP_L3NUM,		/* uint8_t */
>  	NFCT_FILTER_DUMP_STATUS,	/* struct nfct_filter_dump_mark */
> +	NFCT_FILTER_DUMP_ZONE,		/* uint16_t */
>  	NFCT_FILTER_DUMP_TUPLE,
>  	NFCT_FILTER_DUMP_MAX
>  };

Applied with nit. I had to move NFCT_FILTER_DUMP_ZONE after
NFCT_FILTER_DUMP_TUPLE in enum nfct_filter_dump_attr, otherwise it
breaks ABI.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux