netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH conntrack-tools 0/3] preparing support for command batch
@ 2021-01-14 22:31 Pablo Neira Ayuso
  2021-01-14 22:32 ` [PATCH conntrack-tools 1/3] conntrack: add struct ct_cmd Pablo Neira Ayuso
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2021-01-14 22:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: mikhail.sennikovskii

Hi Mikhail,

This is a patch to prepare for the command batch support.

Please have a look at the xtables restore parser, it would be great
if the code to read the file lines via fgets() and then turn it into
argc and argv (see add_argv() for reference in iptables/xshared.c).
If conntrack can converge to use existing approach in the iptables code, that
will be good for maintainability reasons.

Thanks for your patience.

Pablo Neira Ayuso (3):
  conntrack: add struct ct_cmd
  conntrack: add struct ct_tmpl
  conntrack: add do_command_ct()

 src/conntrack.c | 346 +++++++++++++++++++++++++++---------------------
 1 file changed, 194 insertions(+), 152 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2021-01-14 22:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14 22:31 [PATCH conntrack-tools 0/3] preparing support for command batch Pablo Neira Ayuso
2021-01-14 22:32 ` [PATCH conntrack-tools 1/3] conntrack: add struct ct_cmd Pablo Neira Ayuso
2021-01-14 22:32 ` [PATCH conntrack-tools 2/3] conntrack: add struct ct_tmpl Pablo Neira Ayuso
2021-01-14 22:32 ` [PATCH conntrack-tools 3/3] conntrack: add do_command_ct() 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;
as well as URLs for NNTP newsgroup(s).