Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/netdevsim/
H A 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()
/openbmc/linux/net/psample/
H A 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()
/openbmc/linux/include/net/
H A Dpsample.h19 int in_ifindex; member
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dpsample.sh101 echo 1234 > $PSAMPLE_DIR/in_ifindex
/openbmc/linux/net/sched/
H A Dact_sample.c182 md.in_ifindex = skb->skb_iif; in tcf_sample_act()
185 md.in_ifindex = skb->dev->ifindex; in tcf_sample_act()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c333 md.in_ifindex = skb->dev->ifindex; in mlx5e_tc_sample_skb()