Home | History | Annotate | Download | only in src

Lines Matching defs:queue

2  * src/nf-queue.c     Monitor netfilter queue events
19 #include <netlink/netfilter/queue.h>
26 struct nfnl_queue *queue;
28 queue = nfnl_queue_alloc();
29 if (!queue)
30 nl_cli_fatal(ENOMEM, "Unable to allocate queue object");
32 return queue;
51 printf("Warning: %d Out of order packets. Queue or socket overload \n", packet_id - next_packet_id);
87 struct nfnl_queue *queue;
101 printf("Usage: nf-queue family group [ copy_mode ] "
104 printf("group: the --queue-num arg that you gave to iptables\n");
119 queue = alloc_queue();
120 nfnl_queue_set_group(queue, atoi(argv[2]));
130 nfnl_queue_set_copy_mode(queue, copy_mode);
135 nfnl_queue_set_copy_range(queue, copy_range);
137 if ((err = nfnl_queue_create(nf_sock, queue)) < 0)
138 nl_cli_fatal(err, "Unable to bind queue: %s", nl_geterror(err));