Searched refs:dst_mtu (Results 1 – 25 of 45) sorted by relevance
12
/linux/net/netfilter/ |
A D | nft_rt.c | 23 u32 minlen = sizeof(struct ipv6hdr), mtu = dst_mtu(skbdst); in get_tcpmss() 43 mtu = min(mtu, dst_mtu(dst)); in get_tcpmss()
|
A D | xt_TCPMSS.c | 64 mtu = dst_mtu(&rt->dst); in tcpmss_reverse_mtu() 105 unsigned int min_mtu = min(dst_mtu(skb_dst(skb)), in_mtu); in tcpmss_mangle_packet()
|
/linux/net/ipv6/ |
A D | xfrm6_output.c | 68 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
|
A D | ipv6_sockglue.c | 1216 val = dst_mtu(dst); in do_ipv6_getsockopt() 1315 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
|
A D | ip6_output.c | 310 mtu = dst_mtu(dst); in ip6_xmit() 1403 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(&rt->dst); in ip6_setup_cork() 1406 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(xfrm_dst_path(&rt->dst)); in ip6_setup_cork()
|
A D | tcp_ipv6.c | 368 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) { in tcp_v6_mtu_reduced() 369 tcp_sync_mss(sk, dst_mtu(dst)); in tcp_v6_mtu_reduced() 1391 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v6_syn_recv_sock()
|
/linux/net/dccp/ |
A D | ipv4.c | 172 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in dccp_do_pmtu_discovery() 175 mtu = dst_mtu(dst); in dccp_do_pmtu_discovery() 433 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
|
A D | ipv6.c | 156 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) in dccp_v6_err() 157 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_v6_err() 541 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v6_request_recv_sock()
|
A D | output.c | 551 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_connect()
|
/linux/net/l2tp/ |
A D | l2tp_core.h | 302 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_xmit.c | 381 mtu = dst_mtu(&rt->dst); in __ip_vs_get_out_rt() 383 mtu = dst_mtu(&rt->dst) - sizeof(struct iphdr); in __ip_vs_get_out_rt() 544 mtu = dst_mtu(&rt->dst); in __ip_vs_get_out_rt_v6() 546 mtu = dst_mtu(&rt->dst) - sizeof(struct ipv6hdr); in __ip_vs_get_out_rt_v6()
|
/linux/net/ipv4/netfilter/ |
A D | nf_reject_ipv4.c | 277 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
|
/linux/net/xfrm/ |
A D | xfrm_output.c | 758 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size() 804 mtu = dst_mtu(dst); in xfrm6_tunnel_check_size()
|
A D | xfrm_policy.c | 3754 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu() 3759 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu() 3802 mtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_bundle_ok() 3810 mtu = dst_mtu(xdst->route); in xfrm_bundle_ok() 3850 return mtu ? : dst_mtu(xfrm_dst_path(dst)); in xfrm_mtu()
|
/linux/net/ipv4/ |
A D | ip_tunnel.c | 498 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu() 501 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in tnl_update_pmtu() 524 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu()
|
A D | ip_vti.c | 237 mtu = dst_mtu(dst); in vti_xmit()
|
A D | ip_output.c | 1255 dst_mtu(&rt->dst) : READ_ONCE(rt->dst.dev->mtu); in ip_setup_cork() 1503 (skb->len <= dst_mtu(&rt->dst) && in __ip_make_skb()
|
/linux/include/net/ |
A D | ip6_route.h | 277 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
|
A D | dst.h | 199 static inline u32 dst_mtu(const struct dst_entry *dst) in dst_mtu() function
|
/linux/drivers/net/wireguard/ |
A D | device.c | 155 mtu = skb_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
|
/linux/net/rxrpc/ |
A D | peer_object.c | 201 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
|
/linux/include/net/sctp/ |
A D | sctp.h | 605 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
|
/linux/drivers/net/ |
A D | gtp.c | 528 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_ip4() 539 mtu = dst_mtu(&rt->dst); in gtp_build_skb_ip4()
|
/linux/drivers/net/ppp/ |
A D | pptp.c | 453 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
|
/linux/net/decnet/ |
A D | dn_route.c | 851 return dn_mss_from_pmtu(dst->dev, dst_mtu(dst)); in dn_dst_default_advmss() 894 unsigned int mss = dn_mss_from_pmtu(dev, dst_mtu(&rt->dst)); in dn_rt_set_next_hop()
|
Completed in 50 milliseconds
12