Lines Matching refs:ns2

259 	local ns2=$1; shift
264 ip netns add $ns2
268 ip link set dev veth1 netns $ns2 name veth0
271 setup_common_ns $ns2 $local_addr2
981 local ns2=$1; shift
996 run_cmd "tc -n $ns2 qdisc replace dev veth0 clsact"
997 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
998 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
999 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1005 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1007 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1011 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1014 run_cmd "tc -n $ns2 filter del dev vx0 ingress pref 1 handle 101 flower"
1022 …run_cmd "tc -n $ns2 filter replace dev veth0 ingress pref 1 handle 101 proto $enc_ethtype flower i…
1024 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1028 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1031 …run_cmd "tc -n $ns2 filter replace dev veth0 ingress pref 1 handle 101 proto $enc_ethtype flower i…
1033 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1037 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1040 run_cmd "tc -n $ns2 filter del dev veth0 ingress pref 1 handle 101 flower"
1048 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_key_id 1…
1050 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1054 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1060 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_key_id 1…
1062 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1066 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1069 run_cmd "tc -n $ns2 filter del dev vx0 ingress pref 1 handle 101 flower"
1077 local ns2=ns2_v4
1090 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1097 local ns2=ns2_v4
1110 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1117 local ns2=ns2_v6
1130 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1137 local ns2=ns2_v6
1150 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1157 local ns2=$1; shift
1173 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1174 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1175 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1177 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1178 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1185 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1187 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1192 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1194 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1202 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1204 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1209 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1211 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1218 local ns2=ns2_v4
1231 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1238 local ns2=ns2_v4
1251 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1258 local ns2=ns2_v6
1271 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1278 local ns2=ns2_v6
1291 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1298 local ns2=$1; shift
1314 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1315 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1316 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1318 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1319 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1326 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1328 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1333 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1335 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1343 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1345 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1350 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1352 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1359 local ns2=ns2_v4
1372 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1379 local ns2=ns2_v4
1392 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1399 local ns2=ns2_v6
1412 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1419 local ns2=ns2_v6
1432 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1439 local ns2=$1; shift
1453 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1454 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1456 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1462 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1467 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1471 run_cmd "ip -n $ns2 address del $mcast_grp/$plen dev veth0"
1475 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1482 local ns2=ns2_v4
1494 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1501 local ns2=ns2_v4
1513 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1520 local ns2=ns2_v6
1532 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1539 local ns2=ns2_v6
1551 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1558 local ns2=$1; shift
1572 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1573 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1575 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1581 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1586 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1590 run_cmd "ip -n $ns2 address del $mcast_grp/$plen dev veth0"
1594 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1601 local ns2=ns2_v4
1613 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1620 local ns2=ns2_v4
1632 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1639 local ns2=ns2_v6
1651 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1658 local ns2=ns2_v6
1670 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp $grp_dmac \
1677 local ns2=$1; shift
1706 run_cmd "tc -n $ns2 qdisc replace dev br0.4000 clsact"
1707 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1708 …run_cmd "tc -n $ns2 filter replace dev br0.4000 ingress pref 1 handle 101 proto $proto flower src_…
1713 run_cmd "bridge -n $ns2 vlan del vid 10 dev vx0"
1719 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 1
1724 run_cmd "bridge -n $ns2 vlan add vid 4000 dev vx0"
1726 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 1
1730 run_cmd "bridge -n $ns2 vlan add vid 4000 dev vx0 pvid"
1732 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 2
1739 local ns2=ns2_v4
1751 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1758 local ns2=ns2_v4
1770 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1777 local ns2=ns2_v6
1789 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1796 local ns2=ns2_v6
1808 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1815 local ns2=$1; shift
1854 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1855 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1856 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1857 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 103 proto all flower enc_dst_ip $…
1858 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 104 proto all flower enc_dst_ip $…
1862 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1863 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1864 run_cmd "ip -n $ns2 address replace $vtep3_ip/$plen dev lo"
1865 run_cmd "ip -n $ns2 address replace $vtep4_ip/$plen dev lo"
1870 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1872 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1878 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1880 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1886 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1888 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1894 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1896 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1902 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1904 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1909 tc_check_packets "$ns2" "dev vx0 ingress" 103 0
1911 tc_check_packets "$ns2" "dev vx0 ingress" 104 0
1915 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1916 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1921 tc_check_packets "$ns2" "dev vx0 ingress" 103 1
1923 tc_check_packets "$ns2" "dev vx0 ingress" 104 0
1929 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1931 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1937 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1939 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1945 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1947 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1953 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1955 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1960 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1962 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1969 local ns2=ns2_v4
1980 all_zeros_mdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $vtep3_ip \
1987 local ns2=ns2_v6
1998 all_zeros_mdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $vtep3_ip \
2005 local ns2=$1; shift
2024 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
2025 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto $proto flower ip_proto …
2026 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto $proto flower ip_proto …
2030 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
2031 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
2036 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2038 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
2044 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2046 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
2053 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2055 tc_check_packets "$ns2" "dev vx0 ingress" 102 2
2062 local ns2=ns2_v4
2075 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp \
2082 local ns2=ns2_v4
2095 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp \
2102 local ns2=ns2_v6
2115 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp \
2122 local ns2=ns2_v6
2135 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp \