Lines Matching full:mtu
110 local mtu=$(min_max_mtu_get_if ${NETIFS[p1]} $min_max)
116 if [ $current_mtu -ne $mtu ]; then
125 local mtu=$1; shift
128 mtu_set $dev $mtu 2>/dev/null
129 check_err_fail $should_fail $? "Set MTU $mtu for $dev"
134 local mtu=$1; shift
138 mtu_set_if ${NETIFS[p$i]} $mtu
139 mtu_set_if ${NETIFS[p$i]}.10 $mtu
155 local mtu=$1; shift
160 local pkt_size=$((mtu - ping_headers_len))
168 local mtu=$1; shift
173 local pkt_size=$((mtu - ping6_headers_len))
199 log_test "Test maximum MTU configuration"
210 log_test_xfail "Topology has incompatible maximum MTU values"
228 log_test "Test traffic, packet size is maximum MTU"
251 log_test "Test minimum MTU configuration"
262 log_test_xfail "Topology has incompatible minimum MTU values"
269 # Do not test minimum MTU with IPv6, as IPv6 requires higher MTU.
273 log_test "Test traffic, packet size is minimum MTU"