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
563 * @NFT_META_SECMARK: packet secmark (skb->secmark)563 * @NFT_META_SECMARK: packet secmark (skb->secmark)
564 * @NFT_META_NFPROTO: netfilter protocol564 * @NFT_META_NFPROTO: netfilter protocol
565 * @NFT_META_L4PROTO: layer 4 protocol number565 * @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
566 */568 */
567enum nft_meta_keys {569enum nft_meta_keys {
568 NFT_META_LEN,570 NFT_META_LEN,
@@ -582,6 +584,8 @@ enum nft_meta_keys { · 13 unmodified lines
582 NFT_META_SECMARK,584 NFT_META_SECMARK,
583 NFT_META_NFPROTO,585 NFT_META_NFPROTO,
584 NFT_META_L4PROTO,586 NFT_META_L4PROTO,
587 NFT_META_BRI_IIFNAME,
588 NFT_META_BRI_OIFNAME,
585};589};
586 590
587/**591/**

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