Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Config.cpp134 pNatIfaces = NULL; in IPACM_Config()
320 if (pNatIfaces != NULL) in Init()
322 free(pNatIfaces); in Init()
323 pNatIfaces = NULL; in Init()
327 pNatIfaces = (NatIfaces *)calloc(ipa_num_ipa_interfaces, sizeof(NatIfaces)); in Init()
328 if (pNatIfaces == NULL) in Init()
478 pNatIfaces[cnt].iface_name, in GetNatIfaces()
493 pNatIfaces[i].iface_name, in AddNatIfaces()
494 sizeof(pNatIfaces[i].iface_name)) == 0) in AddNatIfaces()
498 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/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_ConntrackListener.h86 NatIfaces *pNatIfaces; variable
DIPACM_Config.h100 NatIfaces *pNatIfaces; variable