diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-03-19 13:46:32 +0100 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-03-25 13:17:58 +0200 |
commit | 8d9d64c7f2deda60e668bd74c09dfd4b16cfa0d2 (patch) | |
tree | adab483ab7708ee9dbb9f243d6fe3242f8006dbc /tools | |
parent | a6b73c60cf555ea6e02daca913f08bfa0b48b723 (diff) | |
download | connman-8d9d64c7f2deda60e668bd74c09dfd4b16cfa0d2.tar.gz connman-8d9d64c7f2deda60e668bd74c09dfd4b16cfa0d2.tar.bz2 connman-8d9d64c7f2deda60e668bd74c09dfd4b16cfa0d2.zip |
firewall: Add firewall API
The main idea behind this API is to collect several iptables rules
together and enable or disable in one go.
For this a context is created via __connman_firewall_create() and
the rules added to this context via __connman_firewall_add_rule().
In order to append all rules __connman_firewall_enable() has
to be called. To remove all rules associated with one context
__connman_firewall_disable() has to be used.
If something goes awry the code tries to get back to the initial
state.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions