Searched refs:min_mtu (Results 1 – 23 of 23) sorted by relevance
/net/batman-adv/ |
D | hard-interface.c | 581 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/ |
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 | 236 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/ |
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 | 219 dev->min_mtu = 576; in gprs_setup()
|
/net/ethernet/ |
D | eth.c | 363 dev->min_mtu = ETH_MIN_MTU; in ether_setup()
|
/net/dsa/ |
D | slave.c | 1529 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/ |
D | hsr_device.c | 443 dev->min_mtu = 0; in hsr_dev_setup()
|
/net/sched/ |
D | sch_teql.c | 458 dev->min_mtu = 68; in teql_master_setup()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1760 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/ |
D | ip6_vti.c | 676 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()
|
D | sit.c | 1438 dev->min_mtu = IPV6_MIN_MTU; in ipip6_tunnel_setup()
|
D | ip6_tunnel.c | 1894 dev->min_mtu = ETH_MIN_MTU; in ip6_tnl_dev_init_gen()
|
D | addrconf.c | 6268 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu() local 6272 lctl.extra1 = &min_mtu; in addrconf_sysctl_mtu()
|
/net/atm/ |
D | br2684.c | 653 netdev->min_mtu = 0; in br2684_setup_routed()
|
/net/8021q/ |
D | vlan_dev.c | 875 dev->min_mtu = 0; in vlan_setup()
|
/net/xfrm/ |
D | xfrm_interface_core.c | 609 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 | 2054 ndev->min_mtu = 256; in ieee80211_if_add()
|
/net/core/ |
D | rtnetlink.c | 1732 nla_put_u32(skb, IFLA_MIN_MTU, dev->min_mtu) || in rtnl_fill_ifinfo()
|
D | dev.c | 8915 if (new_mtu < 0 || new_mtu < dev->min_mtu) { in dev_validate_mtu()
|