Home
last modified time | relevance | path

Searched refs:ip_addr (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Config.h257 inline bool isPrivateSubnet(uint32_t ip_addr) in isPrivateSubnet() argument
262 (private_subnet_table[cnt].subnet_mask & ip_addr)) in isPrivateSubnet()
271 inline bool AddPrivateSubnet(uint32_t ip_addr, int ipa_if_index) in AddPrivateSubnet() argument
278 if(private_subnet_table[cnt].subnet_addr == ip_addr) in AddPrivateSubnet()
280 IPACMDBG("Already has private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in AddPrivateSubnet()
287 …IPACMDBG("Add IPACM private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, ipa_num_private_subnet… in AddPrivateSubnet()
288 private_subnet_table[ipa_num_private_subnet].subnet_addr = ip_addr; in AddPrivateSubnet()
311 inline bool DelPrivateSubnet(uint32_t ip_addr, int ipa_if_index) in DelPrivateSubnet() argument
317 if(private_subnet_table[cnt].subnet_addr == ip_addr) in DelPrivateSubnet()
319 IPACMDBG("Found private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in DelPrivateSubnet()
[all …]
DIPACM_Netlink.h129 struct sockaddr_storage ip_addr; member
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Config.h270 inline bool isPrivateSubnet(uint32_t ip_addr) in isPrivateSubnet() argument
275 (private_subnet_table[cnt].subnet_mask & ip_addr)) in isPrivateSubnet()
284 inline bool AddPrivateSubnet(uint32_t ip_addr, int ipa_if_index) in AddPrivateSubnet() argument
291 if(private_subnet_table[cnt].subnet_addr == ip_addr) in AddPrivateSubnet()
293 IPACMDBG("Already has private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in AddPrivateSubnet()
300 …IPACMDBG("Add IPACM private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, ipa_num_private_subnet… in AddPrivateSubnet()
301 private_subnet_table[ipa_num_private_subnet].subnet_addr = ip_addr; in AddPrivateSubnet()
324 inline bool DelPrivateSubnet(uint32_t ip_addr, int ipa_if_index) in DelPrivateSubnet() argument
330 if(private_subnet_table[cnt].subnet_addr == ip_addr) in DelPrivateSubnet()
332 IPACMDBG("Found private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in DelPrivateSubnet()
[all …]
DIPACM_Netlink.h130 struct sockaddr_storage ip_addr; member
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Conntrack_NATApp.cpp584 bool NatApp::isPwrSaveIf(uint32_t ip_addr) in isPwrSaveIf() argument
591 ip_addr == PwrSaveIfs[cnt]) in isPwrSaveIf()
796 void NatApp::FlushTempEntries(uint32_t ip_addr, bool isAdd, in FlushTempEntries() argument
803 iptodot("IP Address: ", ip_addr); in FlushTempEntries()
807 if(temp[cnt].private_ip == ip_addr || in FlushTempEntries()
808 temp[cnt].target_ip == ip_addr) in FlushTempEntries()
837 int NatApp::DelEntriesOnClntDiscon(uint32_t ip_addr) in DelEntriesOnClntDiscon() argument
840 IPACMDBG_H("Received IP address: 0x%x\n", ip_addr); in DelEntriesOnClntDiscon()
842 if(ip_addr == INVALID_IP_ADDR) in DelEntriesOnClntDiscon()
850 if(PwrSaveIfs[cnt] == ip_addr) in DelEntriesOnClntDiscon()
[all …]
DIPACM_Netlink.cpp95 #define IPACM_LOG_IPV6_ADDR(prefix, ip_addr) \ argument
98 … (int)ip_addr[0], (int)ip_addr[1], \
99 … (int)ip_addr[2], (int)ip_addr[3], \
100 … (int)ip_addr[4], (int)ip_addr[5], \
101 … (int)ip_addr[6], (int)ip_addr[7], \
102 … (int)ip_addr[8], (int)ip_addr[9], \
103 … (int)ip_addr[10], (int)ip_addr[11], \
104 … (int)ip_addr[12], (int)ip_addr[13], \
105 (int)ip_addr[14], (int)ip_addr[15]);
107 #define IPACM_LOG_IPV4_ADDR(prefix, ip_addr) \ argument
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Conntrack_NATApp.cpp614 bool NatApp::isPwrSaveIf(uint32_t ip_addr) in isPwrSaveIf() argument
621 ip_addr == PwrSaveIfs[cnt]) in isPwrSaveIf()
826 void NatApp::FlushTempEntries(uint32_t ip_addr, bool isAdd, in FlushTempEntries() argument
833 iptodot("IP Address: ", ip_addr); in FlushTempEntries()
837 if(temp[cnt].private_ip == ip_addr || in FlushTempEntries()
838 temp[cnt].target_ip == ip_addr) in FlushTempEntries()
867 int NatApp::DelEntriesOnClntDiscon(uint32_t ip_addr) in DelEntriesOnClntDiscon() argument
870 IPACMDBG_H("Received IP address: 0x%x\n", ip_addr); in DelEntriesOnClntDiscon()
872 if(ip_addr == INVALID_IP_ADDR) in DelEntriesOnClntDiscon()
880 if(PwrSaveIfs[cnt] == ip_addr) in DelEntriesOnClntDiscon()
[all …]
DIPACM_Netlink.cpp95 #define IPACM_LOG_IPV6_ADDR(prefix, ip_addr) \ argument
98 … (int)ip_addr[0], (int)ip_addr[1], \
99 … (int)ip_addr[2], (int)ip_addr[3], \
100 … (int)ip_addr[4], (int)ip_addr[5], \
101 … (int)ip_addr[6], (int)ip_addr[7], \
102 … (int)ip_addr[8], (int)ip_addr[9], \
103 … (int)ip_addr[10], (int)ip_addr[11], \
104 … (int)ip_addr[12], (int)ip_addr[13], \
105 (int)ip_addr[14], (int)ip_addr[15]);
107 #define IPACM_LOG_IPV4_ADDR(prefix, ip_addr) \ argument
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp95 #define IPACM_LOG_IPV6_ADDR(prefix, ip_addr) \ argument
98 … (int)ip_addr[0], (int)ip_addr[1], \
99 … (int)ip_addr[2], (int)ip_addr[3], \
100 … (int)ip_addr[4], (int)ip_addr[5], \
101 … (int)ip_addr[6], (int)ip_addr[7], \
102 … (int)ip_addr[8], (int)ip_addr[9], \
103 … (int)ip_addr[10], (int)ip_addr[11], \
104 … (int)ip_addr[12], (int)ip_addr[13], \
105 (int)ip_addr[14], (int)ip_addr[15]);
107 #define IPACM_LOG_IPV4_ADDR(prefix, ip_addr) \ argument
[all …]
DIPACM_Conntrack_NATApp.cpp824 bool NatApp::isPwrSaveIf(uint32_t ip_addr) in isPwrSaveIf() argument
831 ip_addr == PwrSaveIfs[cnt]) in isPwrSaveIf()
1067 void NatApp::FlushTempEntries(uint32_t ip_addr, bool isAdd, in FlushTempEntries() argument
1074 iptodot("IP Address: ", ip_addr); in FlushTempEntries()
1078 if(temp[cnt].private_ip == ip_addr || in FlushTempEntries()
1079 temp[cnt].target_ip == ip_addr) in FlushTempEntries()
1108 int NatApp::DelEntriesOnClntDiscon(uint32_t ip_addr) in DelEntriesOnClntDiscon() argument
1111 IPACMDBG_H("Received IP address: 0x%x\n", ip_addr); in DelEntriesOnClntDiscon()
1113 if(ip_addr == INVALID_IP_ADDR) in DelEntriesOnClntDiscon()
1121 if(PwrSaveIfs[cnt] == ip_addr) in DelEntriesOnClntDiscon()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Netlink.h130 struct sockaddr_storage ip_addr; member
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c885 cmd.ip_addr = ipv4_nat_cache.ip4_tbl[tbl_index].public_addr; in ipa_nati_post_ipv4_init_cmd()
2235 uint32_t ip_addr; in ipa_nati_print_rule() local
2238 ip_addr = sw_rule.target_ip; in ipa_nati_print_rule()
2240 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2241 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
2245 ip_addr = sw_rule.private_ip; in ipa_nati_print_rule()
2247 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2248 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c939 cmd.ip_addr = ipv4_nat_cache.ip4_tbl[tbl_index].public_addr; in ipa_nati_post_ipv4_init_cmd()
2323 uint32_t ip_addr; in ipa_nati_print_rule() local
2326 ip_addr = sw_rule.target_ip; in ipa_nati_print_rule()
2328 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2329 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
2333 ip_addr = sw_rule.private_ip; in ipa_nati_print_rule()
2335 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2336 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c940 cmd.ip_addr = ipv4_nat_cache.ip4_tbl[tbl_index].public_addr; in ipa_nati_post_ipv4_init_cmd()
2324 uint32_t ip_addr; in ipa_nati_print_rule() local
2327 ip_addr = sw_rule.target_ip; in ipa_nati_print_rule()
2329 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2330 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
2334 ip_addr = sw_rule.private_ip; in ipa_nati_print_rule()
2336 ((ip_addr & 0xFF000000) >> 24), ((ip_addr & 0x00FF0000) >> 16), in ipa_nati_print_rule()
2337 ((ip_addr & 0x0000FF00) >> 8), ((ip_addr & 0x000000FF))); in ipa_nati_print_rule()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c552 int tunning_server_socket_listen(const char* ip_addr, uint16_t port) in tunning_server_socket_listen() argument
563 server_addr.addr_in.sin_addr.s_addr = inet_addr(ip_addr); in tunning_server_socket_listen()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h1298 uint32_t ip_addr; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h770 uint32_t ip_addr; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_ipa.h786 uint32_t ip_addr; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_ipa.h1318 uint32_t ip_addr; member