History

netfilter: nf_tables: add nfproto support to meta expression

Needed by multi-family tables to distinguish IPv4 and IPv6 packets.

Patrick McHardy committed 12 years ago

Commit 124edfa1 parent 1d491442 files · +6 −0Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -531,6 +531,7 @@ enum nft_exthdr_attributes { · 530 unmodified lines
531531 * @NFT_META_NFTRACE: packet nftrace bit
532532 * @NFT_META_RTCLASSID: realm value of packet's route (skb->dst->tclassid)
533533 * @NFT_META_SECMARK: packet secmark (skb->secmark)
534+ * @NFT_META_NFPROTO: netfilter protocol
534535 */
535536 enum nft_meta_keys {
536537 NFT_META_LEN,
@@ -548,6 +549,7 @@ enum nft_meta_keys { · 11 unmodified lines
548549 NFT_META_NFTRACE,
549550 NFT_META_RTCLASSID,
550551 NFT_META_SECMARK,
552+ NFT_META_NFPROTO,
551553 };
552554
553555 /**

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