diff options
author | Ravi Gummadidala <rgummadi@codeaurora.org> | 2013-03-15 19:00:19 -0700 |
---|---|---|
committer | Ravi Gummadidala <rgummadi@codeaurora.org> | 2013-03-15 21:00:42 -0700 |
commit | 5a9a114dd5210e15da3ea9c023b2878a657b11ea (patch) | |
tree | 69059280a0cb05c05877802d6353a403445e057b /ipacm/inc/IPACM_Iface.h | |
parent | c1e7bcabb3bf397389eaf5f19c4c63e55480eaf6 (diff) | |
download | ipacfg-mgr-5a9a114dd5210e15da3ea9c023b2878a657b11ea.tar.gz |
Various fixes from bringup:
1. Fix all iface v6-address issue, adding error-checking
2. Fix wan-iface default filtering rule order for both v4v6
3. Add 2 v6 routing table: COMRTBLv6 and WANRTBLv6
4. For ipv6 work-around way, if can't find wifi-client for v6, send to A5
5. For v6 backhaul iface rx endpoint, default route is send to A5
Change-Id: I488107f91568f9e1c8ab3270ce885830b05adb0e
Diffstat (limited to 'ipacm/inc/IPACM_Iface.h')
-rw-r--r-- | ipacm/inc/IPACM_Iface.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ipacm/inc/IPACM_Iface.h b/ipacm/inc/IPACM_Iface.h index 36610a1..3ba0652 100644 --- a/ipacm/inc/IPACM_Iface.h +++ b/ipacm/inc/IPACM_Iface.h @@ -79,17 +79,21 @@ public: /* IPACM interface iptype v4, v6 or both */ ipa_ip_type ip_type; + /* IPACM interface v6 ip-address*/ + uint32_t ipv6_addr[MAX_DEFAULT_v6_ROUTE_RULES][4]; + uint32_t header_hdl; uint32_t software_routing_fl_rule_hdl[MAX_SOFTWAREROUTING_FILTERTING_RULES]; bool softwarerouting_act; - int num_dft_rt; + /* IPACM number of default route rules for ipv6*/ + int num_dft_rt_v6; uint32_t dft_v4fl_rule_hdl[IPV4_DEFAULT_FILTERTING_RULES]; uint32_t dft_v6fl_rule_hdl[IPV6_DEFAULT_FILTERTING_RULES + IPV6_DEFAULT_LAN_FILTERTING_RULES]; - uint32_t dft_rt_rule_hdl[MAX_DEFAULT_v4_ROUTE_RULES+MAX_DEFAULT_v6_ROUTE_RULES]; + uint32_t dft_rt_rule_hdl[MAX_DEFAULT_v4_ROUTE_RULES+2*MAX_DEFAULT_v6_ROUTE_RULES]; // create additional one set of v6 RT-rules ipa_ioc_query_intf *iface_query; ipa_ioc_query_intf_tx_props *tx_prop; |