Home
last modified time | relevance | path

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

/net/batman-adv/
Dhard-interface.c581 int min_mtu = INT_MAX; in batadv_hardif_min_mtu() local
592 min_mtu = min_t(int, hard_iface->net_dev->mtu, min_mtu); in batadv_hardif_min_mtu()
603 min_mtu = min_t(int, min_mtu, BATADV_FRAG_MAX_FRAG_SIZE); in batadv_hardif_min_mtu()
604 min_mtu -= sizeof(struct batadv_frag_packet); in batadv_hardif_min_mtu()
605 min_mtu *= BATADV_FRAG_MAX_FRAGMENTS; in batadv_hardif_min_mtu()
613 atomic_set(&bat_priv->packet_size_max, min_mtu); in batadv_hardif_min_mtu()
620 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.c236 if (mtu < dev->min_mtu || mtu > dev->max_mtu) in l2tp_eth_adjust_mtu()
279 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.c219 dev->min_mtu = 576; in gprs_setup()
/net/ethernet/
Deth.c363 dev->min_mtu = ETH_MIN_MTU; in ether_setup()
/net/dsa/
Dslave.c1529 int min_mtu = ETH_MAX_MTU; in dsa_bridge_mtu_normalization() local
1560 if (min_mtu > slave->mtu) in dsa_bridge_mtu_normalization()
1561 min_mtu = slave->mtu; in dsa_bridge_mtu_normalization()
1586 dsa_hw_port_list_set_mtu(&hw_port_list, min_mtu); in dsa_bridge_mtu_normalization()
/net/hsr/
Dhsr_device.c443 dev->min_mtu = 0; in hsr_dev_setup()
/net/sched/
Dsch_teql.c458 dev->min_mtu = 68; in teql_master_setup()
/net/netfilter/ipvs/
Dip_vs_sync.c1760 u16 mtu, min_mtu; in start_sync_thread() local
1808 min_mtu = (state == IP_VS_STATE_BACKUP) ? 1024 : 1; in start_sync_thread()
1812 c->sync_maxlen, min_mtu, in start_sync_thread()
/net/ipv6/
Dip6_vti.c676 dev->mtu = clamp(dev->mtu, dev->min_mtu, dev->max_mtu); in vti6_link_config()
916 dev->min_mtu = IPV4_MIN_MTU; in vti6_dev_setup()
Dsit.c1438 dev->min_mtu = IPV6_MIN_MTU; in ipip6_tunnel_setup()
Dip6_tunnel.c1894 dev->min_mtu = ETH_MIN_MTU; in ip6_tnl_dev_init_gen()
Daddrconf.c6268 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu() local
6272 lctl.extra1 = &min_mtu; in addrconf_sysctl_mtu()
/net/atm/
Dbr2684.c653 netdev->min_mtu = 0; in br2684_setup_routed()
/net/8021q/
Dvlan_dev.c875 dev->min_mtu = 0; in vlan_setup()
/net/xfrm/
Dxfrm_interface_core.c609 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.c2054 ndev->min_mtu = 256; in ieee80211_if_add()
/net/core/
Drtnetlink.c1732 nla_put_u32(skb, IFLA_MIN_MTU, dev->min_mtu) || in rtnl_fill_ifinfo()
Ddev.c8915 if (new_mtu < 0 || new_mtu < dev->min_mtu) { in dev_validate_mtu()