Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
/openbmc/linux/net/ipv6/
H A Dxfrm6_output.c81 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
H A Dipv6_sockglue.c1220 val = dst_mtu(dst); in do_ipv6_getsockopt()
1319 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
H A Dip6_output.c346 mtu = dst_mtu(dst); in ip6_xmit()
1457 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(&rt->dst); in ip6_setup_cork()
1460 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(xfrm_dst_path(&rt->dst)); in ip6_setup_cork()
H A Dtcp_ipv6.c373 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) { in tcp_v6_mtu_reduced()
374 tcp_sync_mss(sk, dst_mtu(dst)); in tcp_v6_mtu_reduced()
1349 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v6_syn_recv_sock()
/openbmc/linux/net/l2tp/
H A Dl2tp_core.h302 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
/openbmc/linux/net/dccp/
H A Dipv4.c179 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in dccp_do_pmtu_discovery()
182 mtu = dst_mtu(dst); in dccp_do_pmtu_discovery()
440 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
H 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()
545 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()
/openbmc/linux/net/netfilter/ipvs/
H 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()
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c278 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
/openbmc/linux/include/net/
H A Dip6_route.h281 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
/openbmc/linux/net/xfrm/
H A Dxfrm_output.c793 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size()
839 mtu = dst_mtu(dst); in xfrm6_tunnel_check_size()
H A Dxfrm_policy.c3869 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu()
3874 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu()
3917 mtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_bundle_ok()
3925 mtu = dst_mtu(xdst->route); in xfrm_bundle_ok()
3965 return mtu ? : dst_mtu(xfrm_dst_path(dst)); in xfrm_mtu()
/openbmc/linux/net/ipv4/
H A Dip_tunnel.c525 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu()
528 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in tnl_update_pmtu()
551 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu()
H A Dip_vti.c237 mtu = dst_mtu(dst); in vti_xmit()
H A Dip_output.c1291 dst_mtu(&rt->dst) : READ_ONCE(rt->dst.dev->mtu); in ip_setup_cork()
1425 (skb->len <= dst_mtu(&rt->dst) && in __ip_make_skb()
H A Dtcp_ipv4.c373 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in tcp_v4_mtu_reduced()
376 mtu = dst_mtu(dst); in tcp_v4_mtu_reduced()
1621 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v4_syn_recv_sock()
/openbmc/linux/net/rxrpc/
H A Dpeer_object.c199 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
/openbmc/linux/drivers/net/wireguard/
H A Ddevice.c173 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
/openbmc/linux/include/net/sctp/
H A Dsctp.h600 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c462 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
/openbmc/linux/drivers/net/
H A Dgtp.c859 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_ip4()
870 mtu = dst_mtu(&rt->dst); in gtp_build_skb_ip4()

12