Searched refs:in_ifindex (Results 1 – 7 of 7) sorted by relevance
30 int in_ifindex; member86 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()
366 int in_ifindex = md->in_ifindex; in psample_sample_packet() local377 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()
19 int in_ifindex; member
101 echo 1234 > $PSAMPLE_DIR/in_ifindex
182 md.in_ifindex = skb->skb_iif; in tcf_sample_act()185 md.in_ifindex = skb->dev->ifindex; in tcf_sample_act()
240 struct sk_buff *skb, int in_ifindex, in mlxsw_sp_psample_md_init() argument247 md->in_ifindex = in_ifindex; in mlxsw_sp_psample_md_init()
333 md.in_ifindex = skb->dev->ifindex; in mlx5e_tc_sample_skb()