Home
last modified time | relevance | path

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

/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.c7 int out_ifindex; member
33 int out_ifindex = leaf->out_ifindex; in handle_phys2virt() local
35 struct ifindex_leaf_t *out_leaf = egress.lookup_or_try_init(&out_ifindex, &zleaf); in handle_phys2virt()
38 out_leaf->out_ifindex = skb->ifindex; in handle_phys2virt()
44 bpf_clone_redirect(skb, leaf->out_ifindex, 0); in handle_phys2virt()
60 bpf_clone_redirect(skb, leaf->out_ifindex, 0); in handle_virt2phys()
/external/libnl/tests/
Dnl-test-util.c362 int *out_ifindex) in _nltst_add_link() argument
393 if (!out_ifindex && _nltst_rand_u32_range(5) != 0) in _nltst_add_link()
404 if (out_ifindex) in _nltst_add_link()
405 *out_ifindex = ifindex; in _nltst_add_link()
437 void _nltst_get_link(struct nl_sock *sk, const char *ifname, int *out_ifindex, in _nltst_get_link() argument
451 if (out_ifindex) in _nltst_get_link()
452 *out_ifindex = rtnl_link_get_ifindex(link); in _nltst_get_link()
Dnl-test-util.h393 int *out_ifindex);
397 void _nltst_get_link(struct nl_sock *sk, const char *ifname, int *out_ifindex,
/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh102 echo 4321 > $PSAMPLE_DIR/out_ifindex