Home
last modified time | relevance | path

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

12

/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()
/linux/net/ipv6/
H A Dxfrm6_output.c81 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
H A Dipv6_sockglue.c1208 val = dst_mtu(dst); in do_ipv6_getsockopt()
1307 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
H A Dip6_output.c344 mtu = dst_mtu(dst); in ip6_xmit()
1382 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(&rt->dst); in ip6_setup_cork()
1385 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()
1505 tcp_sync_mss(newsk, dst_mtu(dst));
H A Dip6_tunnel.c638 if (rel_info > dst_mtu(skb_dst(skb2))) in ip4ip6_err()
1187 mtu = dst_mtu(dst) - eth_hlen - psh_hlen - t->tun_hlen; in ip6_tnl_xmit()
/linux/net/dccp/
H A Dipv4.c180 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in dccp_do_pmtu_discovery()
183 mtu = dst_mtu(dst); in dccp_do_pmtu_discovery()
441 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()
544 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/net/l2tp/
H A Dl2tp_core.h302 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
/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()
/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c278 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
/linux/include/net/
H A Dip6_route.h272 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/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.c3927 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu()
3932 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu()
3975 mtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_bundle_ok()
3983 mtu = dst_mtu(xdst->route); in xfrm_bundle_ok()
4023 return mtu ? : dst_mtu(xfrm_dst_path(dst)); in xfrm_mtu()
/linux/net/ipv4/
H A Dip_tunnel.c524 mtu = dst_mtu(&rt->dst) - (sizeof(struct iphdr) + tunnel_hlen); in tnl_update_pmtu()
527 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in tnl_update_pmtu()
550 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.c1294 dst_mtu(&rt->dst) : READ_ONCE(rt->dst.dev->mtu); in ip_setup_cork()
1429 (skb->len <= dst_mtu(&rt->dst) && in __ip_make_skb()
/linux/net/rxrpc/
H A Dpeer_object.c201 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
/linux/drivers/net/wireguard/
H A Ddevice.c173 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
/linux/include/net/sctp/
H A Dsctp.h600 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
/linux/drivers/net/ppp/
H A Dpptp.c462 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
/linux/drivers/net/
H A Dgtp.c1071 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_outer_ip4()
1082 mtu = dst_mtu(&rt->dst); in gtp_build_skb_outer_ip4()
1133 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_outer_ip6()

12