Searched refs:from_dev (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh5 local from_dev=$1; shift
10 tc filter add dev $from_dev $direction \
17 local from_dev=$1; shift
/linux-master/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops,
47 return randmap(from_dev->ifindex, from_dev);
43 BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, const struct net_device *to_dev, int sent, int drops, int err) argument
/linux-master/samples/bpf/
H A Dxdp_sample.bpf.c206 int BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, argument
213 idx_in = from_dev->ifindex;
237 int BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, argument
245 idx_in = from_dev->ifindex;
/linux-master/include/trace/events/
H A Dxdp.h270 TP_PROTO(const struct net_device *from_dev,
274 TP_ARGS(from_dev, to_dev, sent, drops, err),
286 __entry->from_ifindex = from_dev->ifindex;

Completed in 134 milliseconds