search for: nfq_handle_packet

Displaying 2 results from an estimated 2 matches for "nfq_handle_packet".

Did you mean: nfnl_handle_packet
2011 Aug 31
1
[Bug 743] New: Errors in compiling nfqnl_test.c
...ndefined reference to `nfq_bind_pf' nfqnl_test.c:(.text+0x2c4): undefined reference to `nfq_create_queue' nfqnl_test.c:(.text+0x328): undefined reference to `nfq_set_mode' nfqnl_test.c:(.text+0x36c): undefined reference to `nfq_fd' nfqnl_test.c:(.text+0x39a): undefined reference to `nfq_handle_packet' nfqnl_test.c:(.text+0x3f8): undefined reference to `nfq_destroy_queue' nfqnl_test.c:(.text+0x410): undefined reference to `nfq_close' collect2: ld returned 1 exit status Can you please guide me to resolve the issue? Thanks. -- Configure bugmail: http://bugzilla.netfilter.org/userp...
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...0xffff) < 0) { fprintf (stderr, "can't set packet_copy mode\n"); exit (1); } fd = nfq_fd (h); for (;;) { if ((rv = recv (fd, buf, sizeof (buf), 0)) >= 0) { printf ("pkt received\n"); nfq_handle_packet (h, buf, rv); continue; } /* if your application is too slow to digest the packets that * are sent from kernel-space, the socket buffer that we use * to enqueue packets may fill up returning ENOBUFS. Depending * on your application, this error...