Home
last modified time | relevance | path

Searched refs:TEST_IF (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_skb_cgroup_id.sh13 if $PING6 -c 1 -W 1 ff02::1%${TEST_IF} >/dev/null 2>&1; then
26 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
27 ip link set ${TEST_IF} up
32 tc qdisc add dev ${TEST_IF} clsact
33 tc filter add dev ${TEST_IF} egress bpf obj ${BPF_PROG_OBJ} \
36 BPF_PROG_ID=$(tc filter show dev ${TEST_IF} egress | \
42 ip link del ${TEST_IF} 2>/dev/null || :
50 ${PROG} ${TEST_IF} ${BPF_PROG_ID}
54 TEST_IF="test_cgid_1"
H A Dtest_sock_addr.sh29 ip link add dev ${TEST_IF} type veth peer name ${TEST_IF_PEER}
30 ip link set ${TEST_IF} up
33 ip -4 addr add ${TEST_IPv4} dev ${TEST_IF}
34 ip -6 addr add ${TEST_IPv6} dev ${TEST_IF}
40 ip link del ${TEST_IF} 2>/dev/null || :
52 TEST_IF="${BASENAME}1"
H A Dtest_tcp_check_syncookie.sh60 ns1_exec tc qdisc add dev "${TEST_IF}" clsact
61 ns1_exec tc filter add dev "${TEST_IF}" ingress \
64 BPF_PROG_ID=$(ns1_exec tc filter show dev "${TEST_IF}" ingress | \
67 ns1_exec tc qdisc del dev "${TEST_IF}" clsact
70 ns1_exec ip link set "${TEST_IF}" xdp \
72 BPF_PROG_ID=$(ns1_exec ip link show "${TEST_IF}" | get_prog_id)
77 TEST_IF=lo
/openbmc/qemu/tests/unit/
H A Dcheck-qom-interface.c20 DECLARE_CLASS_CHECKERS(TestIfClass, TEST_IF,
22 #define TEST_IF(obj) \ macro
71 TestIf *iobj = TEST_IF(obj); in test_interface_impl()