Home
last modified time | relevance | path

Searched refs:queues_total (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/
Dxt_NFQUEUE.c42 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()
Dnft_queue.c24 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()
88 priv->queues_total = ntohs(nla_get_be16(tb[NFTA_QUEUE_TOTAL])); in nft_queue_init()
90 priv->queues_total = 1; in nft_queue_init()
92 if (priv->queues_total == 0) in nft_queue_init()
95 maxid = priv->queues_total - 1 + priv->queuenum; in nft_queue_init()
135 nla_put_be16(skb, NFTA_QUEUE_TOTAL, htons(priv->queues_total)) || in nft_queue_dump()