# XMLRPC Interface

Some functionality may be controled using RPC commands.

- ipmatch.reload - Reloads the cached ipmatch table. The original table remains active in case of any failure.

- ipset.clean(ipset_name) - Clear all entries in "pending" ipset.

- ipset.add(ipset_name, ip, netmask) - Add ip and mask into ipset. IPv6 should should be enclosed in brackets. Netmask may be identified as number or in IP form. Note that number requires leading slash, e.g. "/24" or "255.255.255.0".

- ipset.commit(ipset_name) - Makes pending ip set usable by `ip_is_trusted`. Pending ip set is cleared.

- ipset.list() - List declared ip sets.

- ipset.print(ipset_name, pending) - Dump ipset trees. If `pending` non zero then pending ipset is dumped.