search for: register_target

Displaying 2 results from an estimated 2 matches for "register_target".

2003 Aug 23
1
[Bug 117] register_target() creates circular linked list
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=117 ------- Additional Comments From laforge@netfilter.org 2003-08-23 22:24 ------- I'm not sure if I understand you correctly. How does register_target create a circular list? initially, iptables_targets == NULL. then you register the first target (t), and you set t->next = iptables_targets (== NULL), and then point iptables_targets to t. Result: iptables_targets == t; t->next == NULL. if you register a second target (t2). Result: iptabl...
2002 May 14
1
what''s the meaning of xchg()?
...s_target mark >+= { NULL, >+ "IMQX", >+ NETFILTER_VERSION, >+ 0, >+ 0, >+ &help, >+ &init, >+ &parse, >+ &final_check, >+ &print, >+ &save, >+ opts >+}; >+ >+void _init(void) >+{ >+ register_target(&mark); >+} >diff -urN iptables-1.2.6a-clean/patch-o-matic/extra/IMQX.patch iptables-1.2.6a/patch-o-matic/extra/IMQX.patch >--- iptables-1.2.6a-clean/patch-o-matic/extra/IMQX.patch Thu Jan 1 01:00:00 1970 >+++ iptables-1.2.6a/patch-o-matic/extra/IMQX.patch Sat Mar 23 02:37:20 2002...