Displaying 2 results from an estimated 2 matches for "nfq_handl".
Did you mean:
nfq_handle
2011 Apr 22
2
[Bug 715] New: nfq_nfnlh() and nfq_fd() should have const arguments
...Status: NEW
Severity: enhancement
Priority: P5
Component: libnetfilter_queue
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: socketpair at gmail.com
Estimated Hours: 0.0
i.e.
instead of
struct nfnl_handle *nfq_nfnlh(struct nfq_handle *h)
int nfq_fd(struct nfq_handle *h)
it should be
struct nfnl_handle *nfq_nfnlh(const struct nfq_handle *h)
int nfq_fd(const struct nfq_handle *h)
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assig...
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...;outbound packet");
//my_mangling_fun();
break;
}
}
verdict = nfq_set_verdict (qh, id, NF_ACCEPT, ret, buffer);
if (verdict)
printf ( "verdict ok");
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()...