libnetfilter_conntrack callbacks and nfct_destroy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux