summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-02-12 10:19:46 +0100
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-12 12:34:30 +0200
commitba052f1fa25d330b188027f41b4c88a23cc02431 (patch)
treead3e655f0d8721d7b2a22c2ece8d92991a3c0f49 /unit
parent4cf7b8f2c0f4202b9e76dcfd439cf857ff71de91 (diff)
downloadconnman-ba052f1fa25d330b188027f41b4c88a23cc02431.tar.gz
connman-ba052f1fa25d330b188027f41b4c88a23cc02431.tar.bz2
connman-ba052f1fa25d330b188027f41b4c88a23cc02431.zip
iptables: Add split out iptables commands
Instead of having a pure string based API, we add two new main functions, __connman_iptables_append() and __connman_iptables_remove(). The missing commands will be added later. To simplify the whole code, the __connman_iptables_command() code is refactored into smaller pieces: parse_rule_spec() calls a few functions such as clear_tables_flags() and parse_xt_modules() which should make the reading of the main parser loop simpler. Also added a few comments on the parser which is really tricky.
Diffstat (limited to 'unit')
0 files changed, 0 insertions, 0 deletions