Home
last modified time | relevance | path

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

12

/linux/net/netfilter/
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()
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/net/ipv6/
A Dxfrm6_output.c68 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
A Dipv6_sockglue.c1216 val = dst_mtu(dst); in do_ipv6_getsockopt()
1315 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
A Dip6_output.c310 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 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()
1391 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v6_syn_recv_sock()
/linux/net/dccp/
A Dipv4.c172 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 Dipv6.c156 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 Doutput.c551 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_connect()
/linux/net/l2tp/
A Dl2tp_core.h302 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
/linux/net/netfilter/ipvs/
A Dip_vs_xmit.c381 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 Dnf_reject_ipv4.c277 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
/linux/net/xfrm/
A Dxfrm_output.c758 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size()
804 mtu = dst_mtu(dst); in xfrm6_tunnel_check_size()
A Dxfrm_policy.c3754 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 Dip_tunnel.c498 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 Dip_vti.c237 mtu = dst_mtu(dst); in vti_xmit()
A Dip_output.c1255 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 Dip6_route.h277 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
A Ddst.h199 static inline u32 dst_mtu(const struct dst_entry *dst) in dst_mtu() function
/linux/drivers/net/wireguard/
A Ddevice.c155 mtu = skb_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
/linux/net/rxrpc/
A Dpeer_object.c201 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
/linux/include/net/sctp/
A Dsctp.h605 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
/linux/drivers/net/
A Dgtp.c528 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 Dpptp.c453 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
/linux/net/decnet/
A Ddn_route.c851 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