Fixed 64 bit type format
[platform/core/connectivity/stc-manager.git] / src / helper / helper-nfacct-rule.h
old mode 100644 (file)
new mode 100755 (executable)
index 52ef8f4..97c9b5e
@@ -56,6 +56,9 @@ typedef enum {
        NFACCT_BLOCK,
        NFACCT_ALLOW,
        NFACCT_TETH_COUNTER,
+       NFACCT_TETH_WARN,
+       NFACCT_TETH_BLOCK,
+       NFACCT_TETH_ALLOW,
        NFACCT_RULE_LAST_ELEM,
 } nfacct_rule_intend;
 
@@ -102,6 +105,7 @@ struct nfacct_rule {
        nfacct_rule_direction iotype;
        nfacct_rule_intend intend;
        nfacct_rule_jump jump; /* in most cases jump is evalutation based on intend, but not always */
+       stc_app_state_e app_state;
        stc_rstn_state_e rstn_state;
        nfacct_rule_iptype iptype;
        nfacct_rule_iprange_type src_iprange_type;
@@ -113,12 +117,12 @@ struct nfacct_rule {
 
        struct counter_arg *carg;
        stc_error_e(*iptables_rule)(struct nfacct_rule *counter);
-       int64_t quota;
+       long long int quota;
        int quota_id;
        stc_roaming_type_e roaming;
 
-       int64_t send_limit;
-       int64_t rcv_limit;
+       long long int send_limit;
+       long long int rcv_limit;
 };
 
 typedef struct nfacct_rule nfacct_rule_s;