Home
last modified time | relevance | path

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

/external/ltp/testcases/network/virt/
Dvirt_lib.sh97 case $virt_type in
111 case $virt_type in
113 ip li add $vname type $virt_type $opt dev $(tst_iface)
116 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt
119 ip li add link $(tst_iface) $vname type $virt_type $opt
127 case $virt_type in
131 tst_rhost_run -s -c "ip li add ltp_v0 type $virt_type $@ $opt"
135 mode $virt_type $@"
139 type $virt_type $@"
149 tst_resm TINFO "add $NS_TIMES $virt_type, then delete"
[all …]
Dgre01.sh29 virt_type="gre"
30 [ "$TST_IPV6" ] && virt_type="ip6gre"
40 tst_resm TINFO "test $virt_type"
Dvlan02.sh26 virt_type="vlan"
Dipvlan01.sh25 virt_type="ipvlan"
Dmacvlan01.sh25 virt_type="macvlan"
Dmacvtap01.sh25 virt_type="macvtap"
Dvxlan01.sh25 virt_type="vxlan"
Dvxlan02.sh26 virt_type="vxlan"
Dgeneve01.sh23 virt_type="geneve"
Dmacsec01.sh25 virt_type="macsec"
Dmacsec02.sh25 virt_type="macsec"
Dvlan01.sh25 virt_type="vlan"
Dvxlan03.sh30 virt_type="vxlan"
Dvlan03.sh30 virt_type="vlan"
/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/include/
Dtst_cpu.h28 int tst_is_virt(int virt_type);