History

netfilter: nf_tables: Add meta expression key for bridge interface name

NFT_META_BRI_IIFNAME to get packet input bridge interface name NFT_META_BRI_OIFNAME to get packet output bridge interface name Such meta key are accessible only through NFPROTO_BRIDGE family, on a dedicated nft meta module: nft_meta_bridge.

Tomasz Bursztyka committed 12 years ago

Commit f5efc691 parent aa456605 files · +158 −2Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+4−0
@@ -563,6 +563,8 @@ enum nft_exthdr_attributes { · 562 unmodified lines
563563 * @NFT_META_SECMARK: packet secmark (skb->secmark)
564564 * @NFT_META_NFPROTO: netfilter protocol
565565 * @NFT_META_L4PROTO: layer 4 protocol number
566+ * @NFT_META_BRI_IIFNAME: packet input bridge interface name
567+ * @NFT_META_BRI_OIFNAME: packet output bridge interface name
566568 */
567569 enum nft_meta_keys {
568570 NFT_META_LEN,
@@ -582,6 +584,8 @@ enum nft_meta_keys { · 13 unmodified lines
582584 NFT_META_SECMARK,
583585 NFT_META_NFPROTO,
584586 NFT_META_L4PROTO,
587+ NFT_META_BRI_IIFNAME,
588+ NFT_META_BRI_OIFNAME,
585589 };
586590
587591 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t