Searched refs:IP_MAX_MTU (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/net/openvswitch/ |
D | vport-vxlan.c | 83 .mtu = IP_MAX_MTU, in vxlan_tnl_create()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_tunnel.c | 316 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()
|
D | ip_output.c | 998 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()
|
D | esp4.c | 355 if (len + sizeof(struct iphdr) > IP_MAX_MTU) in esp_output_udp_encap() 386 if (len > IP_MAX_MTU) in esp_output_tcp_encap()
|
D | ip_gre.c | 1675 err = __ip_tunnel_change_mtu(dev, IP_MAX_MTU, false); in gretap_fb_dev_create()
|
D | route.c | 1367 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/ |
D | ip.h | 451 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()
|
D | route.h | 39 #define IP_MAX_MTU 0xFFFFU macro
|
/kernel/linux/linux-5.10/drivers/net/ |
D | bareudp.c | 546 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()
|
D | geneve.c | 1237 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()
|
D | virtio_net.c | 2795 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/ |
D | xfrm_interface.c | 579 dev->max_mtu = IP_MAX_MTU; in xfrmi_dev_setup()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_vti.c | 915 dev->max_mtu = IP_MAX_MTU - sizeof(struct ipv6hdr); in vti6_dev_setup()
|
D | esp6.c | 421 if (len > IP_MAX_MTU) in esp6_output_tcp_encap()
|
D | ip6_tunnel.c | 1763 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/ |
D | spectrum_router.c | 7704 ul_rif->rif_index, ul_rif->vr_id, IP_MAX_MTU); in mlxsw_sp_rif_ipip_lb_ul_rif_op()
|