Searched refs:min_mtu (Results 1 – 23 of 23) sorted by relevance
/net/batman-adv/ |
D | hard-interface.c | 583 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/ |
D | xt_TCPMSS.c | 105 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/ |
D | l2tp_eth.c | 239 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/ |
D | hippi.c | 161 dev->min_mtu = 68; in hippi_setup()
|
D | fddi.c | 151 dev->min_mtu = FDDI_K_SNAP_HLEN; in fddi_setup()
|
/net/bluetooth/bnep/ |
D | netdev.c | 224 dev->min_mtu = 0; in bnep_net_setup()
|
/net/phonet/ |
D | pep-gprs.c | 223 dev->min_mtu = 576; in gprs_setup()
|
/net/ethernet/ |
D | eth.c | 354 dev->min_mtu = ETH_MIN_MTU; in ether_setup()
|
/net/sched/ |
D | sch_teql.c | 458 dev->min_mtu = 68; in teql_master_setup()
|
/net/hsr/ |
D | hsr_device.c | 440 dev->min_mtu = 0; in hsr_dev_setup()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1753 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/ |
D | ip6_vti.c | 674 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()
|
D | sit.c | 1432 dev->min_mtu = IPV6_MIN_MTU; in ipip6_tunnel_setup()
|
D | ip6_tunnel.c | 1899 dev->min_mtu = ETH_MIN_MTU; in ip6_tnl_dev_init_gen()
|
D | addrconf.c | 6314 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu() local 6318 lctl.extra1 = &min_mtu; in addrconf_sysctl_mtu()
|
/net/dsa/ |
D | slave.c | 2006 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/ |
D | br2684.c | 655 netdev->min_mtu = 0; in br2684_setup_routed()
|
/net/8021q/ |
D | vlan_dev.c | 1131 dev->min_mtu = 0; in vlan_setup()
|
/net/xfrm/ |
D | xfrm_interface_core.c | 747 dev->min_mtu = ETH_MIN_MTU; in xfrmi_dev_setup()
|
/net/ipv4/ |
D | ip_tunnel.c | 349 dev->min_mtu = ETH_MIN_MTU; in ip_tunnel_create()
|
/net/mac80211/ |
D | iface.c | 2234 ndev->min_mtu = 256; in ieee80211_if_add()
|
/net/core/ |
D | rtnetlink.c | 1811 nla_put_u32(skb, IFLA_MIN_MTU, dev->min_mtu) || in rtnl_fill_ifinfo()
|
D | dev.c | 8747 if (new_mtu < 0 || new_mtu < dev->min_mtu) { in dev_validate_mtu()
|