Searched refs:virt_type (Results 1 – 20 of 20) sorted by relevance
38 case "$virt_type" in56 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"110 case $virt_type in114 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"128 case $virt_type in130 ip li add $vname type $virt_type $opt133 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt136 ip li add link $(tst_iface) $vname type $virt_type $opt144 case $virt_type in146 [ "$virt_type" = "vxlan" ] && opt="dev $(tst_iface rhost)"[all …]
9 virt_type="sit"18 tst_res TINFO "test $virt_type"
10 virt_type="ipvlan"
10 virt_type="vlan"
10 virt_type="macvtap"
10 virt_type="macvlan"
13 virt_type="vxlan"
14 virt_type="vxlan"
9 virt_type="geneve"
12 virt_type="geneve"
15 virt_type="vxlan"
16 virt_type="vlan"
19 virt_type="vxlan"
21 virt_type="vlan"
7 virt_type="macsec"
85 char virt_type[64]; in try_systemd_detect_virt() local97 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()98 virt_type[0] = '\0'; in try_systemd_detect_virt()114 if (!strncmp("kvm", virt_type, 3)) in try_systemd_detect_virt()117 if (!strncmp("xen", virt_type, 3)) in try_systemd_detect_virt()123 int tst_is_virt(int virt_type) in tst_is_virt() argument128 if (virt_type == VIRT_ANY) in tst_is_virt()131 return ret == virt_type; in tst_is_virt()134 switch (virt_type) { in tst_is_virt()145 tst_brkm(TBROK, NULL, "invalid virt_type flag: %d", virt_type); in tst_is_virt()
14 virt_type="gre"18 virt_type="ip6gre"
14 virt_type="sit"
74 tst_res TINFO "test $virt_type with MPLS"
30 int tst_is_virt(int virt_type);