preparing support for command batch
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | conntrack: add struct ct_cmdsrc/ | +76 | 0 replies | |
| 2/3 | conntrack: add struct ct_tmplsrc/ | +121 | 0 replies | |
| 3/3 | conntrack: add do_command_ct()src/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH conntrack-tools 0/3] preparing support for command batch
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(-)
Signature · 1 line
2.20.1