Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_bpftool.py47 for iface in socket.if_nameindex():
48 if iface[1] != "lo":
49 return iface[1]
56 iface = get_default_iface()
57 return f(*args, iface, **kwargs)
69 def test_feature_dev_json(self, iface): argument
82 res = bpftool_json(["feature", "probe", "dev", iface])
Dtest_skb_cgroup_id_user.c27 static int mk_dst_addr(const char *ip, const char *iface, in mk_dst_addr() argument
40 dst->sin6_scope_id = if_nametoindex(iface); in mk_dst_addr()
42 log_err("Failed to get index of iface: %s", iface); in mk_dst_addr()
49 static int send_packet(const char *iface) in send_packet() argument
56 if (mk_dst_addr(LINKLOCAL_MULTICAST, iface, &dst)) in send_packet()
/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c158 struct libusb_interface_descriptor const *iface; in main() local
165 iface = &conf->interface[0].altsetting[0]; in main()
166 in_addr = iface->endpoint[0].bEndpointAddress; in main()
167 out_addr = iface->endpoint[1].bEndpointAddress; in main()
/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c158 struct libusb_interface_descriptor const *iface; in main() local
165 iface = &conf->interface[0].altsetting[0]; in main()
166 addr = iface->endpoint[0].bEndpointAddress; in main()
/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c54 static int get_rx_packets(const char *iface) in get_rx_packets() argument
58 int iface_len = strlen(iface); in get_rx_packets()
69 if (!strncmp(p, iface, iface_len)) { in get_rx_packets()
98 static int xdp_attach(struct skeletons *skeletons, struct bpf_program *prog, char *iface) in xdp_attach() argument
103 ifindex = if_nametoindex(iface); in xdp_attach()
/tools/testing/selftests/tc-testing/plugin-lib/
DscapyPlugin.py54 sendp(pkt, iface=scapyinfo['iface'])
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh654 local iface=$1
668 batch="${batch}filter add dev $iface ingress protocol ipv6 pref 1 \
676 local iface=$1
689 batch="${batch}filter del dev $iface ingress protocol ipv6 pref 1 \
696 local iface=$1
704 test_rule_del $iface $index
706 test_rule_add $iface $tcflags $index
712 local iface=$1
729 test_rule_add_or_remove $iface $tcflags $i
/tools/include/uapi/sound/
Dasound.h128 int iface; /* hwdep interface */ member
1031 snd_ctl_elem_iface_t iface; /* interface identifier */ member