Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dxfrm6_output.c88 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
H A Dipv6_sockglue.c1214 val = dst_mtu(dst); in do_ipv6_getsockopt()
1313 mtuinfo.ip6m_mtu = dst_mtu(dst); in do_ipv6_getsockopt()
H A Dip6_output.c332 mtu = dst_mtu(dst); in ip6_xmit()
1431 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(&rt->dst); in ip6_setup_cork()
1434 READ_ONCE(rt->dst.dev->mtu) : dst_mtu(xfrm_dst_path(&rt->dst)); in ip6_setup_cork()
H A Dtcp_ipv6.c370 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) { in tcp_v6_mtu_reduced()
371 tcp_sync_mss(sk, dst_mtu(dst)); in tcp_v6_mtu_reduced()
1372 tcp_sync_mss(newsk, dst_mtu(dst)); in tcp_v6_syn_recv_sock()
/OK3568_Linux_fs/kernel/net/dccp/
H A Dipv4.c167 if (mtu < dst_mtu(dst) && ip_dont_fragment(sk, dst)) in dccp_do_pmtu_discovery()
170 mtu = dst_mtu(dst); in dccp_do_pmtu_discovery()
428 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
H A Dipv6.c149 if (inet_csk(sk)->icsk_pmtu_cookie > dst_mtu(dst)) in dccp_v6_err()
150 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_v6_err()
531 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v6_request_recv_sock()
H A Doutput.c542 dccp_sync_mss(sk, dst_mtu(dst)); in dccp_connect()
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c154 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_core.h302 mtu = dst_mtu(dst); in l2tp_tunnel_dst_mtu()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_output.c640 mtu = dst_mtu(skb_dst(skb)); in xfrm4_tunnel_check_size()
686 mtu = dst_mtu(dst); in xfrm6_tunnel_check_size()
H A Dxfrm_policy.c3812 pmtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_init_pmtu()
3817 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu()
3860 mtu = dst_mtu(xfrm_dst_child(dst)); in xfrm_bundle_ok()
3868 mtu = dst_mtu(xdst->route); in xfrm_bundle_ok()
3908 return mtu ? : dst_mtu(xfrm_dst_path(dst)); in xfrm_mtu()
/OK3568_Linux_fs/kernel/net/ipv4/
H 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()
H A Dip_vti.c237 mtu = dst_mtu(dst); in vti_xmit()
H A Dip_output.c1280 dst_mtu(&rt->dst) : READ_ONCE(rt->dst.dev->mtu); in ip_setup_cork()
1528 (skb->len <= dst_mtu(&rt->dst) && in __ip_make_skb()
/OK3568_Linux_fs/kernel/include/net/
H A Dip6_route.h276 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
H A Ddst.h196 static inline u32 dst_mtu(const struct dst_entry *dst) in dst_mtu() function
/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A Ddevice.c156 mtu = skb_valid_dst(skb) ? dst_mtu(skb_dst(skb)) : dev->mtu; in wg_xmit()
/OK3568_Linux_fs/kernel/net/rxrpc/
H A Dpeer_object.c201 peer->if_mtu = dst_mtu(dst); in rxrpc_assess_MTU_size()
/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dsctp.h592 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dgtp.c523 mtu = dst_mtu(&rt->dst) - dev->hard_header_len - in gtp_build_skb_ip4()
534 mtu = dst_mtu(&rt->dst); in gtp_build_skb_ip4()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dpptp.c455 po->chan.mtu = dst_mtu(&rt->dst); in pptp_connect()
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_route.c847 return dn_mss_from_pmtu(dst->dev, dst_mtu(dst)); in dn_dst_default_advmss()
890 unsigned int mss = dn_mss_from_pmtu(dev, dst_mtu(&rt->dst)); in dn_rt_set_next_hop()

12