search for: nfnl_handle

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

Did you mean: nfct_handle
2011 Apr 22
2
[Bug 715] New: nfq_nfnlh() and nfq_fd() should have const arguments
...All OS/Version: All 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 becaus...
2012 Apr 25
1
forwarding packets to service in same host without using loopback network
...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()\n"); exit (1); } printf (&quot...