Searched refs:queues_total (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | xt_NFQUEUE.h | 20 __u16 queues_total; member in struct:xt_NFQ_info_v1 25 __u16 queues_total; member in struct:xt_NFQ_info_v2 31 __u16 queues_total; member in struct:xt_NFQ_info_v3
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_NFQUEUE.c | 44 if (info->queues_total > 1) { nfqueue_tg_v1() 45 queue = nfqueue_hash(skb, queue, info->queues_total, nfqueue_tg_v1() 69 if (info->queues_total == 0) { nfqueue_tg_check() 73 maxid = info->queues_total - 1 + info->queuenum; nfqueue_tg_check() 76 info->queues_total, maxid); nfqueue_tg_check() 94 if (info->queues_total > 1) { nfqueue_tg_v3() 98 queue = info->queuenum + cpu % info->queues_total; nfqueue_tg_v3() 100 queue = nfqueue_hash(skb, queue, info->queues_total, nfqueue_tg_v3()
|
H A D | nft_queue.c | 26 u16 queues_total; member in struct:nft_queue 38 if (priv->queues_total > 1) { nft_queue_eval() 42 queue = priv->queuenum + cpu % priv->queues_total; nft_queue_eval() 45 priv->queues_total, pkt->ops->pf, nft_queue_eval() 76 priv->queues_total = ntohs(nla_get_be16(tb[NFTA_QUEUE_TOTAL])); nft_queue_init() 90 nla_put_be16(skb, NFTA_QUEUE_TOTAL, htons(priv->queues_total)) || nft_queue_dump()
|
/linux-4.1.27/include/net/netfilter/ |
H A D | nf_queue.h | 83 nfqueue_hash(const struct sk_buff *skb, u16 queue, u16 queues_total, u8 family, nfqueue_hash() argument 87 queue += ((u64) hash_v4(skb, jhash_initval) * queues_total) >> 32; nfqueue_hash() 90 queue += ((u64) hash_v6(skb, jhash_initval) * queues_total) >> 32; nfqueue_hash()
|
Completed in 105 milliseconds