Linux Netfilter discussions
 help / color / mirror / Atom feed
* about ipq_set_verdict()
@ 2004-04-15  0:17 Jee J.Z.
  2004-04-20 14:44 ` Oumer Teyeb
  0 siblings, 1 reply; 4+ messages in thread
From: Jee J.Z. @ 2004-04-15  0:17 UTC (permalink / raw)
  To: netfilter

Hi all,

I am using the libipq library to do userspace programming on netfilter. I am
having some problems understanding the return values of the function
ipq_set_verdict():

When I set verdict (either NF_ACCEPT or NF_DROP) without modifying the
packet, the return value of ipq_set_verdict is 28 and everything works well;
however, when I set verdict trying to modify the packet, ipq_set_verdict
returns 88, and the packet seems always to be dropped even when I set
NF_ACCEPT.

Does anybody know what these return values mean? Moreover, could anybody
tell me how I can successfully modify a packet using libipq? Thank you very
much in advance!!

Regards,
Jee



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-21  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-15  0:17 about ipq_set_verdict() Jee J.Z.
2004-04-20 14:44 ` Oumer Teyeb
2004-04-20 15:39   ` Jee J.Z.
2004-04-21  6:56     ` Oumer Teyeb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox