diff options
author | Florian Westphal <fw@strlen.de> | 2017-08-08 15:48:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-19 13:15:10 +0200 |
commit | 6b5dc98e8fac041a3decfc3186e08c1c570ea691 (patch) | |
tree | 489176243b99fb08ad1896fda50a595d24357529 /include/uapi/linux/netfilter | |
parent | 99d1712bc41c7c9a5a473c104a4ad15427757b22 (diff) | |
download | linux-6b5dc98e8fac041a3decfc3186e08c1c570ea691.tar.gz linux-6b5dc98e8fac041a3decfc3186e08c1c570ea691.tar.bz2 linux-6b5dc98e8fac041a3decfc3186e08c1c570ea691.zip |
netfilter: rt: add support to fetch path mss
to be used in combination with tcp option set support to mimic
iptables TCPMSS --clamp-mss-to-pmtu.
v2: Eric Dumazet points out dst must be initialized.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux/netfilter')
-rw-r--r-- | include/uapi/linux/netfilter/nf_tables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/netfilter/nf_tables.h b/include/uapi/linux/netfilter/nf_tables.h index 40fd199f7531..b49da72efa68 100644 --- a/include/uapi/linux/netfilter/nf_tables.h +++ b/include/uapi/linux/netfilter/nf_tables.h @@ -811,11 +811,13 @@ enum nft_meta_keys { * @NFT_RT_CLASSID: realm value of packet's route (skb->dst->tclassid) * @NFT_RT_NEXTHOP4: routing nexthop for IPv4 * @NFT_RT_NEXTHOP6: routing nexthop for IPv6 + * @NFT_RT_TCPMSS: fetch current path tcp mss */ enum nft_rt_keys { NFT_RT_CLASSID, NFT_RT_NEXTHOP4, NFT_RT_NEXTHOP6, + NFT_RT_TCPMSS, }; /** |