Displaying 3 results from an estimated 3 matches for "nfq_unbind_pf".
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...));
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, "error during nfq_unbind_pf()\n");
exit (1);
}
printf ("binding nfnetlink_queue as nf_queue handler for AF_INET\n");
if (nfq_bind_pf (h, AF_INET) < 0)
{
fprintf (stderr,...
2013 Aug 16
9
[Bug 846] New: ./nfqnl_test usage ! no activity shown
https://bugzilla.netfilter.org/show_bug.cgi?id=846
Summary: ./nfqnl_test usage ! no activity shown
Product: libnetfilter_queue
Version: unspecified
Platform: i386
OS/Version: RedHat Linux
Status: NEW
Severity: trivial
Priority: P5
Component: libnetfilter_queue
AssignedTo: netfilter-buglog at
2011 Aug 31
1
[Bug 743] New: Errors in compiling nfqnl_test.c
...: 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.c:(.text+0x36c): undefined reference to `nfq_fd'
nfqnl_test.c:(.te...