Lines Matching full:pdu
410 sdp_pdu_p pdu = (sdp_pdu_p) srv->req; in server_process_request() local
437 if (len >= sizeof(*pdu) && in server_process_request()
438 sizeof(*pdu) + (pdu->len = ntohs(pdu->len)) == len) { in server_process_request()
439 switch (pdu->pid) { in server_process_request()
472 switch (pdu->pid) { in server_process_request()
504 "pdu->pid=%d, pdu->tid=%d, error=%d", in server_process_request()
506 pdu->pid, ntohs(pdu->tid), error); in server_process_request()
509 "pdu->pid=%d, pdu->tid=%d, pdu->len=%d, len=%d, " \ in server_process_request()
512 pdu->pid, ntohs(pdu->tid), pdu->len, len, error); in server_process_request()
517 "socket, pdu->pid=%d, pdu->tid=%d, error=%d", in server_process_request()
519 pdu->pid, ntohs(pdu->tid), error); in server_process_request()
533 * Send SDP_Error_Response PDU
542 sdp_pdu_t pdu; in server_send_error_response() member
547 rsp.pdu.pid = SDP_PDU_ERROR_RESPONSE; in server_send_error_response()
548 rsp.pdu.tid = ((sdp_pdu_p)(srv->req))->tid; in server_send_error_response()
549 rsp.pdu.len = htons(sizeof(rsp.error)); in server_send_error_response()