Home
last modified time | relevance | path

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

/hardware/qcom/sdm845/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.cpp987 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wlan_client_init_ex() local
1007 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wlan_client_init_ex()
1008 if (pHeaderDescriptor == NULL) in handle_wlan_client_init_ex()
1046 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wlan_client_init_ex()
1060 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
1066 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset+IPA_MAC_ADDR_SIZE], in handle_wlan_client_init_ex()
1076 memcpy(&pHeaderDescriptor->hdr[0].hdr[data->attribs[i].offset], in handle_wlan_client_init_ex()
1085 pHeaderDescriptor->commit = true; in handle_wlan_client_init_ex()
1086 pHeaderDescriptor->num_hdrs = 1; in handle_wlan_client_init_ex()
1088 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wlan_client_init_ex()
[all …]
DIPACM_Lan.cpp1825 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_eth_hdr_init() local
1867 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_eth_hdr_init()
1868 if (pHeaderDescriptor == NULL) in handle_eth_hdr_init()
1903 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_eth_hdr_init()
1911 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_eth_hdr_init()
1918 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst+IPA_MAC_ADDR_SIZE], in handle_eth_hdr_init()
1924 pHeaderDescriptor->commit = true; in handle_eth_hdr_init()
1925 pHeaderDescriptor->num_hdrs = 1; in handle_eth_hdr_init()
1927 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_eth_hdr_init()
1928 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_eth_hdr_init()
[all …]
DIPACM_Wan.cpp5299 struct ipa_ioc_add_hdr *pHeaderDescriptor = NULL; in handle_wan_hdr_init() local
5340 pHeaderDescriptor = (struct ipa_ioc_add_hdr *)calloc(1, len); in handle_wan_hdr_init()
5341 if (pHeaderDescriptor == NULL) in handle_wan_hdr_init()
5376 memcpy(pHeaderDescriptor->hdr[0].hdr, in handle_wan_hdr_init()
5388 memcpy(&pHeaderDescriptor->hdr[0].hdr[0], in handle_wan_hdr_init()
5393 memcpy(&pHeaderDescriptor->hdr[0].hdr[sCopyHeader.eth2_ofst], in handle_wan_hdr_init()
5398 pHeaderDescriptor->commit = true; in handle_wan_hdr_init()
5399 pHeaderDescriptor->num_hdrs = 1; in handle_wan_hdr_init()
5401 memset(pHeaderDescriptor->hdr[0].name, 0, in handle_wan_hdr_init()
5402 sizeof(pHeaderDescriptor->hdr[0].name)); in handle_wan_hdr_init()
[all …]
/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 …]
/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 …]