Home
last modified time | relevance | path

Searched refs:from_dev (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dcore_kern.c44 *from_dev, const struct net_device *to_dev, int sent, int drops, in BPF_PROG()
47 return randmap(from_dev->ifindex, from_dev); in BPF_PROG()
/linux/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/samples/bpf/
H A Dxdp_sample.bpf.c206 int BPF_PROG(tp_xdp_devmap_xmit, const struct net_device *from_dev, in BPF_PROG() argument
213 idx_in = from_dev->ifindex; in BPF_PROG()
237 int BPF_PROG(tp_xdp_devmap_xmit_multi, const struct net_device *from_dev, in BPF_PROG() argument
245 idx_in = from_dev->ifindex; in BPF_PROG()
/linux/include/trace/events/
H A Dxdp.h252 TP_PROTO(const struct net_device *from_dev,
256 TP_ARGS(from_dev, to_dev, sent, drops, err),
268 __entry->from_ifindex = from_dev->ifindex;
/linux/rust/kernel/
H A Dopp.rs641 pub fn from_dev(dev: &Device) -> Result<Self> { in from_dev() method
670 let mut table = Self::from_dev(dev)?; in from_of()
698 let mut table = Self::from_dev(dev)?; in from_of_cpumask()
/linux/drivers/cpufreq/
H A Drcpufreq_dt.rs107 opp::Table::from_dev(dev)? in init()