Searched refs:min_mtu (Results 1 – 4 of 4) sorted by relevance
/net/batman-adv/ |
D | hard-interface.c | 330 int min_mtu = INT_MAX; in batadv_hardif_min_mtu() local 341 min_mtu = min_t(int, hard_iface->net_dev->mtu, min_mtu); in batadv_hardif_min_mtu() 352 min_mtu = min_t(int, min_mtu, BATADV_FRAG_MAX_FRAG_SIZE); in batadv_hardif_min_mtu() 353 min_mtu -= sizeof(struct batadv_frag_packet); in batadv_hardif_min_mtu() 354 min_mtu *= BATADV_FRAG_MAX_FRAGMENTS; in batadv_hardif_min_mtu() 362 atomic_set(&bat_priv->packet_size_max, min_mtu); in batadv_hardif_min_mtu() 369 return min_t(int, min_mtu - batadv_max_header_len(), ETH_DATA_LEN); in batadv_hardif_min_mtu()
|
/net/decnet/ |
D | dn_route.c | 269 u32 min_mtu = 230; in dn_dst_update_pmtu() local 275 min_mtu -= 6; in dn_dst_update_pmtu() 277 min_mtu -= 21; in dn_dst_update_pmtu() 279 if (dst_metric(dst, RTAX_MTU) > mtu && mtu >= min_mtu) { in dn_dst_update_pmtu()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1767 u16 mtu, min_mtu; in start_sync_thread() local 1811 min_mtu = (state == IP_VS_STATE_BACKUP) ? 1024 : 1; in start_sync_thread() 1815 c->sync_maxlen, min_mtu, in start_sync_thread()
|
/net/ipv6/ |
D | addrconf.c | 5309 int min_mtu = IPV6_MIN_MTU; in addrconf_sysctl_mtu() local 5313 lctl.extra1 = &min_mtu; in addrconf_sysctl_mtu()
|