aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso2021-10-25 15:43:29 +0200
committerPablo Neira Ayuso2021-11-01 09:29:20 +0100
commit56fa95014a0447f798444e626091cbeb3176af24 (patch)
tree188f359c246918a4f29ec3f93bd3178a2ac31d0b /include/net
parentb7b1d02fc43925a4d569ec221715db2dfa1ce4f5 (diff)
netfilter: nft_meta: add NFT_META_IFTYPE
Generalize NFT_META_IIFTYPE to NFT_META_IFTYPE which allows you to match on the interface type of the skb->dev field. This field is used by the netdev family to add an implicit dependency to skip non-ethernet packets when matching on layer 3 and 4 TCP/IP header fields. For backward compatibility, add the NFT_META_IIFTYPE alias to NFT_META_IFTYPE. Add __NFT_META_IIFTYPE, to be used by userspace in the future to match specifically on the iiftype. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions