diff options
author | Skylar Chang <chiaweic@codeaurora.org> | 2015-08-08 00:03:21 -0700 |
---|---|---|
committer | Skylar Chang <chiaweic@codeaurora.org> | 2015-09-30 13:29:14 -0700 |
commit | 6d768a0e67b81da9d296149c55c7f2d1cca9936e (patch) | |
tree | 074f6c30974362ba9cabdb64a3003855e2dbe859 /ipacm/inc/IPACM_Defs.h | |
parent | aec4d3a28128534078da7cb2cbcc6ba85c0cd7f0 (diff) | |
download | ipacfg-mgr-6d768a0e67b81da9d296149c55c7f2d1cca9936e.tar.gz |
IPACM: Add support to get tether stats
This changes provides the support to
to get tether stats.
Change-Id: I668a8fa3ffbab2c714d09543e6d2a7e67ff55eff
Diffstat (limited to 'ipacm/inc/IPACM_Defs.h')
-rw-r--r-- | ipacm/inc/IPACM_Defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Defs.h b/ipacm/inc/IPACM_Defs.h index b424d97..559daca 100644 --- a/ipacm/inc/IPACM_Defs.h +++ b/ipacm/inc/IPACM_Defs.h @@ -190,6 +190,10 @@ typedef enum IPA_WAN_XLAT_CONNECT_EVENT, /* 53 ipacm_event_data_fid */ IPA_TETHERING_STATS_UPDATE_EVENT, /* 54 ipacm_event_data_fid */ IPA_NETWORK_STATS_UPDATE_EVENT, /* 55 ipacm_event_data_fid */ + IPA_HANDLE_WAN_UP_TETHER, /* 56 ipacm_event_iface_up_tehter */ + IPA_HANDLE_WAN_DOWN_TETHER, /* 57 ipacm_event_iface_up_tehter */ + IPA_HANDLE_WAN_UP_V6_TETHER, /* 58 ipacm_event_iface_up_tehter */ + IPA_HANDLE_WAN_DOWN_V6_TETHER, /* 59 ipacm_event_iface_up_tehter */ IPACM_EVENT_MAX } ipa_cm_event_id; @@ -292,6 +296,7 @@ typedef struct typedef struct _ipacm_event_data_iptype { int if_index; + int if_index_tether; enum ipa_ip_type iptype; } ipacm_event_data_iptype; @@ -330,6 +335,13 @@ typedef struct _ipacm_event_iface_up uint8_t xlat_mux_id; }ipacm_event_iface_up; +typedef struct _ipacm_event_iface_up_tether +{ + uint32_t if_index_tether; + uint32_t ipv6_prefix[2]; + bool is_sta; +}ipacm_event_iface_up_tehter; + typedef enum { Q6_WAN = 0, |