diff options
author | Sridhar Ancha <sancha@codeaurora.org> | 2016-04-21 20:16:36 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-23 14:13:32 -0700 |
commit | 18ed683bd3b16c7a5e411500f48cfc9eeb2ea720 (patch) | |
tree | e9f1d40fc55cde9e16fbea612bc18240ba90f0ce /ipacm/inc/IPACM_Xml.h | |
parent | 8c5a6d96f8b756ceea2724ee905a28a5fa8d3479 (diff) | |
download | ipacfg-mgr-18ed683bd3b16c7a5e411500f48cfc9eeb2ea720.tar.gz |
ipacm: changes related to IP Passhthrough
In IP passthrough, WAN interface will be assigned a private ip
address. NAT rules related this IP need to be added to the HW
so that there will not be any exceptions. Give provision in
XML using which QCMAP indicates passthrough mode. Whenever
passthrough mode is enabled and the private ip matches with
wan ip, nat rules will be added to the HW.
Change-Id: I7e82b6f55391da20f5c5db9e00bc83508b7f8788
Diffstat (limited to 'ipacm/inc/IPACM_Xml.h')
-rw-r--r-- | ipacm/inc/IPACM_Xml.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Xml.h b/ipacm/inc/IPACM_Xml.h index f645ae1..64c00ed 100644 --- a/ipacm/inc/IPACM_Xml.h +++ b/ipacm/inc/IPACM_Xml.h @@ -178,6 +178,9 @@ if (!(a)) { \ #define IPACMNat_TAG "IPACMNAT" #define NAT_MaxEntries_TAG "MaxNatEntries" +#define IP_PassthroughFlag_TAG "IPPassthroughFlag" +#define IP_PassthroughMode_TAG "IPPassthroughMode" + /*--------------------------------------------------------------------------- IP protocol numbers - use in dss_socket() to identify protocols. Also contains the extension header types for IPv6. @@ -276,6 +279,7 @@ typedef struct _IPACM_conf_t bool router_mode_enable; bool odu_embms_enable; int num_wlan_guest_ap; + bool ip_passthrough_mode; } IPACM_conf_t; /* This function read IPACM XML configuration*/ |