Lines Matching defs:response

761 	u_int8_t *response = NULL;
764 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
765 if (response == NULL) {
768 cursor = response;
772 if (!(success = necp_send_ctl_data(session, (u_int8_t *)response, response_size))) {
773 NECPLOG0(LOG_ERR, "Failed to send response");
776 FREE(response, M_NECP);
784 u_int8_t *response = NULL;
787 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
788 if (response == NULL) {
791 cursor = response;
795 if (!(success = necp_send_ctl_data(session, (u_int8_t *)response, response_size))) {
796 NECPLOG0(LOG_ERR, "Failed to send response");
799 FREE(response, M_NECP);
807 u_int8_t *response = NULL;
810 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
811 if (response == NULL) {
814 cursor = response;
818 if (!(success = necp_send_ctl_data(session, (u_int8_t *)response, response_size))) {
819 NECPLOG0(LOG_ERR, "Failed to send response");
822 FREE(response, M_NECP);
1517 u_int8_t *response = NULL;
1545 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
1546 if (response == NULL) {
1551 cursor = response;
1562 if (!necp_send_ctl_data(session, (u_int8_t *)response, response_size)) {
1563 NECPLOG0(LOG_ERR, "Failed to send response");
1566 FREE(response, M_NECP);
1620 u_int8_t *response = NULL;
1632 // Create a response with one Policy ID TLV for each policy
1634 MALLOC(response, u_int8_t *, response_size, M_NECP, M_WAITOK);
1635 if (response == NULL) {
1640 cursor = response;
1650 if (!necp_send_ctl_data(session, (u_int8_t *)response, response_size)) {
1651 NECPLOG0(LOG_ERR, "Failed to send response");
1654 FREE(response, M_NECP);