All of lore.kernel.org
 help / color / mirror / Atom feed
* Using nfmark
@ 2004-11-30 20:47 Roberto Jung Drebes
  2004-11-30 21:40 ` Tobias DiPasquale
  0 siblings, 1 reply; 2+ messages in thread
From: Roberto Jung Drebes @ 2004-11-30 20:47 UTC (permalink / raw)
  To: netfilter-devel, netfilter

Hello again,

Can someone point me to documentation about the nfmark field of the 
sk_buff structure?

My netfilter module creates some traffic using ip_rcv and 
ip_finish_output, and this traffic is also subject to my module, since 
it is registered in the NF_IP_PRE_ROUTING and NF_IP_POST_ROUTING hooks. 
I would like to test in my module if this traffic was created by itself 
(in which case it should be ignored) or not (should be processed), and 
so I am thinking of marking created packets with a magic number. Can I 
use nfmark for that? Are there any other netfilter modules that use it?

Thanks in advance,

-- 
Roberto Jung Drebes <drebes@inf.ufrgs.br>
Porto Alegre, RS - Brasil
http://www.inf.ufrgs.br/~drebes/



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

end of thread, other threads:[~2004-11-30 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-30 20:47 Using nfmark Roberto Jung Drebes
2004-11-30 21:40 ` Tobias DiPasquale

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.