Searched refs:virt_type (Results 1 – 19 of 19) sorted by relevance
38 case "$virt_type" in56 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"106 case $virt_type in110 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"124 case $virt_type in126 ip li add $vname type $virt_type $opt129 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt132 ip li add link $(tst_iface) $vname type $virt_type $opt140 case $virt_type in142 [ "$virt_type" = "vxlan" ] && opt="dev $(tst_iface rhost)"[all …]
19 virt_type="gre"20 [ "$TST_IPV6" ] && virt_type="ip6gre"27 tst_res TINFO "test $virt_type"
9 virt_type="sit"18 tst_res TINFO "test $virt_type"
10 virt_type="vlan"
10 virt_type="ipvlan"
10 virt_type="macvtap"
10 virt_type="macvlan"
13 virt_type="vxlan"
14 virt_type="vxlan"
12 virt_type="geneve"
16 virt_type="vlan"
19 virt_type="vxlan"
21 virt_type="vlan"
7 virt_type="macsec"
70 char virt_type[64]; in try_systemd_detect_virt() local82 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()83 virt_type[0] = '\0'; in try_systemd_detect_virt()96 if (strncmp("kvm", virt_type, 3)) in try_systemd_detect_virt()99 if (strncmp("xen", virt_type, 3)) in try_systemd_detect_virt()105 int tst_is_virt(int virt_type) in tst_is_virt() argument110 return ret == virt_type; in tst_is_virt()112 switch (virt_type) { in tst_is_virt()119 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"
28 int tst_is_virt(int virt_type);