Add tethering client data limitation
[platform/core/connectivity/stc-manager.git] / src / monitor / include / stc-monitor.h
index 187035f..d138cbc 100755 (executable)
@@ -27,7 +27,7 @@
 
 /* 1 seconds */
 #define CONTR_TIMER_INTERVAL 1
-#define IPV4_IPADDRESS_LEN 16
+#define MAC_ADDRESS_LEN 18
 
 /**
  * @brief enumeration for data limit types
@@ -78,7 +78,7 @@ typedef struct {
        stc_data_counter_s data_usage;
        stc_data_counter_s counter;
        GTree *processes;  /**< applications instances */
-       char ipaddr[IPV4_IPADDRESS_LEN+1]; /**< application ip address */
+       char mac[MAC_ADDRESS_LEN+1]; /**< application mac address */
 } stc_app_value_s;
 
 /**
@@ -87,6 +87,7 @@ typedef struct {
 typedef struct {
        gchar *app_id;
        gchar *ifname;
+       gchar *mac;
        gchar *subscriber_id;
        stc_iface_type_e iftype;
        stc_roaming_type_e roaming;