Searched refs:min_mtu (Results 1 – 2 of 2) sorted by relevance
191 int min_mtu = ETH_DATA_LEN; in hardif_min_mtu() local205 min_mtu = min_t(int, hard_iface->net_dev->mtu - BAT_HEADER_LEN, in hardif_min_mtu()206 min_mtu); in hardif_min_mtu()210 return min_mtu; in hardif_min_mtu()216 int min_mtu; in update_min_mtu() local218 min_mtu = hardif_min_mtu(soft_iface); in update_min_mtu()219 if (soft_iface->mtu != min_mtu) in update_min_mtu()220 soft_iface->mtu = min_mtu; in update_min_mtu()
248 u32 min_mtu = 230; in dn_dst_update_pmtu() local254 min_mtu -= 6; in dn_dst_update_pmtu()256 min_mtu -= 21; in dn_dst_update_pmtu()258 if (dst_metric(dst, RTAX_MTU) > mtu && mtu >= min_mtu) { in dn_dst_update_pmtu()