Home
last modified time | relevance | path

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

/third_party/ltp/lib/
Dtst_virt.c67 static int is_ibmz(int virt_type) in is_ibmz() argument
88 switch (virt_type) { in is_ibmz()
105 char *virt_type = getenv("LTP_VIRT_OVERRIDE"); in try_systemd_detect_virt() local
107 if (virt_type) { in try_systemd_detect_virt()
108 if (!strcmp("", virt_type)) in try_systemd_detect_virt()
114 virt_type = virt_buf; in try_systemd_detect_virt()
125 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()
126 virt_type[0] = '\0'; in try_systemd_detect_virt()
143 if (!strncmp("kvm", virt_type, 3)) in try_systemd_detect_virt()
146 if (!strncmp("xen", virt_type, 3)) in try_systemd_detect_virt()
[all …]
/third_party/ltp/testcases/network/virt/
Dvirt_lib.sh38 case "$virt_type" in
56 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"
121 case $virt_type in
125 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"
139 case $virt_type in
141 ip link add $vname type $virt_type $opt
144 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt
147 ip link add name $vname type $(_get_gue_fou_tnl $virt_type) $opt
150 ip link add link $(tst_iface) $vname type $virt_type $opt
158 case $virt_type in
[all …]
Dfou01.sh12 virt_type="fou"
20 t) virt_type="$2";;
38 local encap_cmd="encap $virt_type encap-sport auto encap-dport"
43 case $virt_type in
Dsit01.sh9 virt_type="sit"
18 tst_res TINFO "test $virt_type"
Dvlan02.sh10 virt_type="vlan"
Dipvlan01.sh10 virt_type="ipvlan"
Dmacvlan01.sh10 virt_type="macvlan"
Dmacvtap01.sh10 virt_type="macvtap"
Dvxlan01.sh13 virt_type="vxlan"
Dvxlan02.sh14 virt_type="vxlan"
Dgeneve01.sh12 virt_type="geneve"
Dgeneve02.sh9 virt_type="geneve"
Dvxlan04.sh15 virt_type="vxlan"
Dvxlan03.sh19 virt_type="vxlan"
Dvlan01.sh16 virt_type="vlan"
Dvlan03.sh21 virt_type="vlan"
Dwireguard_lib.sh13 virt_type="wireguard"
Dmacsec_lib.sh7 virt_type="macsec"
/third_party/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"
/third_party/ltp/include/
Dtst_cpu.h22 int tst_is_virt(int virt_type);