Home
last modified time | relevance | path

Searched refs:min_mtu (Results 1 – 23 of 23) sorted by relevance

/net/batman-adv/
Dhard-interface.c583 int min_mtu = INT_MAX; in batadv_hardif_min_mtu() local
594 min_mtu = min_t(int, hard_iface->net_dev->mtu, min_mtu); in batadv_hardif_min_mtu()
605 min_mtu = min_t(int, min_mtu, BATADV_FRAG_MAX_FRAG_SIZE); in batadv_hardif_min_mtu()
606 min_mtu -= sizeof(struct batadv_frag_packet); in batadv_hardif_min_mtu()
607 min_mtu *= BATADV_FRAG_MAX_FRAGMENTS; in batadv_hardif_min_mtu()
615 atomic_set(&bat_priv->packet_size_max, min_mtu); in batadv_hardif_min_mtu()
622 return min_t(int, min_mtu - batadv_max_header_len(), ETH_DATA_LEN); in batadv_hardif_min_mtu()
/net/netfilter/
Dxt_TCPMSS.c105 unsigned int min_mtu = min(dst_mtu(skb_dst(skb)), in_mtu); in tcpmss_mangle_packet() local
107 if (min_mtu <= minlen) { in tcpmss_mangle_packet()
109 min_mtu); in tcpmss_mangle_packet()
112 newmss = min_mtu - minlen; in tcpmss_mangle_packet()
/net/l2tp/
Dl2tp_eth.c239 if (mtu < dev->min_mtu || mtu > dev->max_mtu) in l2tp_eth_adjust_mtu()
282 dev->min_mtu = 0; in l2tp_eth_create()
/net/802/
Dhippi.c161 dev->min_mtu = 68; in hippi_setup()
Dfddi.c151 dev->min_mtu = FDDI_K_SNAP_HLEN; in fddi_setup()
/net/bluetooth/bnep/
Dnetdev.c224 dev->min_mtu = 0; in bnep_net_setup()
/net/phonet/
Dpep-gprs.c223 dev->min_mtu = 576; in gprs_setup()
/net/ethernet/
Deth.c354 dev->min_mtu = ETH_MIN_MTU; in ether_setup()
/net/sched/
Dsch_teql.c458 dev->min_mtu = 68; in teql_master_setup()
/net/hsr/
Dhsr_device.c440 dev->min_mtu = 0; in hsr_dev_setup()
/net/netfilter/ipvs/
Dip_vs_sync.c1753 u16 mtu, min_mtu; in start_sync_thread() local
1801 min_mtu = (state == IP_VS_STATE_BACKUP) ? 1024 : 1; in start_sync_thread()
1805 c->sync_maxlen, min_mtu, in start_sync_thread()
/net/ipv6/
Dip6_vti.c674 dev->mtu = clamp(dev->mtu, dev->min_mtu, dev->max_mtu); in vti6_link_config()
914 dev->min_mtu = IPV4_MIN_MTU; in vti6_dev_setup()
Dsit.c1432 dev->min_mtu = IPV6_MIN_MTU; in ipip6_tunnel_setup()
Dip6_tunnel.c1899 dev->min_mtu = ETH_MIN_MTU; in ip6_tnl_dev_init_gen()
Daddrconf.c6314 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu() local
6318 lctl.extra1 = &min_mtu; in addrconf_sysctl_mtu()
/net/dsa/
Dslave.c2006 int min_mtu = ETH_MAX_MTU; in dsa_bridge_mtu_normalization() local
2037 if (min_mtu > slave->mtu) in dsa_bridge_mtu_normalization()
2038 min_mtu = slave->mtu; in dsa_bridge_mtu_normalization()
2063 dsa_hw_port_list_set_mtu(&hw_port_list, min_mtu); in dsa_bridge_mtu_normalization()
/net/atm/
Dbr2684.c655 netdev->min_mtu = 0; in br2684_setup_routed()
/net/8021q/
Dvlan_dev.c1131 dev->min_mtu = 0; in vlan_setup()
/net/xfrm/
Dxfrm_interface_core.c747 dev->min_mtu = ETH_MIN_MTU; in xfrmi_dev_setup()
/net/ipv4/
Dip_tunnel.c349 dev->min_mtu = ETH_MIN_MTU; in ip_tunnel_create()
/net/mac80211/
Diface.c2234 ndev->min_mtu = 256; in ieee80211_if_add()
/net/core/
Drtnetlink.c1811 nla_put_u32(skb, IFLA_MIN_MTU, dev->min_mtu) || in rtnl_fill_ifinfo()
Ddev.c8747 if (new_mtu < 0 || new_mtu < dev->min_mtu) { in dev_validate_mtu()