Home
last modified time | relevance | path

Searched refs:dst_mtu (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.15/net/netfilter/
H A Dnft_rt.c23 u32 minlen = sizeof(struct ipv6hdr), mtu = dst_mtu(skbdst); in get_tcpmss()
43 mtu = min(mtu, dst_mtu(dst)); in get_tcpmss()
H A Dxt_TCPMSS.c64 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-6.15/net/ipv6/
H A Dxfrm6_output.c81 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
H A Dipv6_sockglue.c1207 val = dst_mtu(dst); in do_ipv6_getsockopt()
1306 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
H A Dip6_output.c352 mtu = dst_mtu(dst); in ip6_xmit()
1392 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(&rt->dst); in ip6_setup_cork()
1395 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(xfrm_dst_path(&rt->dst)); in ip6_setup_cork()
H A Dtcp_ipv6.c368 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()
1511 tcp_sync_mss(newsk, dst_mtu(dst));
H A Dip6_tunnel.c641 if (rel_info > dst_mtu(skb_dst(skb2))) in ip4ip6_err()
1190 mtu = dst_mtu(dst) - eth_hlen - psh_hlen - t->tun_hlen; in ip6_tnl_xmit()
/linux-6.15/net/dccp/
H A Dipv4.c181 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in dccp_do_pmtu_discovery()
184 mtu = dst_mtu(dst); in dccp_do_pmtu_discovery()
439 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
H A Dipv6.c157 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) in dccp_v6_err()
158 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_v6_err()
547 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v6_request_recv_sock()
H A Doutput.c551 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_connect()
/linux-6.15/net/l2tp/
H A Dl2tp_core.h296 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_xmit.c370 mtu = dst_mtu(&rt->dst); in __ip_vs_get_out_rt()
372 mtu = dst_mtu(&rt->dst) - sizeof(struct iphdr); in __ip_vs_get_out_rt()
533 mtu = dst_mtu(&rt->dst); in __ip_vs_get_out_rt_v6()
535 mtu = dst_mtu(&rt->dst) - sizeof(struct ipv6hdr); in __ip_vs_get_out_rt_v6()
/linux-6.15/include/net/
H A Dip6_route.h280 mtu = dst_mtu(dst); in ip6_skb_dst_mtu()
H A Ddst.h214 static inline u32 dst_mtu(const struct dst_entry *dst) in dst_mtu() function
/linux-6.15/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c275 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
/linux-6.15/net/xfrm/
H A Dxfrm_output.c840 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size()
888 mtu = dst_mtu(dst); in xfrm6_tunnel_check_size()
H A Dxfrm_policy.c3968 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu()
3973 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu()
4016 mtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_bundle_ok()
4024 mtu = dst_mtu(xdst->route); in xfrm_bundle_ok()
4064 return mtu ? : dst_mtu(xfrm_dst_path(dst)); in xfrm_mtu()
/linux-6.15/net/ipv4/
H A Dip_tunnel.c526 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu()
529 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in tnl_update_pmtu()
552 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu()
H A Dip_vti.c240 mtu = dst_mtu(dst); in vti_xmit()
H A Dip_output.c1296 dst_mtu(&rt->dst) : READ_ONCE(rt->dst.dev->mtu); in ip_setup_cork()
1435 (skb->len <= dst_mtu(&rt->dst) && in __ip_make_skb()
/linux-6.15/net/rxrpc/
H A Dpeer_object.c206 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
/linux-6.15/drivers/net/wireguard/
H A Ddevice.c173 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
/linux-6.15/include/net/sctp/
H A Dsctp.h600 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
/linux-6.15/drivers/net/ppp/
H A Dpptp.c462 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
/linux-6.15/drivers/net/
H A Dgtp.c1073 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_outer_ip4()
1084 mtu = dst_mtu(&rt->dst); in gtp_build_skb_outer_ip4()
1135 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_outer_ip6()

12