Searched refs:nreg (Results 1 – 1 of 1) sorted by relevance
1190 wifihal_mon_sock_t *reg, *nreg; in register_monitor_sock() local1318 nreg = (wifihal_mon_sock_t *)malloc(sizeof(*reg) + match_len); in register_monitor_sock()1319 if (!nreg) in register_monitor_sock()1322 memset((char *)nreg, 0, sizeof(*reg) + match_len); in register_monitor_sock()1323 nreg->family_name = ctrl_msg->family_name; in register_monitor_sock()1324 nreg->cmd_id = ctrl_msg->cmd_id; in register_monitor_sock()1325 nreg->monsock_len = ctrl_msg->monsock_len; in register_monitor_sock()1326 memcpy((char *)&nreg->monsock, (char *)&ctrl_msg->monsock, ctrl_msg->monsock_len); in register_monitor_sock()1330 nreg->match_len = match_len; in register_monitor_sock()1331 memcpy(nreg->match, match, match_len); in register_monitor_sock()[all …]