Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Header.cpp156 struct ipa_ioc_del_hdr *pHeaderDescriptor = NULL; in DeleteHeaderHdl() local
168 pHeaderDescriptor = (struct ipa_ioc_del_hdr *)malloc(len); in DeleteHeaderHdl()
169 if (pHeaderDescriptor == NULL) in DeleteHeaderHdl()
175 memset(pHeaderDescriptor, 0, len); in DeleteHeaderHdl()
176 pHeaderDescriptor->commit = true; in DeleteHeaderHdl()
177 pHeaderDescriptor->num_hdls = NUM_HDLS; in DeleteHeaderHdl()
178 hd_rule_entry = &pHeaderDescriptor->hdl[0]; in DeleteHeaderHdl()
184 if ((false == DeleteHeader(pHeaderDescriptor)) || in DeleteHeaderHdl()
195 free(pHeaderDescriptor); in DeleteHeaderHdl()
DIPACM_Wlan.cpp1070 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wlan_client_init_ex() local
1090 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wlan_client_init_ex()
1091 if (pHeaderDescriptor == NULL) in handle_wlan_client_init_ex()
1129 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wlan_client_init_ex()
1143 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
1149 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset+IPA_MAC_ADDR_SIZE], in handle_wlan_client_init_ex()
1159 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
1168 pHeaderDescriptor->commit = true; in handle_wlan_client_init_ex()
1169 pHeaderDescriptor->num_hdrs = 1; in handle_wlan_client_init_ex()
1171 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wlan_client_init_ex()
[all …]
DIPACM_Lan.cpp1970 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_eth_hdr_init() local
2012 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_eth_hdr_init()
2013 if (pHeaderDescriptor == NULL) in handle_eth_hdr_init()
2048 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_eth_hdr_init()
2056 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_eth_hdr_init()
2063 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst+IPA_MAC_ADDR_SIZE], in handle_eth_hdr_init()
2069 pHeaderDescriptor->commit = true; in handle_eth_hdr_init()
2070 pHeaderDescriptor->num_hdrs = 1; in handle_eth_hdr_init()
2072 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_eth_hdr_init()
2073 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_eth_hdr_init()
[all …]
DIPACM_Wan.cpp6210 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wan_hdr_init() local
6254 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wan_hdr_init()
6255 if (pHeaderDescriptor == NULL) in handle_wan_hdr_init()
6290 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wan_hdr_init()
6302 memcpy(&pHeaderDescriptor->hdr[0].hdr[0], in handle_wan_hdr_init()
6307 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_wan_hdr_init()
6312 pHeaderDescriptor->commit = true; in handle_wan_hdr_init()
6313 pHeaderDescriptor->num_hdrs = 1; in handle_wan_hdr_init()
6315 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wan_hdr_init()
6316 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_wan_hdr_init()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Header.cpp156 struct ipa_ioc_del_hdr *pHeaderDescriptor = NULL; in DeleteHeaderHdl() local
168 pHeaderDescriptor = (struct ipa_ioc_del_hdr *)malloc(len); in DeleteHeaderHdl()
169 if (pHeaderDescriptor == NULL) in DeleteHeaderHdl()
175 memset(pHeaderDescriptor, 0, len); in DeleteHeaderHdl()
176 pHeaderDescriptor->commit = true; in DeleteHeaderHdl()
177 pHeaderDescriptor->num_hdls = NUM_HDLS; in DeleteHeaderHdl()
178 hd_rule_entry = &pHeaderDescriptor->hdl[0]; in DeleteHeaderHdl()
184 if ((false == DeleteHeader(pHeaderDescriptor)) || in DeleteHeaderHdl()
195 free(pHeaderDescriptor); in DeleteHeaderHdl()
DIPACM_Wlan.cpp914 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wlan_client_init_ex() local
934 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wlan_client_init_ex()
935 if (pHeaderDescriptor == NULL) in handle_wlan_client_init_ex()
973 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wlan_client_init_ex()
987 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
993 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset+IPA_MAC_ADDR_SIZE], in handle_wlan_client_init_ex()
1003 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
1012 pHeaderDescriptor->commit = true; in handle_wlan_client_init_ex()
1013 pHeaderDescriptor->num_hdrs = 1; in handle_wlan_client_init_ex()
1015 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wlan_client_init_ex()
[all …]
DIPACM_Lan.cpp1640 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_eth_hdr_init() local
1682 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_eth_hdr_init()
1683 if (pHeaderDescriptor == NULL) in handle_eth_hdr_init()
1718 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_eth_hdr_init()
1726 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_eth_hdr_init()
1733 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst+IPA_MAC_ADDR_SIZE], in handle_eth_hdr_init()
1739 pHeaderDescriptor->commit = true; in handle_eth_hdr_init()
1740 pHeaderDescriptor->num_hdrs = 1; in handle_eth_hdr_init()
1742 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_eth_hdr_init()
1743 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_eth_hdr_init()
[all …]
DIPACM_Wan.cpp5145 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wan_hdr_init() local
5186 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wan_hdr_init()
5187 if (pHeaderDescriptor == NULL) in handle_wan_hdr_init()
5222 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wan_hdr_init()
5234 memcpy(&pHeaderDescriptor->hdr[0].hdr[0], in handle_wan_hdr_init()
5239 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_wan_hdr_init()
5244 pHeaderDescriptor->commit = true; in handle_wan_hdr_init()
5245 pHeaderDescriptor->num_hdrs = 1; in handle_wan_hdr_init()
5247 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wan_hdr_init()
5248 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_wan_hdr_init()
[all …]