2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __STC_PLUGIN_MONITOR_IPT_H__
18 #define __STC_PLUGIN_MONITOR_IPT_H__
20 #include "helper-nfacct-rule.h"
22 stc_error_e stc_monitor_ipt_add_in(struct nfacct_rule *counter);
23 stc_error_e stc_monitor_ipt_add_out(struct nfacct_rule *counter);
24 stc_error_e stc_monitor_ipt_del_in(struct nfacct_rule *counter);
25 stc_error_e stc_monitor_ipt_del_out(struct nfacct_rule *counter);
27 stc_error_e stc_monitor_ip6t_add_in(struct nfacct_rule *counter);
28 stc_error_e stc_monitor_ip6t_add_out(struct nfacct_rule *counter);
29 stc_error_e stc_monitor_ip6t_del_in(struct nfacct_rule *counter);
30 stc_error_e stc_monitor_ip6t_del_out(struct nfacct_rule *counter);
32 stc_error_e stc_monitor_tether_add_in(struct nfacct_rule *counter,
34 stc_error_e stc_monitor_tether_add_out(struct nfacct_rule *counter,
36 stc_error_e stc_monitor_tether_del_in(struct nfacct_rule *counter,
38 stc_error_e stc_monitor_tether_del_out(struct nfacct_rule *counter,
41 #endif /* __STC_PLUGIN_MONITOR_IPT_H__ */