Add to add/remove rule list
[platform/core/connectivity/stc-iptables.git] / interfaces / stc-iptables-iface.xml
1 <node>
2         <interface name="net.stc.iptables">
3                 <method name='Init'>
4                 </method>
5         </interface>
6         <interface name="net.stc.iptables.manager">
7                 <method name='Stop'>
8                         <arg type='i' name='error_code' direction='out'/>
9                 </method>
10         </interface>
11         <interface name="net.stc.iptables.rule">
12                 <method name='IptAddList'>
13                         <arg type='aa{sv}' name='rule_list' direction='in'/>
14                         <arg type='i' name='error_code' direction='out'/>
15                 </method>
16                 <method name='Ip6tAddList'>
17                         <arg type='aa{sv}' name='rule_list' direction='in'/>
18                         <arg type='i' name='error_code' direction='out'/>
19                 </method>
20                 <method name='IptAddRule'>
21                         <arg type='a{sv}' name='rules' direction='in'/>
22                         <arg type='i' name='error_code' direction='out'/>
23                 </method>
24                 <method name='IptInsertRule'>
25                         <arg type='a{sv}' name='rules' direction='in'/>
26                         <arg type='i' name='error_code' direction='out'/>
27                 </method>
28                 <method name='IptRemoveRule'>
29                         <arg type='a{sv}' name='rules' direction='in'/>
30                         <arg type='i' name='error_code' direction='out'/>
31                 </method>
32                 <method name='IptRemoveList'>
33                         <arg type='aa{sv}' name='rule_list' direction='in'/>
34                         <arg type='i' name='error_code' direction='out'/>
35                 </method>
36                 <method name='Ip6tRemoveList'>
37                         <arg type='aa{sv}' name='rule_list' direction='in'/>
38                         <arg type='i' name='error_code' direction='out'/>
39                 </method>
40                 <method name='Ip6tAddRule'>
41                         <arg type='a{sv}' name='rules' direction='in'/>
42                         <arg type='i' name='error_code' direction='out'/>
43                 </method>
44                 <method name='Ip6tInsertRule'>
45                         <arg type='a{sv}' name='rules' direction='in'/>
46                         <arg type='i' name='error_code' direction='out'/>
47                 </method>
48                 <method name='Ip6tRemoveRule'>
49                         <arg type='a{sv}' name='rules' direction='in'/>
50                         <arg type='i' name='error_code' direction='out'/>
51                 </method>
52         </interface>
53         <interface name="net.stc.iptables.chain">
54                 <method name='IptAddChain'>
55                         <arg type='s' name='chain' direction='in'/>
56                         <arg type='i' name='error_code' direction='out'/>
57                 </method>
58                 <method name='IptRemoveChain'>
59                         <arg type='s' name='chain' direction='in'/>
60                         <arg type='i' name='error_code' direction='out'/>
61                 </method>
62                 <method name='IptFlushChain'>
63                         <arg type='s' name='chain' direction='in'/>
64                         <arg type='i' name='error_code' direction='out'/>
65                 </method>
66                 <method name='Ip6tAddChain'>
67                         <arg type='s' name='chain' direction='in'/>
68                         <arg type='i' name='error_code' direction='out'/>
69                 </method>
70                 <method name='Ip6tRemoveChain'>
71                         <arg type='s' name='chain' direction='in'/>
72                         <arg type='i' name='error_code' direction='out'/>
73                 </method>
74                 <method name='Ip6tFlushChain'>
75                         <arg type='s' name='chain' direction='in'/>
76                         <arg type='i' name='error_code' direction='out'/>
77                 </method>
78         </interface>
79 </node>