From baa727de93db009f90d70a80a9861758a24eae77 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 5 Nov 2019 10:27:59 +0100 Subject: docs: rename documentation folder to docs Signed-off-by: Jo-Philipp Wich --- documentation/api/modules/luci.sys.iptparser.html | 462 ---------------------- 1 file changed, 462 deletions(-) delete mode 100644 documentation/api/modules/luci.sys.iptparser.html (limited to 'documentation/api/modules/luci.sys.iptparser.html') diff --git a/documentation/api/modules/luci.sys.iptparser.html b/documentation/api/modules/luci.sys.iptparser.html deleted file mode 100644 index 5928281cf4..0000000000 --- a/documentation/api/modules/luci.sys.iptparser.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - Reference - - - - - -
- -
- -
-
-
- -
- - - -
- -

Object Instance luci.sys.iptparser

- -

- - - - - - - -

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IptParser (family) - -Create a new iptables parser object.
IptParser:chain (table, chain) - -Return the given firewall chain within the given table name.
IptParser:chains (table) - -Find the names of all chains within the given table name.
IptParser:is_custom_target (target) - -Test whether the given target points to a custom chain.
IptParser:resync () - -Rebuild the internal lookup table, for example when rules have changed - -through external commands.
IptParser:tables () - -Find the names of all tables.
- - - - - - -
-
- - -

Functions

-
- - - -
IptParser (family)
-
- - -Create a new iptables parser object. - - - -

Parameters

-
    - -
  • - family: Number specifying the address family. 4 for IPv4, 6 for IPv6 -
  • - -
- - - - - - -

Return value:

-IptParser instance - - - -
- - - - -
IptParser:chain (table, chain)
-
- - -Return the given firewall chain within the given table name. - - - -

Parameters

-
    - -
  • - table: String containing the table name -
  • - -
  • - chain: String containing the chain name -
  • - -
- - - - - - -

Return value:

-Table containing the fields "policy", "packets", "bytes" - and "rules". The "rules" field is a table of rule tables. - - - -
- - - - -
IptParser:chains (table)
-
- - -Find the names of all chains within the given table name. - - - -

Parameters

-
    - -
  • - table: String containing the table name -
  • - -
- - - - - - -

Return value:

-Table of chain names in the order they occur. - - - -
- - - - -
IptParser:is_custom_target (target)
-
- - -Test whether the given target points to a custom chain. - - - -

Parameters

-
    - -
  • - target: String containing the target action -
  • - -
- - - - - - -

Return value:

-Boolean indicating whether target is a custom chain. - - - -
- - - - -
IptParser:resync ()
-
- - -Rebuild the internal lookup table, for example when rules have changed - -through external commands. - - - - - - - -

Return value:

-nothing - - - -
- - - - -
IptParser:tables ()
-
- - -Find the names of all tables. - - - - - - - - -

Return value:

-Table of table names. - - - -
- - -
- - - - - -
- -
- -
-

Valid XHTML 1.0!

-
- -
- - -- cgit v1.2.3