All of lore.kernel.org
 help / color / mirror / Atom feed
* [libnetfilter_queue] extra data after payload
@ 2011-09-23 16:19 U.Mutlu
  2011-09-23 17:02 ` U.Mutlu
  2011-09-23 17:17 ` Jeff Haran
  0 siblings, 2 replies; 8+ messages in thread
From: U.Mutlu @ 2011-09-23 16:19 UTC (permalink / raw)
  To: netfilter-devel

Hi,

when reading queue data via the recv() function
then one gets a return value much longer than the payload data,
so there are some extra data after the payload.
What kind of extra data is it?

for example:
   rv  = recv(fd, buf, sizeof(buf), 0);   // rv=84
   ...
   ret = nfq_get_payload(tb, &data);      // ret=40 (ie. ip + tcp pkt, both w/o options, and tcp w/o user data)

So, here, what are the extra 44 bytes after the tcp data?


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

end of thread, other threads:[~2011-09-26 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 16:19 [libnetfilter_queue] extra data after payload U.Mutlu
2011-09-23 17:02 ` U.Mutlu
2011-09-23 17:17 ` Jeff Haran
2011-09-24  8:08   ` U.Mutlu
2011-09-24  8:24     ` Jan Engelhardt
2011-09-26 17:45       ` Jeff Haran
2011-09-26 18:58         ` U.Mutlu
2011-09-26 20:22           ` U.Mutlu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.