Re: tc ipt action
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2012-12-16 17:47:13
Also in:
netfilter-devel
On 12-12-16 12:21 PM, Jan Engelhardt wrote:
As you can see, the old ->parse() that goes back to libxtables.so.0 still remains. It's just that... only 5 out of 99 plugins still come with an old parse function.
I see. So calling m->XXX may not be a wise long term solution. Hasan's patch has a call to xtables_option_tpcall(), if that is the right interface I hope that going forward if any of the m->parseXX changes you will take care of hiding all that stuff.
old parse has not entered any deprecation stage yet, since there are still plugins out there (both the 5 and external ones) that make use of it. Right now, both parse and x6_parse are valid.
True - but we are getting broken because we are using a call that only 5 or so users provide. It would have saved us time if we got the a good log message instead of checking for if !m->parse()
Yes, all those with an x6_ prefix are new. Mh, I already dream of plans reducing m_xt to something that does not require libxtables.so anymore.
That would be nice - but someone is going to have to link to libxtables, no? cheers, jamal