search for: nfq_open

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

Did you mean: ndo_open
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...return verdict; } int main (int argc, char **argv) { struct nfq_handle *h; struct nfq_q_handle *qh; struct nfnl_handle *nh; int fd; int rv; char buf[4096] __attribute__ ((aligned)); printf ("opening library handle\n"); h = nfq_open (); if (!h) { fprintf (stderr, "error during nfq_open()\n"); exit (1); } printf ("unbinding existing nf_queue handler for AF_INET (if any)\n"); if (nfq_unbind_pf (h, AF_INET) < 0) { fprintf (stderr, &quo...
2011 Aug 31
1
[Bug 743] New: Errors in compiling nfqnl_test.c
...xef): undefined reference to `nfq_get_payload' /tmp/cclJyK12.o: In function `cb(nfq_q_handle*, nfgenmsg*, nfq_data*, void*)': nfqnl_test.c:(.text+0x173): undefined reference to `nfq_set_verdict' /tmp/cclJyK12.o: In function `main': nfqnl_test.c:(.text+0x1a8): undefined reference to `nfq_open' nfqnl_test.c:(.text+0x204): undefined reference to `nfq_unbind_pf' nfqnl_test.c:(.text+0x25c): undefined 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...