Linux Netfilter discussions
 help / color / mirror / Atom feed
* libnetfilter_conntrack callbacks and nfct_destroy
@ 2010-08-03  6:24 Andrew Beverley
  2010-08-03 13:19 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Beverley @ 2010-08-03  6:24 UTC (permalink / raw)
  To: netfilter

I have 2 questions regarding libnetfilter_conntrack please:

- When using nfct_callback_register() and then nfct_query(), is the
callback that is subsequently generated a synchronous callback? (It
appears to be, I'd just like positive confirmation).

- Should nfct_destroy() be called after each use of nfct_new() to
prevent memory leaks? I assume that the answer is yes, but only one of
the examples in the source code use it.

Thanks,

Andy



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

end of thread, other threads:[~2010-08-03 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03  6:24 libnetfilter_conntrack callbacks and nfct_destroy Andrew Beverley
2010-08-03 13:19 ` Pablo Neira Ayuso

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