Displaying 2 results from an estimated 2 matches for "nfq_close".
Did you mean:
net_close
2011 Aug 31
1
[Bug 743] New: Errors in compiling nfqnl_test.c
...d 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/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...NSANE
/* normally, applications SHOULD NOT issue this command, since
* it detaches other programs/sockets from AF_INET, too ! */
printf ("unbinding from AF_INET\n");
nfq_unbind_pf (h, AF_INET);
#endif
printf ("closing library handle\n");
nfq_close (h);
exit (0);
}
Notice in the callback function two calls to my_mangling_fun() is
commented out. This is where i mangle the incoming and outgoing
packet. I think this code would be sufficient to describe my case. If
further clarification is need please ask, i will post further details...