History

netfilter: nf_tables: add devgroup support in meta expresion

Add devgroup support to let us match device group of a packets incoming or outgoing interface.

Ana Rey committed 12 years ago

Commit 3045d761 parent ce24b722 files · +16 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+4−0
@@ -573,6 +573,8 @@ enum nft_exthdr_attributes { · 572 unmodified lines
573573 * @NFT_META_BRI_OIFNAME: packet output bridge interface name
574574 * @NFT_META_PKTTYPE: packet type (skb->pkt_type), special handling for loopback
575575 * @NFT_META_CPU: cpu id through smp_processor_id()
576+ * @NFT_META_IIFGROUP: packet input interface group
577+ * @NFT_META_OIFGROUP: packet output interface group
576578 */
577579 enum nft_meta_keys {
578580 NFT_META_LEN,
@@ -596,6 +598,8 @@ enum nft_meta_keys { · 17 unmodified lines
596598 NFT_META_BRI_OIFNAME,
597599 NFT_META_PKTTYPE,
598600 NFT_META_CPU,
601+ NFT_META_IIFGROUP,
602+ NFT_META_OIFGROUP,
599603 };
600604
601605 /**