Lines Matching refs:ns2
28 ns2=""
93 ns2="ns2-$rndh"
96 for netns in "$ns1" "$ns2"; do
119 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
124 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i
125 ip -net "$ns2" addr add dead:beef:$i::2/64 dev ns2eth$i nodad
126 ip -net "$ns2" link set ns2eth$i up
129 ip -net "$ns2" route add default via 10.0.$i.1 dev ns2eth$i metric 10$i
130 ip -net "$ns2" route add default via dead:beef:$i::1 dev ns2eth$i metric 10$i
139 tc -n $ns2 qdisc add dev ns2eth$i root netem rate 20mbit delay 1ms
148 for netns in "$ns1" "$ns2"; do
349 for netns in "$ns1" "$ns2"; do
369 if ! ip netns exec $ns2 $tables -A OUTPUT -p tcp \
388 ip netns exec $ns2 sysctl -q net.mptcp.checksum_enabled=$ns2_enable
401 ip netns exec $ns2 sysctl -q net.mptcp.allow_join_initial_addr_port=$ns2_enable
433 ip netns exec $ns2 $tables \
442 tc -n $ns2 qdisc add dev ns2eth$i clsact || return ${ksft_skip}
443 tc -n $ns2 filter add dev ns2eth$i egress \
457 ip netns exec $ns2 sysctl -q net.mptcp.checksum_enabled=1
471 mptcp_lib_events "${ns2}" "${evts_ns2}" evts_ns2_pid
939 pm_nl_add_endpoint $ns2 $addr flags $flags
989 for netns in "$ns1" "$ns2"; do
1255 ip netns exec $ns2 nstat -as | grep Tcp
1290 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtDataCsumErr")
1313 local ns_rx=$ns2
1319 ns_tx=$ns2
1370 local ns_tx=$ns2
1376 ns_rx=$ns2
1412 local ns_rx=$ns2
1416 ns_tx=$ns2
1455 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtInfiniteMapTx")
1504 with_cookie=$(ip netns exec $ns2 sysctl -n net.ipv4.tcp_syncookies)
1505 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtMPJoinSynAckRx")
1589 local ns_rx=$ns2
1595 ns_tx=$ns2
1716 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtEchoAddTx")
1734 local subflow_ns=$ns2
1746 subflow_ns=$ns2
1748 addr_ns=$ns2
1799 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtRmAddrTx")
1848 count=$(mptcp_lib_get_counter ${ns2} "MPTcpExtMPJoinSynAckBackupRx")
1869 cnt2=$(ss -N $ns2 -tOni | grep -c token)
1897 cnt2=$(ss -N $ns2 -inmHM | mptcp_lib_get_info_value "$info2" "$info2")
1911 ss -N $ns2 -inmHM
1935 cnt2=$(ss -N $ns2 -ti state established state syn-sent state syn-recv |
1947 ss -N $ns2 -ti
2001 run_tests $ns1 $ns2 10.0.1.1
2008 pm_nl_set_limits $ns2 0 0
2009 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2010 run_tests $ns1 $ns2 10.0.1.1
2017 pm_nl_set_limits $ns2 0 1
2018 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2019 run_tests $ns1 $ns2 10.0.1.1
2026 pm_nl_set_limits $ns2 0 1
2027 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2028 run_tests $ns1 $ns2 10.0.1.1
2035 pm_nl_set_limits $ns2 0 2
2036 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2037 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2038 run_tests $ns1 $ns2 10.0.1.1
2045 pm_nl_set_limits $ns2 0 2
2046 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2047 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2048 run_tests $ns1 $ns2 10.0.1.1
2055 pm_nl_set_limits $ns2 0 1
2056 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow dev ns2eth3
2057 run_tests $ns1 $ns2 10.0.1.1
2068 pm_nl_set_limits $ns2 0 1
2069 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow
2071 run_tests $ns1 $ns2 10.0.1.1
2079 pm_nl_set_limits $ns2 0 2
2080 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2081 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2083 run_tests $ns1 $ns2 10.0.1.1
2091 pm_nl_set_limits $ns2 0 2
2092 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2093 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2095 run_tests $ns1 $ns2 10.0.1.1
2105 pm_nl_set_limits $ns2 0 1
2106 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2108 run_tests $ns1 $ns2 10.0.1.1 &
2111 wait_attempt_fail $ns2
2112 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2126 run_tests $ns1 $ns2 10.0.1.1
2135 pm_nl_set_limits $ns2 1 1
2137 run_tests $ns1 $ns2 10.0.1.1
2149 pm_nl_set_limits $ns2 1 2
2150 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2151 run_tests $ns1 $ns2 10.0.1.1
2161 pm_nl_set_limits $ns2 0 2
2162 pm_nl_add_endpoint $ns2 10.0.3.2 flags signal,subflow
2163 run_tests $ns1 $ns2 10.0.1.1
2175 pm_nl_set_limits $ns2 1 3
2176 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2177 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
2178 run_tests $ns1 $ns2 10.0.1.1
2189 pm_nl_set_limits $ns2 3 3
2190 run_tests $ns1 $ns2 10.0.1.1
2201 pm_nl_set_limits $ns2 3 3
2202 run_tests $ns1 $ns2 10.0.1.1
2210 pm_nl_set_limits $ns2 4 4
2215 pm_nl_add_endpoint $ns2 10.0.1.2 flags signal
2216 pm_nl_add_endpoint $ns2 10.0.2.2 flags signal
2217 pm_nl_add_endpoint $ns2 10.0.3.2 flags signal
2218 pm_nl_add_endpoint $ns2 10.0.4.2 flags signal
2223 run_tests $ns1 $ns2 10.0.1.1
2252 pm_nl_set_limits $ns2 1 3
2253 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow
2254 pm_nl_add_endpoint $ns2 10.0.4.2 dev ns2eth4 flags subflow
2256 run_tests $ns1 $ns2 10.0.1.1
2259 chk_stale_nr $ns2 1 5 1
2268 pm_nl_set_limits $ns2 1 3
2269 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow
2270 pm_nl_add_endpoint $ns2 10.0.4.2 dev ns2eth4 flags subflow
2272 run_tests $ns1 $ns2 10.0.1.1
2275 chk_stale_nr $ns2 1 -1 1
2284 pm_nl_set_limits $ns2 1 2
2285 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
2287 run_tests $ns1 $ns2 10.0.1.1
2290 chk_link_usage $ns2 ns2eth3 $cinsent 0
2299 pm_nl_set_limits $ns2 1 2
2300 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
2302 run_tests $ns1 $ns2 10.0.1.1
2305 chk_stale_nr $ns2 2 4 2
2306 chk_link_usage $ns2 ns2eth3 $cinsent 50
2315 pm_nl_set_limits $ns2 1 3
2316 pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
2318 run_tests $ns1 $ns2 10.0.1.1
2321 chk_stale_nr $ns2 1 -1 2
2322 chk_link_usage $ns2 ns2eth3 $cinsent 50
2331 pm_nl_set_limits $ns2 1 1
2334 run_tests $ns1 $ns2 10.0.1.1
2343 pm_nl_set_limits $ns2 1 1
2346 run_tests $ns1 $ns2 dead:beef:1::1
2356 pm_nl_set_limits $ns2 2 2
2358 run_tests $ns1 $ns2 10.0.1.1
2368 pm_nl_set_limits $ns2 2 2
2370 run_tests $ns1 $ns2 10.0.1.1
2381 pm_nl_set_limits $ns2 0 1
2382 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2384 run_tests $ns1 $ns2 10.0.1.1
2394 pm_nl_set_limits $ns2 0 2
2395 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2396 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2398 run_tests $ns1 $ns2 10.0.1.1
2408 pm_nl_set_limits $ns2 1 1
2410 run_tests $ns1 $ns2 10.0.1.1
2421 pm_nl_set_limits $ns2 1 2
2422 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2424 run_tests $ns1 $ns2 10.0.1.1
2435 pm_nl_set_limits $ns2 1 3
2436 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2437 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
2439 run_tests $ns1 $ns2 10.0.1.1
2452 pm_nl_set_limits $ns2 3 3
2454 run_tests $ns1 $ns2 10.0.1.1
2468 pm_nl_set_limits $ns2 2 2
2470 run_tests $ns1 $ns2 10.0.1.1
2481 pm_nl_set_limits $ns2 1 3
2482 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2483 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
2485 run_tests $ns1 $ns2 10.0.1.1
2495 pm_nl_set_limits $ns2 3 3
2496 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow id 150
2497 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2498 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
2500 run_tests $ns1 $ns2 10.0.1.1
2518 pm_nl_set_limits $ns2 3 3
2520 run_tests $ns1 $ns2 10.0.1.1
2533 pm_nl_set_limits $ns2 3 3
2535 run_tests $ns1 $ns2 10.0.1.1
2545 pm_nl_set_limits $ns2 0 1
2546 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2548 run_tests $ns1 $ns2 10.0.1.1
2558 pm_nl_set_limits $ns2 1 1
2560 run_tests $ns1 $ns2 10.0.1.1
2573 pm_nl_set_limits $ns2 0 1
2575 run_tests $ns1 $ns2 10.0.1.1
2582 pm_nl_set_limits $ns2 1 1
2584 run_tests $ns1 $ns2 10.0.1.1
2592 pm_nl_set_limits $ns2 0 2
2594 run_tests $ns1 $ns2 10.0.1.1
2601 pm_nl_set_limits $ns2 0 2
2603 run_tests $ns1 $ns2 dead:beef:1::1
2610 pm_nl_set_limits $ns2 2 2
2612 run_tests $ns1 $ns2 dead:beef:1::1
2623 pm_nl_set_limits $ns2 0 1
2624 pm_nl_add_endpoint $ns2 dead:beef:3::2 dev ns2eth3 flags subflow
2626 run_tests $ns1 $ns2 dead:beef:1::1
2634 run_tests $ns1 $ns2 dead:beef:1::1
2643 pm_nl_set_limits $ns2 1 1
2645 run_tests $ns1 $ns2 dead:beef:1::1
2654 pm_nl_set_limits $ns2 1 1
2656 run_tests $ns1 $ns2 dead:beef:1::1
2666 pm_nl_set_limits $ns2 1 2
2667 pm_nl_add_endpoint $ns2 dead:beef:3::2 dev ns2eth3 flags subflow
2669 run_tests $ns1 $ns2 dead:beef:1::1
2681 pm_nl_set_limits $ns2 0 1
2682 pm_nl_add_endpoint $ns2 "::ffff:10.0.3.2" flags subflow
2683 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
2690 pm_nl_set_limits $ns2 1 1
2692 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
2700 pm_nl_set_limits $ns2 0 1
2701 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2702 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
2709 pm_nl_set_limits $ns2 1 1
2711 run_tests $ns1 $ns2 "::ffff:10.0.1.1"
2719 pm_nl_set_limits $ns2 0 1
2720 pm_nl_add_endpoint $ns2 "::ffff:10.0.3.2" flags subflow
2721 run_tests $ns1 $ns2 10.0.1.1
2728 pm_nl_set_limits $ns2 1 1
2730 run_tests $ns1 $ns2 10.0.1.1
2738 pm_nl_set_limits $ns2 0 1
2739 pm_nl_add_endpoint $ns2 dead:beef:2::2 flags subflow
2740 run_tests $ns1 $ns2 10.0.1.1
2747 pm_nl_set_limits $ns2 0 1
2748 pm_nl_add_endpoint $ns2 dead:beef:2::10.0.3.2 flags subflow
2749 run_tests $ns1 $ns2 10.0.1.1
2756 pm_nl_set_limits $ns2 0 1
2757 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
2758 run_tests $ns1 $ns2 dead:beef:1::1
2768 pm_nl_set_limits $ns2 1 1
2771 run_tests $ns1 $ns2 10.0.1.1
2779 pm_nl_set_limits $ns2 1 1
2782 run_tests $ns1 $ns2 dead:beef:2::1
2790 pm_nl_set_limits $ns2 1 4
2791 pm_nl_add_endpoint $ns2 dead:beef:2::2 flags subflow,fullmesh
2794 run_tests $ns1 $ns2 dead:beef:2::1
2803 pm_nl_set_limits $ns2 2 4
2807 run_tests $ns1 $ns2 dead:beef:1::1
2818 pm_nl_set_limits $ns2 0 1
2819 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow,backup
2821 run_tests $ns1 $ns2 10.0.1.1
2831 pm_nl_set_limits $ns2 1 1
2833 run_tests $ns1 $ns2 10.0.1.1
2844 pm_nl_set_limits $ns2 1 1
2846 run_tests $ns1 $ns2 10.0.1.1
2857 pm_nl_set_limits $ns2 1 1
2859 run_tests $ns1 $ns2 10.0.1.1
2867 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow,backup
2869 run_tests $ns1 $ns2 10.0.1.1
2877 pm_nl_set_limits $ns2 1 2
2879 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow,backup
2882 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
2885 ip -net "$ns2" route add 10.0.2.1 via 10.0.1.1 dev ns2eth1 # force this path
2888 run_tests $ns1 $ns2 10.0.1.1
2895 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow
2897 run_tests $ns1 $ns2 10.0.1.1
2905 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow
2907 run_tests $ns1 $ns2 10.0.1.1
2991 pm_nl_set_limits $ns2 1 1
2993 run_tests $ns1 $ns2 10.0.1.1
3002 pm_nl_set_limits $ns2 1 2
3003 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3004 run_tests $ns1 $ns2 10.0.1.1
3014 pm_nl_set_limits $ns2 1 1
3016 run_tests $ns1 $ns2 10.0.1.1
3032 pm_nl_set_limits $ns2 1 2
3033 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3035 run_tests $ns1 $ns2 10.0.1.1
3045 pm_nl_set_limits $ns2 1 3
3046 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3047 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
3049 run_tests $ns1 $ns2 10.0.1.1
3060 pm_nl_set_limits $ns2 2 2
3061 run_tests $ns1 $ns2 10.0.1.1
3071 pm_nl_set_limits $ns2 2 2
3072 run_tests $ns1 $ns2 10.0.1.1
3085 timeout 1 ip netns exec ${ns2} \
3099 pm_nl_set_limits $ns2 0 1
3100 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3101 run_tests $ns1 $ns2 10.0.1.1
3108 pm_nl_set_limits $ns2 0 2
3109 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3110 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
3111 run_tests $ns1 $ns2 10.0.1.1
3118 pm_nl_set_limits $ns2 0 2
3119 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3120 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
3121 run_tests $ns1 $ns2 10.0.1.1
3128 pm_nl_set_limits $ns2 1 1
3130 run_tests $ns1 $ns2 10.0.1.1
3139 pm_nl_set_limits $ns2 1 2
3140 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3141 run_tests $ns1 $ns2 10.0.1.1
3150 pm_nl_set_limits $ns2 1 3
3151 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3152 pm_nl_add_endpoint $ns2 10.0.4.2 flags subflow
3153 run_tests $ns1 $ns2 10.0.1.1
3164 pm_nl_set_limits $ns2 0 1
3165 run_tests $ns1 $ns2 10.0.1.1
3172 pm_nl_set_limits $ns2 0 1
3173 run_tests $ns1 $ns2 10.0.1.1
3180 pm_nl_set_limits $ns2 0 1
3181 run_tests $ns1 $ns2 10.0.1.1
3188 pm_nl_set_limits $ns2 0 1
3189 run_tests $ns1 $ns2 10.0.1.1
3199 pm_nl_set_limits $ns2 1 1
3200 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3201 run_tests $ns1 $ns2 10.0.1.1
3208 pm_nl_set_limits $ns2 1 1
3209 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3210 run_tests $ns1 $ns2 10.0.1.1
3218 pm_nl_set_limits $ns2 1 1
3220 run_tests $ns1 $ns2 10.0.1.1
3229 pm_nl_set_limits $ns2 1 1
3231 run_tests $ns1 $ns2 10.0.1.1
3239 pm_nl_set_limits $ns2 2 2
3241 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3242 run_tests $ns1 $ns2 10.0.1.1
3249 pm_nl_set_limits $ns2 2 2
3251 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3252 run_tests $ns1 $ns2 10.0.1.1
3264 pm_nl_set_limits $ns2 1 4
3265 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow,fullmesh
3266 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow,fullmesh
3268 run_tests $ns1 $ns2 10.0.1.1
3278 pm_nl_set_limits $ns2 1 3
3281 pm_nl_add_endpoint $ns2 10.0.1.2 flags subflow,fullmesh
3284 run_tests $ns1 $ns2 10.0.1.1
3294 pm_nl_set_limits $ns2 1 5
3297 run_tests $ns1 $ns2 10.0.1.1
3308 pm_nl_set_limits $ns2 1 4
3311 run_tests $ns1 $ns2 10.0.1.1
3321 pm_nl_set_limits $ns2 4 4
3323 run_tests $ns1 $ns2 10.0.1.1
3333 pm_nl_set_limits $ns2 4 4
3335 run_tests $ns1 $ns2 10.0.1.1
3345 pm_nl_set_limits $ns2 4 4
3347 run_tests $ns1 $ns2 10.0.1.1
3357 pm_nl_set_limits $ns2 4 4
3358 pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow,backup,fullmesh
3360 run_tests $ns1 $ns2 10.0.1.1
3371 run_tests $ns1 $ns2 10.0.1.1
3379 run_tests $ns1 $ns2 10.0.1.1
3388 tc -n $ns2 -j -s action show action pedit index 100 | \
3398 run_tests $ns1 $ns2 10.0.1.1
3406 tc -n $ns2 qdisc add dev ns2eth1 root netem rate 1mbit delay 5ms
3408 pm_nl_set_limits $ns2 0 1
3409 pm_nl_add_endpoint $ns2 10.0.2.2 dev ns2eth2 flags subflow
3411 run_tests $ns1 $ns2 10.0.1.1
3422 [ "$1" == "$ns2" ] && evts=$evts_ns2
3436 [ "$1" == "$ns2" ] && evts=$evts_ns2
3450 [ "$1" == "$ns2" ] && evts=$evts_ns2
3469 [ "$1" == "$ns2" ] && evts=$evts_ns2
3506 [ "$1" == "$ns2" ] && evts=$evts_ns2
3518 [ "$1" == "$ns2" ] && evts=$evts_ns2
3591 pm_nl_set_limits $ns2 0 2
3593 run_tests $ns1 $ns2 10.0.1.1
3601 set_userspace_pm $ns2
3603 pm_nl_set_limits $ns2 0 2
3605 run_tests $ns1 $ns2 10.0.1.1
3615 pm_nl_set_limits $ns2 1 1
3616 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3617 run_tests $ns1 $ns2 10.0.1.1
3624 set_userspace_pm $ns2
3626 pm_nl_set_limits $ns2 1 1
3627 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3628 run_tests $ns1 $ns2 10.0.1.1
3637 pm_nl_set_limits $ns2 1 1
3638 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3640 run_tests $ns1 $ns2 10.0.1.1
3649 set_userspace_pm $ns2
3651 pm_nl_set_limits $ns2 0 1
3652 pm_nl_add_endpoint $ns2 10.0.3.2 flags subflow
3654 run_tests $ns1 $ns2 10.0.1.1
3663 pm_nl_set_limits $ns2 2 2
3665 run_tests $ns1 $ns2 10.0.1.1 &
3695 set_userspace_pm $ns2
3698 run_tests $ns1 $ns2 10.0.1.1 &
3700 wait_mpj $ns2
3701 userspace_pm_add_sf $ns2 10.0.3.2 20
3705 userspace_pm_chk_dump_addr "${ns2}" \
3708 userspace_pm_chk_get_addr "${ns2}" "20" "id 20 flags subflow 10.0.3.2"
3709 userspace_pm_rm_sf $ns2 10.0.3.2 $MPTCP_LIB_EVENT_SUB_ESTABLISHED
3710 userspace_pm_chk_dump_addr "${ns2}" \
3723 set_userspace_pm $ns2
3726 run_tests $ns1 $ns2 10.0.1.1 &
3728 wait_mpj $ns2
3731 userspace_pm_add_sf $ns2 10.0.3.2 0
3732 userspace_pm_chk_dump_addr "${ns2}" \
3749 pm_nl_set_limits $ns2 2 2
3752 run_tests $ns1 $ns2 10.0.1.1 &
3757 $ns2 10.0.2.2 id 1 flags implicit
3761 pm_nl_add_endpoint $ns2 10.0.2.2 id 33 2>/dev/null
3763 $ns2 10.0.2.2 id 1 flags implicit
3765 pm_nl_add_endpoint $ns2 10.0.2.2 flags signal
3767 $ns2 10.0.2.2 id 1 flags signal
3771 if reset_with_tcp_filter "delete and re-add" ns2 10.0.3.2 REJECT OUTPUT &&
3775 pm_nl_set_limits $ns2 0 3
3776 pm_nl_add_endpoint $ns2 10.0.1.2 id 1 dev ns2eth1 flags subflow
3777 pm_nl_add_endpoint $ns2 10.0.2.2 id 2 dev ns2eth2 flags subflow
3779 run_tests $ns1 $ns2 10.0.1.1 &
3782 wait_mpj $ns2
3784 $ns2 10.0.2.2 id 2 flags subflow dev ns2eth2
3788 pm_nl_del_endpoint $ns2 2 10.0.2.2
3793 pm_nl_add_endpoint $ns2 10.0.2.2 id 2 dev ns2eth2 flags subflow
3794 wait_mpj $ns2
3798 pm_nl_add_endpoint $ns2 10.0.3.2 id 3 flags subflow
3799 wait_attempt_fail $ns2
3803 ip netns exec "${ns2}" ${iptables} -D OUTPUT -s "10.0.3.2" -p tcp -j REJECT
3804 pm_nl_del_endpoint $ns2 3 10.0.3.2
3805 pm_nl_add_endpoint $ns2 10.0.3.2 id 3 flags subflow
3806 wait_mpj $ns2
3812 pm_nl_del_endpoint $ns2 1 10.0.1.2
3817 pm_nl_add_endpoint $ns2 10.0.1.2 id 1 dev ns2eth1 flags subflow
3818 wait_mpj $ns2
3834 chk_evt_nr ns2 MPTCP_LIB_EVENT_CREATED 1
3835 chk_evt_nr ns2 MPTCP_LIB_EVENT_ESTABLISHED 1
3836 chk_evt_nr ns2 MPTCP_LIB_EVENT_ANNOUNCED 0
3837 chk_evt_nr ns2 MPTCP_LIB_EVENT_REMOVED 0
3838 chk_evt_nr ns2 MPTCP_LIB_EVENT_SUB_ESTABLISHED 6
3839 chk_evt_nr ns2 MPTCP_LIB_EVENT_SUB_CLOSED 5 # one has been closed before estab
3849 pm_nl_set_limits $ns2 3 3
3855 run_tests $ns1 $ns2 10.0.1.1 &
3858 wait_mpj $ns2
3872 wait_mpj $ns2
3882 wait_mpj $ns2
3892 wait_mpj $ns2
3906 chk_evt_nr ns2 MPTCP_LIB_EVENT_CREATED 1
3907 chk_evt_nr ns2 MPTCP_LIB_EVENT_ESTABLISHED 1
3908 chk_evt_nr ns2 MPTCP_LIB_EVENT_ANNOUNCED 6
3909 chk_evt_nr ns2 MPTCP_LIB_EVENT_REMOVED 4
3910 chk_evt_nr ns2 MPTCP_LIB_EVENT_SUB_ESTABLISHED 5
3911 chk_evt_nr ns2 MPTCP_LIB_EVENT_SUB_CLOSED 3
3919 if reset_with_tcp_filter "flush re-add" ns2 10.0.3.2 REJECT OUTPUT &&
3922 pm_nl_set_limits $ns2 1 2
3925 pm_nl_add_endpoint $ns2 10.0.3.2 id 3 flags subflow
3927 run_tests $ns1 $ns2 10.0.1.1 &
3930 wait_attempt_fail $ns2
3934 pm_nl_flush_endpoint $ns2
3936 wait_rm_addr $ns2 0
3937 ip netns exec "${ns2}" ${iptables} -D OUTPUT -s "10.0.3.2" -p tcp -j REJECT
3938 pm_nl_add_endpoint $ns2 10.0.3.2 id 3 flags subflow
3939 wait_mpj $ns2
3941 wait_mpj $ns2