diff options
author | Skylar Chang <chiaweic@codeaurora.org> | 2015-02-11 13:54:16 -0800 |
---|---|---|
committer | Skylar Chang <chiaweic@codeaurora.org> | 2015-02-17 17:05:14 -0800 |
commit | 4b58536c2d002920158f1e79b5a4934bcb91cc36 (patch) | |
tree | 4ba01a0166971d21496f5149f03b51ca9839759a /ipacm/inc/IPACM_Wan.h | |
parent | 43cf93d1ac60f4a36c5ad9e429cd9e5b50879905 (diff) | |
download | ipacfg-mgr-4b58536c2d002920158f1e79b5a4934bcb91cc36.tar.gz |
IPACM : Add support for the XLAT feature
IPA needs to support modem CLAT feature which
translates ipv4 traffic to ipv6 and vice-versa.
In order to acheive this, IPACM needs configure
CLAT/XLAT rules if the embedded PDN is CLAT PDN,
otherwise it should construct the rules
for normal internet PDN.interface
Change-Id: Ia0ce20fbe0463cb5ac6d25a066be4c50c0303da2
Diffstat (limited to 'ipacm/inc/IPACM_Wan.h')
-rw-r--r-- | ipacm/inc/IPACM_Wan.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Wan.h b/ipacm/inc/IPACM_Wan.h index 5160ac3..9009136 100644 --- a/ipacm/inc/IPACM_Wan.h +++ b/ipacm/inc/IPACM_Wan.h @@ -86,6 +86,7 @@ public: static bool wan_up; static bool wan_up_v6; + static uint8_t xlat_mux_id; IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *); virtual ~IPACM_Wan(); @@ -100,6 +101,10 @@ public: return wan_up_v6; } + static bool getXlat_Mux_Id() + { + return xlat_mux_id; + } void event_callback(ipa_cm_event_id event, void *data); @@ -168,6 +173,8 @@ private: int header_name_count; int num_wan_client; uint8_t invalid_mac[IPA_MAC_ADDR_SIZE]; + bool is_xlat; + inline ipa_wan_client* get_client_memptr(ipa_wan_client *param, int cnt) { |