Home
last modified time | relevance | path

Searched refs:IP_MAX_MTU (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/net/openvswitch/
Dvport-vxlan.c83 .mtu = IP_MAX_MTU, in vxlan_tnl_create()
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c316 mtu = min(tdev->mtu, IP_MAX_MTU); in ip_tunnel_bind_dev()
350 dev->max_mtu = IP_MAX_MTU - t_hlen; in ip_tunnel_create()
979 int max_mtu = IP_MAX_MTU - t_hlen; in __ip_tunnel_change_mtu()
1159 unsigned int max = IP_MAX_MTU - (nt->hlen + sizeof(struct iphdr)); in ip_tunnel_newlink()
Dip_output.c998 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in __ip_append_data()
1009 maxnonfragsize = ip_sk_ignore_df(sk) ? IP_MAX_MTU : mtu; in __ip_append_data()
1372 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in ip_append_page()
Desp4.c355 if (len + sizeof(struct iphdr) > IP_MAX_MTU) in esp_output_udp_encap()
386 if (len > IP_MAX_MTU) in esp_output_tcp_encap()
Dip_gre.c1675 err = __ip_tunnel_change_mtu(dev, IP_MAX_MTU, false); in gretap_fb_dev_create()
Droute.c1367 mtu = min_t(unsigned int, mtu, IP_MAX_MTU); in ipv4_mtu()
1458 mtu = min(READ_ONCE(dev->mtu), IP_MAX_MTU); in ip_mtu_from_fib_result()
/kernel/linux/linux-5.10/include/net/
Dip.h451 mtu = min(READ_ONCE(dst->dev->mtu), IP_MAX_MTU); in ip_dst_mtu_maybe_forward()
467 mtu = min(READ_ONCE(skb_dst(skb)->dev->mtu), IP_MAX_MTU); in ip_skb_dst_mtu()
Droute.h39 #define IP_MAX_MTU 0xFFFFU macro
/kernel/linux/linux-5.10/drivers/net/
Dbareudp.c546 dev->max_mtu = IP_MAX_MTU - BAREUDP_BASE_HLEN; in bareudp_setup()
747 err = dev_set_mtu(dev, IP_MAX_MTU - BAREUDP_BASE_HLEN); in bareudp_dev_create()
Dgeneve.c1237 dev->max_mtu = IP_MAX_MTU - GENEVE_BASE_HLEN - dev->hard_header_len; in geneve_setup()
1857 err = geneve_change_mtu(dev, IP_MAX_MTU); in geneve_dev_create_fb()
Dvirtio_net.c2795 unsigned int packet_len = vi->big_packets ? IP_MAX_MTU : vi->dev->max_mtu; in mergeable_min_buf_len()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_interface.c579 dev->max_mtu = IP_MAX_MTU; in xfrmi_dev_setup()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_vti.c915 dev->max_mtu = IP_MAX_MTU - sizeof(struct ipv6hdr); in vti6_dev_setup()
Desp6.c421 if (len > IP_MAX_MTU) in esp6_output_tcp_encap()
Dip6_tunnel.c1763 if (new_mtu > IP_MAX_MTU - dev->hard_header_len) in ip6_tnl_change_mtu()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c7704 ul_rif->rif_index, ul_rif->vr_id, IP_MAX_MTU); in mlxsw_sp_rif_ipip_lb_ul_rif_op()