Home
last modified time | relevance | path

Searched refs:virt_type (Results 1 - 17 of 17) sorted by relevance

/third_party/ltp/lib/
H A 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, in try_systemd_detect_virt()
158 tst_is_virt(int virt_type) tst_is_virt() argument
[all...]
/third_party/ltp/testcases/network/virt/
H A Dvirt_lib.sh45 case "$virt_type" in
59 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"
107 case $virt_type in
111 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"
125 case $virt_type in
127 ip link add $vname type $virt_type $opt
130 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt
133 ip link add name $vname type $(_get_gue_fou_tnl $virt_type) $opt
136 ip link add link $(tst_iface) $vname type $virt_type $opt
144 case $virt_type i
[all...]
H A Dfou01.sh12 virt_type="fou"
19 t) virt_type="$2";;
37 local encap_cmd="encap $virt_type encap-sport auto encap-dport"
42 case $virt_type in
H A Dsit01.sh9 virt_type="sit"
17 tst_res TINFO "test $virt_type"
H A Dvlan02.sh10 virt_type="vlan"
H A Dvxlan02.sh15 virt_type="vxlan"
H A Dgeneve01.sh15 virt_type="geneve"
H A Dgeneve02.sh15 virt_type="geneve"
H A Dvxlan03.sh19 virt_type="vxlan"
H A Dvxlan04.sh15 virt_type="vxlan"
H A Dvlan03.sh21 virt_type="vlan"
H A Dmacsec_lib.sh7 virt_type="macsec"
H A Dwireguard_lib.sh14 virt_type="wireguard"
/third_party/ltp/testcases/network/mpls/
H A Dmpls03.sh11 virt_type="gre"
15 virt_type="ip6gre"
H A Dmpls04.sh11 virt_type="sit"
H A Dmpls_lib.sh74 tst_res TINFO "test $virt_type with MPLS"
/third_party/ltp/include/
H A Dtst_cpu.h22 int tst_is_virt(int virt_type);

Completed in 3 milliseconds