Searched refs:queues_total (Results 1 – 4 of 4) sorted by relevance
/linux/net/netfilter/ |
H A D | xt_NFQUEUE.c | 42 if (info->queues_total > 1) { in nfqueue_tg_v1() 43 queue = nfqueue_hash(skb, queue, info->queues_total, in nfqueue_tg_v1() 67 if (info->queues_total == 0) { in nfqueue_tg_check() 71 maxid = info->queues_total - 1 + info->queuenum; in nfqueue_tg_check() 74 info->queues_total, maxid); in nfqueue_tg_check() 92 if (info->queues_total > 1) { in nfqueue_tg_v3() 96 queue = info->queuenum + cpu % info->queues_total; in nfqueue_tg_v3() 98 queue = nfqueue_hash(skb, queue, info->queues_total, in nfqueue_tg_v3()
|
H A D | nft_queue.c | 24 u16 queues_total; member 36 if (priv->queues_total > 1) { in nft_queue_eval() 40 queue = priv->queuenum + cpu % priv->queues_total; in nft_queue_eval() 43 priv->queues_total, nft_pf(pkt), in nft_queue_eval() 112 priv->queues_total = ntohs(nla_get_be16(tb[NFTA_QUEUE_TOTAL])); in nft_queue_init() 114 priv->queues_total = 1; in nft_queue_init() 116 if (priv->queues_total == 0) in nft_queue_init() 119 maxid = priv->queues_total - 1 + priv->queuenum; in nft_queue_init() 160 nla_put_be16(skb, NFTA_QUEUE_TOTAL, htons(priv->queues_total)) || in nft_queue_dump()
|
/linux/include/uapi/linux/netfilter/ |
H A D | xt_NFQUEUE.h | 21 __u16 queues_total; member 26 __u16 queues_total; member 32 __u16 queues_total; member
|
/linux/include/net/netfilter/ |
H A D | nf_queue.h | 105 nfqueue_hash(const struct sk_buff *skb, u16 queue, u16 queues_total, u8 family, in nfqueue_hash() argument 111 queues_total); in nfqueue_hash() 115 queues_total); in nfqueue_hash() 119 queues_total); in nfqueue_hash()
|