search for: nfq_q_handle

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

2012 Apr 25
1
forwarding packets to service in same host without using loopback network
..._get_physoutdev (tb); if (ifi) printf ("physoutdev=%u ", ifi); ret = nfq_get_payload (tb, &data); if (ret >= 0) printf ("payload_len=%d ", ret); fputc ('\n', stdout); return id; } static int cb (struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_data *nfa, void *data) { uint32_t ip_src, ip_dst; struct in_addr s_ip; struct in_addr d_ip; uint16_t src_port; uint16_t dst_port; int verdict; int id; int ret; unsigned char *buffer; stru...
2011 Aug 31
1
[Bug 743] New: Errors in compiling nfqnl_test.c
...xt+0x73): undefined reference to `nfq_get_nfmark' nfqnl_test.c:(.text+0x9a): undefined reference to `nfq_get_indev' nfqnl_test.c:(.text+0xc1): undefined reference to `nfq_get_outdev' nfqnl_test.c:(.text+0xef): 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....