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/netfilter (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
573 * @NFT_META_BRI_OIFNAME: packet output bridge interface name573 * @NFT_META_BRI_OIFNAME: packet output bridge interface name
574 * @NFT_META_PKTTYPE: packet type (skb->pkt_type), special handling for loopback574 * @NFT_META_PKTTYPE: packet type (skb->pkt_type), special handling for loopback
575 * @NFT_META_CPU: cpu id through smp_processor_id()575 * @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
576 */578 */
577enum nft_meta_keys {579enum nft_meta_keys {
578 NFT_META_LEN,580 NFT_META_LEN,
@@ -596,6 +598,8 @@ enum nft_meta_keys { · 17 unmodified lines
596 NFT_META_BRI_OIFNAME,598 NFT_META_BRI_OIFNAME,
597 NFT_META_PKTTYPE,599 NFT_META_PKTTYPE,
598 NFT_META_CPU,600 NFT_META_CPU,
601 NFT_META_IIFGROUP,
602 NFT_META_OIFGROUP,
599};603};
600 604
601/**605/**