Home
last modified time | relevance | path

Searched refs:IPV6_MIN_MTU (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.12.1/include/uapi/linux/
Dipv6.h13 #define IPV6_MIN_MTU 1280 macro
/linux-6.12.1/net/6lowpan/
Dcore.c32 dev->mtu = IPV6_MIN_MTU; in lowpan_register_netdevice()
/linux-6.12.1/net/xfrm/
Dxfrm_output.c275 bool small_ipv6 = (skb->protocol == htons(ETH_P_IPV6)) && (skb->len <= IPV6_MIN_MTU); in xfrm4_tunnel_encap_add()
840 if (mtu < IPV6_MIN_MTU) in xfrm6_tunnel_check_size()
841 mtu = IPV6_MIN_MTU; in xfrm6_tunnel_check_size()
Dxfrm_interface_core.c486 if (mtu < IPV6_MIN_MTU) in xfrmi_xmit2()
487 mtu = IPV6_MIN_MTU; in xfrmi_xmit2()
/linux-6.12.1/net/ipv6/
Dsit.c980 if (mtu < IPV6_MIN_MTU) { in ipip6_tunnel_xmit()
981 mtu = IPV6_MIN_MTU; in ipip6_tunnel_xmit()
1132 if (mtu < IPV6_MIN_MTU) in ipip6_tunnel_bind_dev()
1133 mtu = IPV6_MIN_MTU; in ipip6_tunnel_bind_dev()
1434 dev->min_mtu = IPV6_MIN_MTU; in ipip6_tunnel_setup()
1585 if (mtu >= IPV6_MIN_MTU && in ipip6_newlink()
Dnetfilter.c146 frag_max_size < IPV6_MIN_MTU) in br_ip6_fragment()
Dip6_tunnel.c532 if (mtu < IPV6_MIN_MTU) in ip6_tnl_err()
533 mtu = IPV6_MIN_MTU; in ip6_tnl_err()
1196 IPV6_MIN_MTU : IPV4_MIN_MTU); in ip6_tnl_xmit()
1521 if (mtu < IPV6_MIN_MTU) in ip6_tnl_link_config()
1522 mtu = IPV6_MIN_MTU; in ip6_tnl_link_config()
1742 if (new_mtu < IPV6_MIN_MTU) in ip6_tnl_change_mtu()
Dip6_output.c642 if (mtu < IPV6_MIN_MTU) in ip6_forward()
643 mtu = IPV6_MIN_MTU; in ip6_forward()
899 if (mtu < IPV6_MIN_MTU) in ip6_fragment()
900 mtu = IPV6_MIN_MTU; in ip6_fragment()
Dip6_vti.c514 if (mtu < IPV6_MIN_MTU) in vti6_xmit()
515 mtu = IPV6_MIN_MTU; in vti6_xmit()
Daddrconf.c182 .mtu6 = IPV6_MIN_MTU,
246 .mtu6 = IPV6_MIN_MTU,
381 if (dev->mtu < IPV6_MIN_MTU && dev != blackhole_netdev) in ipv6_add_dev()
3654 if (!idev && dev->mtu >= IPV6_MIN_MTU) { in addrconf_notify()
3663 if (dev->mtu < IPV6_MIN_MTU) { in addrconf_notify()
3708 if (!idev && dev->mtu >= IPV6_MIN_MTU) in addrconf_notify()
3760 dev->mtu >= IPV6_MIN_MTU) { in addrconf_notify()
3771 if (dev->mtu < IPV6_MIN_MTU) in addrconf_notify()
6340 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu()
Dtcp_ipv6.c306 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
467 if (mtu < IPV6_MIN_MTU) in tcp_v6_err()
842 .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) -
Dndisc.c1586 if (mtu < IPV6_MIN_MTU || mtu > skb->dev->mtu) { in ndisc_router_discovery()
1764 IPV6_MIN_MTU - sizeof(struct ipv6hdr) - sizeof(*msg) - optlen, in ndisc_send_redirect()
Dicmp.c612 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr) - sizeof(struct icmp6hdr)); in icmp6_send()
Dip6_gre.c1182 if (mtu < IPV6_MIN_MTU) in ip6gre_tnl_link_config_route()
1183 mtu = IPV6_MIN_MTU; in ip6gre_tnl_link_config_route()
Dipv6_sockglue.c446 if (val && val < IPV6_MIN_MTU) in do_ipv6_setsockopt()
/linux-6.12.1/net/ipv4/
Dip_vti.c249 if (mtu < IPV6_MIN_MTU) in vti_xmit()
250 mtu = IPV6_MIN_MTU; in vti_xmit()
Dip_tunnel_core.c305 err = pskb_trim(skb, IPV6_MIN_MTU - sizeof(*nip6h) - sizeof(*icmp6h)); in iptunnel_pmtud_build_icmpv6()
363 if (mtu < IPV6_MIN_MTU) in iptunnel_pmtud_check_icmpv6()
Dip_tunnel.c552 mtu >= IPV6_MIN_MTU) { in tnl_update_pmtu()
560 if (!skb_is_gso(skb) && mtu >= IPV6_MIN_MTU && in tnl_update_pmtu()
/linux-6.12.1/net/ieee802154/6lowpan/
Dtx.c258 WARN_ON_ONCE(skb->len > IPV6_MIN_MTU); in lowpan_xmit()
Dreassembly.c298 if (cb->d_size > IPV6_MIN_MTU) { in lowpan_frag_rcv()
/linux-6.12.1/include/net/
Dip6_route.h338 mtu = IPV6_MIN_MTU; in ip6_dst_mtu_maybe_forward()
/linux-6.12.1/net/batman-adv/
Dmulticast.c259 if (hard_iface->net_dev->mtu < IPV6_MIN_MTU) { in batadv_mcast_mla_forw_flags_get()
1206 skb->len + mcast_hdrlen <= IPV6_MIN_MTU && in batadv_mcast_forw_mode_by_count()
Dmulticast_forw.c1090 int hdr_size = VLAN_ETH_HLEN + IPV6_MIN_MTU - skb->len; in batadv_mcast_forw_expand_head()
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_netdev.c557 netdev->min_mtu = IPV6_MIN_MTU; in fbnic_netdev_alloc()
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_xmit.c562 if (mtu < IPV6_MIN_MTU) { in __ip_vs_get_out_rt_v6()
564 IPV6_MIN_MTU); in __ip_vs_get_out_rt_v6()

12