History

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.

Florian Westphal committed 9 years ago

Commit 6b5dc981 parent 99d17122 files · +68 −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
@@ -811,11 +811,13 @@ enum nft_meta_keys { · 810 unmodified lines
811 * @NFT_RT_CLASSID: realm value of packet's route (skb->dst->tclassid)811 * @NFT_RT_CLASSID: realm value of packet's route (skb->dst->tclassid)
812 * @NFT_RT_NEXTHOP4: routing nexthop for IPv4812 * @NFT_RT_NEXTHOP4: routing nexthop for IPv4
813 * @NFT_RT_NEXTHOP6: routing nexthop for IPv6813 * @NFT_RT_NEXTHOP6: routing nexthop for IPv6
814 * @NFT_RT_TCPMSS: fetch current path tcp mss
814 */815 */
815enum nft_rt_keys {816enum nft_rt_keys {
816 NFT_RT_CLASSID,817 NFT_RT_CLASSID,
817 NFT_RT_NEXTHOP4,818 NFT_RT_NEXTHOP4,
818 NFT_RT_NEXTHOP6,819 NFT_RT_NEXTHOP6,
820 NFT_RT_TCPMSS,
819};821};
820 822
821/**823/**