projects
/
platform
/
core
/
connectivity
/
stc-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tethering client data limitation
[platform/core/connectivity/stc-manager.git]
/
src
/
monitor
/
include
/
stc-monitor.h
diff --git
a/src/monitor/include/stc-monitor.h
b/src/monitor/include/stc-monitor.h
index
187035f
..
d138cbc
100755
(executable)
--- a/
src/monitor/include/stc-monitor.h
+++ b/
src/monitor/include/stc-monitor.h
@@
-27,7
+27,7
@@
/* 1 seconds */
#define CONTR_TIMER_INTERVAL 1
/* 1 seconds */
#define CONTR_TIMER_INTERVAL 1
-#define
IPV4_IPADDRESS_LEN 16
+#define
MAC_ADDRESS_LEN 18
/**
* @brief enumeration for data limit types
/**
* @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 */
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;
/**
} stc_app_value_s;
/**
@@
-87,6
+87,7
@@
typedef struct {
typedef struct {
gchar *app_id;
gchar *ifname;
typedef struct {
gchar *app_id;
gchar *ifname;
+ gchar *mac;
gchar *subscriber_id;
stc_iface_type_e iftype;
stc_roaming_type_e roaming;
gchar *subscriber_id;
stc_iface_type_e iftype;
stc_roaming_type_e roaming;