Home
last modified time | relevance | path

Searched refs:in_ifindex (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/netdevsim/
Dpsample.c30 int in_ifindex; member
86 md->in_ifindex = psample->in_ifindex; in nsim_dev_psample_md_prepare()
228 psample->in_ifindex = 1; in nsim_dev_psample_init()
230 &psample->in_ifindex); in nsim_dev_psample_init()
/linux-6.6.21/net/psample/
Dpsample.c366 int in_ifindex = md->in_ifindex; in psample_sample_packet() local
377 meta_len = (in_ifindex ? nla_total_size(sizeof(u16)) : 0) + in psample_sample_packet()
409 if (in_ifindex) { in psample_sample_packet()
410 ret = nla_put_u16(nl_skb, PSAMPLE_ATTR_IIFINDEX, in_ifindex); in psample_sample_packet()
/linux-6.6.21/include/net/
Dpsample.h19 int in_ifindex; member
/linux-6.6.21/net/sched/
Dact_sample.c182 md.in_ifindex = skb->skb_iif; in tcf_sample_act()
185 md.in_ifindex = skb->dev->ifindex; in tcf_sample_act()
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh101 echo 1234 > $PSAMPLE_DIR/in_ifindex
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c240 struct sk_buff *skb, int in_ifindex, in mlxsw_sp_psample_md_init() argument
247 md->in_ifindex = in_ifindex; in mlxsw_sp_psample_md_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c333 md.in_ifindex = skb->dev->ifindex; in mlx5e_tc_sample_skb()