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
995 run_cmd "tc -n $ns2 qdisc replace dev veth0 clsact"
996 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
997 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
998 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1004 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1006 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1010 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1013 run_cmd "tc -n $ns2 filter del dev vx0 ingress pref 1 handle 101 flower"
1021 …run_cmd "tc -n $ns2 filter replace dev veth0 ingress pref 1 handle 101 proto $enc_ethtype flower i…
1023 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1027 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1030 …run_cmd "tc -n $ns2 filter replace dev veth0 ingress pref 1 handle 101 proto $enc_ethtype flower i…
1032 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1036 tc_check_packets "$ns2" "dev veth0 ingress" 101 1
1039 run_cmd "tc -n $ns2 filter del dev veth0 ingress pref 1 handle 101 flower"
1047 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_key_id 1…
1049 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1053 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1059 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_key_id 1…
1061 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1065 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1068 run_cmd "tc -n $ns2 filter del dev vx0 ingress pref 1 handle 101 flower"
1076 local ns2=ns2_v4
1088 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1095 local ns2=ns2_v4
1107 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1114 local ns2=ns2_v6
1126 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1133 local ns2=ns2_v6
1145 encap_params_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $enc_ethtype \
1152 local ns2=$1; shift
1167 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1168 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1169 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1171 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1172 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1179 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1181 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1186 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1188 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1196 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1198 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1203 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1205 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1212 local ns2=ns2_v4
1224 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1231 local ns2=ns2_v4
1243 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1250 local ns2=ns2_v6
1262 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1269 local ns2=ns2_v6
1281 starg_exclude_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1288 local ns2=$1; shift
1303 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1304 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1305 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1307 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1308 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1315 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1317 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1322 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1324 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1332 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1334 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1339 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1341 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1348 local ns2=ns2_v4
1360 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1367 local ns2=ns2_v4
1379 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1386 local ns2=ns2_v6
1398 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1405 local ns2=ns2_v6
1417 starg_include_ir_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $grp \
1424 local ns2=$1; shift
1437 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1438 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1440 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1446 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1451 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1455 run_cmd "ip -n $ns2 address del $mcast_grp/$plen dev veth0"
1459 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1466 local ns2=ns2_v4
1477 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1484 local ns2=ns2_v4
1495 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1502 local ns2=ns2_v6
1513 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1520 local ns2=ns2_v6
1531 starg_exclude_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1538 local ns2=$1; shift
1551 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1552 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1554 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1560 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1565 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1569 run_cmd "ip -n $ns2 address del $mcast_grp/$plen dev veth0"
1573 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1580 local ns2=ns2_v4
1591 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1598 local ns2=ns2_v4
1609 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1616 local ns2=ns2_v6
1627 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1634 local ns2=ns2_v6
1645 starg_include_p2mp_common $ns1 $ns2 $mcast_grp $plen $grp \
1652 local ns2=$1; shift
1680 run_cmd "tc -n $ns2 qdisc replace dev br0.4000 clsact"
1681 run_cmd "ip -n $ns2 address replace $mcast_grp/$plen dev veth0 autojoin"
1682 …run_cmd "tc -n $ns2 filter replace dev br0.4000 ingress pref 1 handle 101 proto $proto flower src_…
1687 run_cmd "bridge -n $ns2 vlan del vid 10 dev vx0"
1693 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 1
1698 run_cmd "bridge -n $ns2 vlan add vid 4000 dev vx0"
1700 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 1
1704 run_cmd "bridge -n $ns2 vlan add vid 4000 dev vx0 pvid"
1706 tc_check_packets "$ns2" "dev br0.4000 ingress" 101 2
1713 local ns2=ns2_v4
1724 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1731 local ns2=ns2_v4
1742 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1749 local ns2=ns2_v6
1760 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1767 local ns2=ns2_v6
1778 egress_vni_translation_common $ns1 $ns2 $mcast_grp $plen $proto $grp \
1785 local ns2=$1; shift
1818 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1819 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1820 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1821 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 103 proto all flower enc_dst_ip $…
1822 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 104 proto all flower enc_dst_ip $…
1826 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1827 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1828 run_cmd "ip -n $ns2 address replace $vtep3_ip/$plen dev lo"
1829 run_cmd "ip -n $ns2 address replace $vtep4_ip/$plen dev lo"
1834 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
1836 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1842 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1844 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1850 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1852 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1858 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1860 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1866 tc_check_packets "$ns2" "dev vx0 ingress" 101 2
1868 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
1873 tc_check_packets "$ns2" "dev vx0 ingress" 103 0
1875 tc_check_packets "$ns2" "dev vx0 ingress" 104 0
1879 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto all flower enc_dst_ip $…
1880 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto all flower enc_dst_ip $…
1885 tc_check_packets "$ns2" "dev vx0 ingress" 103 1
1887 tc_check_packets "$ns2" "dev vx0 ingress" 104 0
1893 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1895 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1901 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1903 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1909 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1911 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1917 tc_check_packets "$ns2" "dev vx0 ingress" 103 2
1919 tc_check_packets "$ns2" "dev vx0 ingress" 104 1
1924 tc_check_packets "$ns2" "dev vx0 ingress" 101 0
1926 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
1933 local ns2=ns2_v4
1944 all_zeros_mdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $vtep3_ip \
1951 local ns2=ns2_v6
1962 all_zeros_mdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $vtep3_ip \
1969 local ns2=$1; shift
1987 run_cmd "tc -n $ns2 qdisc replace dev vx0 clsact"
1988 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 101 proto $proto flower ip_proto …
1989 …run_cmd "tc -n $ns2 filter replace dev vx0 ingress pref 1 handle 102 proto $proto flower ip_proto …
1993 run_cmd "ip -n $ns2 address replace $vtep1_ip/$plen dev lo"
1994 run_cmd "ip -n $ns2 address replace $vtep2_ip/$plen dev lo"
1999 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2001 tc_check_packets "$ns2" "dev vx0 ingress" 102 0
2007 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2009 tc_check_packets "$ns2" "dev vx0 ingress" 102 1
2016 tc_check_packets "$ns2" "dev vx0 ingress" 101 1
2018 tc_check_packets "$ns2" "dev vx0 ingress" 102 2
2025 local ns2=ns2_v4
2037 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp $src \
2044 local ns2=ns2_v4
2056 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp $src \
2063 local ns2=ns2_v6
2075 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp $src \
2082 local ns2=ns2_v6
2094 mdb_fdb_common $ns1 $ns2 $vtep1_ip $vtep2_ip $plen $proto $grp $src \