Home
last modified time | relevance | path

Searched refs:virt_type (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/network/virt/
Dvirt_lib.sh38 case "$virt_type" in
56 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"
110 case $virt_type in
114 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"
128 case $virt_type in
130 ip li add $vname type $virt_type $opt
133 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt
136 ip li add link $(tst_iface) $vname type $virt_type $opt
144 case $virt_type in
146 [ "$virt_type" = "vxlan" ] && opt="dev $(tst_iface rhost)"
[all …]
Dsit01.sh9 virt_type="sit"
18 tst_res TINFO "test $virt_type"
Dipvlan01.sh10 virt_type="ipvlan"
Dvlan02.sh10 virt_type="vlan"
Dmacvtap01.sh10 virt_type="macvtap"
Dmacvlan01.sh10 virt_type="macvlan"
Dvxlan01.sh13 virt_type="vxlan"
Dvxlan02.sh14 virt_type="vxlan"
Dgeneve02.sh9 virt_type="geneve"
Dgeneve01.sh12 virt_type="geneve"
Dvxlan04.sh15 virt_type="vxlan"
Dvlan01.sh16 virt_type="vlan"
Dvxlan03.sh19 virt_type="vxlan"
Dvlan03.sh21 virt_type="vlan"
Dmacsec_lib.sh7 virt_type="macsec"
/external/ltp/lib/
Dtst_virt.c85 char virt_type[64]; in try_systemd_detect_virt() local
97 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() argument
128 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()
/external/ltp/testcases/network/mpls/
Dmpls03.sh14 virt_type="gre"
18 virt_type="ip6gre"
Dmpls04.sh14 virt_type="sit"
Dmpls_lib.sh74 tst_res TINFO "test $virt_type with MPLS"
/external/ltp/include/
Dtst_cpu.h30 int tst_is_virt(int virt_type);