Home
last modified time | relevance | path

Searched refs:virt_type (Results 1 – 19 of 19) 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"
106 case $virt_type in
110 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"
124 case $virt_type in
126 ip li add $vname type $virt_type $opt
129 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt
132 ip li add link $(tst_iface) $vname type $virt_type $opt
140 case $virt_type in
142 [ "$virt_type" = "vxlan" ] && opt="dev $(tst_iface rhost)"
[all …]
Dgre01.sh19 virt_type="gre"
20 [ "$TST_IPV6" ] && virt_type="ip6gre"
27 tst_res TINFO "test $virt_type"
Dsit01.sh9 virt_type="sit"
18 tst_res TINFO "test $virt_type"
Dvlan02.sh10 virt_type="vlan"
Dipvlan01.sh10 virt_type="ipvlan"
Dmacvtap01.sh10 virt_type="macvtap"
Dmacvlan01.sh10 virt_type="macvlan"
Dvxlan01.sh13 virt_type="vxlan"
Dvxlan02.sh14 virt_type="vxlan"
Dgeneve01.sh12 virt_type="geneve"
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.c70 char virt_type[64]; in try_systemd_detect_virt() local
82 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() argument
110 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()
/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.h28 int tst_is_virt(int virt_type);