Home
last modified time | relevance | path

Searched refs:pNatIfaces (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Config.cpp126 pNatIfaces = NULL; in IPACM_Config()
305 if (pNatIfaces != NULL) in Init()
307 free(pNatIfaces); in Init()
308 pNatIfaces = NULL; in Init()
312 pNatIfaces = (NatIfaces *)calloc(ipa_num_ipa_interfaces, sizeof(NatIfaces)); in Init()
313 if (pNatIfaces == NULL) in Init()
463 pNatIfaces[cnt].iface_name, in GetNatIfaces()
478 pNatIfaces[i].iface_name, in AddNatIfaces()
479 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
483 pNatIfaces[i].v4_up = true; in AddNatIfaces()
[all …]
DIPACM_ConntrackListener.cpp50 pNatIfaces = NULL; in IPACM_ConntrackListener()
171 if (pNatIfaces != NULL) in CheckNatIface()
173 free(pNatIfaces); in CheckNatIface()
174 pNatIfaces = NULL; in CheckNatIface()
178 pNatIfaces = (NatIfaces *)malloc(len); in CheckNatIface()
179 if (pNatIfaces == NULL) in CheckNatIface()
185 memset(pNatIfaces, 0, len); in CheckNatIface()
186 if (pConfig->GetNatIfaces(NatIfaceCnt, pNatIfaces) != 0) in CheckNatIface()
212 pNatIfaces[i].iface_name, in CheckNatIface()
213 sizeof(pNatIfaces[i].iface_name)) == 0) in CheckNatIface()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Config.cpp134 pNatIfaces = NULL; in IPACM_Config()
317 if (pNatIfaces != NULL) in Init()
319 free(pNatIfaces); in Init()
320 pNatIfaces = NULL; in Init()
324 pNatIfaces = (NatIfaces *)calloc(ipa_num_ipa_interfaces, sizeof(NatIfaces)); in Init()
325 if (pNatIfaces == NULL) in Init()
475 pNatIfaces[cnt].iface_name, in GetNatIfaces()
490 pNatIfaces[i].iface_name, in AddNatIfaces()
491 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
495 pNatIfaces[i].v4_up = true; in AddNatIfaces()
[all …]
DIPACM_ConntrackListener.cpp52 pNatIfaces = NULL; in IPACM_ConntrackListener()
183 if (pNatIfaces != NULL) in CheckNatIface()
185 free(pNatIfaces); in CheckNatIface()
186 pNatIfaces = NULL; in CheckNatIface()
190 pNatIfaces = (NatIfaces *)malloc(len); in CheckNatIface()
191 if (pNatIfaces == NULL) in CheckNatIface()
197 memset(pNatIfaces, 0, len); in CheckNatIface()
198 if (pConfig->GetNatIfaces(NatIfaceCnt, pNatIfaces) != 0) in CheckNatIface()
224 pNatIfaces[i].iface_name, in CheckNatIface()
225 sizeof(pNatIfaces[i].iface_name)) == 0) in CheckNatIface()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Config.cpp117 pNatIfaces = NULL; in IPACM_Config()
296 if (pNatIfaces != NULL) in Init()
298 free(pNatIfaces); in Init()
299 pNatIfaces = NULL; in Init()
303 pNatIfaces = (NatIfaces *)calloc(ipa_num_ipa_interfaces, sizeof(NatIfaces)); in Init()
304 if (pNatIfaces == NULL) in Init()
454 pNatIfaces[cnt].iface_name, in GetNatIfaces()
469 pNatIfaces[i].iface_name, in AddNatIfaces()
470 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
483 strlcpy(pNatIfaces[ipa_nat_iface_entries - 1].iface_name, in AddNatIfaces()
[all …]
DIPACM_ConntrackListener.cpp50 pNatIfaces = NULL; in IPACM_ConntrackListener()
171 if (pNatIfaces != NULL) in CheckNatIface()
173 free(pNatIfaces); in CheckNatIface()
174 pNatIfaces = NULL; in CheckNatIface()
178 pNatIfaces = (NatIfaces *)malloc(len); in CheckNatIface()
179 if (pNatIfaces == NULL) in CheckNatIface()
185 memset(pNatIfaces, 0, len); in CheckNatIface()
186 if (pConfig->GetNatIfaces(NatIfaceCnt, pNatIfaces) != 0) in CheckNatIface()
212 pNatIfaces[i].iface_name, in CheckNatIface()
213 sizeof(pNatIfaces[i].iface_name)) == 0) in CheckNatIface()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_ConntrackListener.h75 NatIfaces *pNatIfaces; variable
DIPACM_Config.h98 NatIfaces *pNatIfaces; variable
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_ConntrackListener.h75 NatIfaces *pNatIfaces; variable
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_ConntrackListener.h83 NatIfaces *pNatIfaces; variable
DIPACM_Config.h100 NatIfaces *pNatIfaces; variable