• Home
  • Raw
  • Download

Lines Matching full:resp

176 	rndis_query_cmplt_type *resp;  in gen_ndis_query_resp()  local
182 resp = (rndis_query_cmplt_type *)r->buf; in gen_ndis_query_resp()
184 if (!resp) return -ENOMEM; in gen_ndis_query_resp()
198 outbuf = (__le32 *)&resp[1]; in gen_ndis_query_resp()
199 resp->InformationBufferOffset = cpu_to_le32(16); in gen_ndis_query_resp()
478 resp->InformationBufferLength = cpu_to_le32(length); in gen_ndis_query_resp()
479 r->length = length + sizeof(*resp); in gen_ndis_query_resp()
480 resp->MessageLength = cpu_to_le32(r->length); in gen_ndis_query_resp()
487 rndis_set_cmplt_type *resp; in gen_ndis_set_resp() local
492 resp = (rndis_set_cmplt_type *)r->buf; in gen_ndis_set_resp()
493 if (!resp) in gen_ndis_set_resp()
562 rndis_init_cmplt_type *resp; in rndis_init_response() local
571 resp = (rndis_init_cmplt_type *)r->buf; in rndis_init_response()
573 resp->MessageType = cpu_to_le32(RNDIS_MSG_INIT_C); in rndis_init_response()
574 resp->MessageLength = cpu_to_le32(52); in rndis_init_response()
575 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_init_response()
576 resp->Status = cpu_to_le32(RNDIS_STATUS_SUCCESS); in rndis_init_response()
577 resp->MajorVersion = cpu_to_le32(RNDIS_MAJOR_VERSION); in rndis_init_response()
578 resp->MinorVersion = cpu_to_le32(RNDIS_MINOR_VERSION); in rndis_init_response()
579 resp->DeviceFlags = cpu_to_le32(RNDIS_DF_CONNECTIONLESS); in rndis_init_response()
580 resp->Medium = cpu_to_le32(RNDIS_MEDIUM_802_3); in rndis_init_response()
581 resp->MaxPacketsPerTransfer = cpu_to_le32(1); in rndis_init_response()
582 resp->MaxTransferSize = cpu_to_le32( in rndis_init_response()
587 resp->PacketAlignmentFactor = cpu_to_le32(0); in rndis_init_response()
588 resp->AFListOffset = cpu_to_le32(0); in rndis_init_response()
589 resp->AFListSize = cpu_to_le32(0); in rndis_init_response()
598 rndis_query_cmplt_type *resp; in rndis_query_response() local
616 resp = (rndis_query_cmplt_type *)r->buf; in rndis_query_response()
618 resp->MessageType = cpu_to_le32(RNDIS_MSG_QUERY_C); in rndis_query_response()
619 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_query_response()
628 resp->Status = cpu_to_le32(RNDIS_STATUS_NOT_SUPPORTED); in rndis_query_response()
629 resp->MessageLength = cpu_to_le32(sizeof(*resp)); in rndis_query_response()
630 resp->InformationBufferLength = cpu_to_le32(0); in rndis_query_response()
631 resp->InformationBufferOffset = cpu_to_le32(0); in rndis_query_response()
640 resp->Status = cpu_to_le32(RNDIS_STATUS_NOT_SUPPORTED); in rndis_query_response()
641 resp->MessageLength = cpu_to_le32(sizeof *resp); in rndis_query_response()
642 resp->InformationBufferLength = cpu_to_le32(0); in rndis_query_response()
643 resp->InformationBufferOffset = cpu_to_le32(0); in rndis_query_response()
645 resp->Status = cpu_to_le32(RNDIS_STATUS_SUCCESS); in rndis_query_response()
655 rndis_set_cmplt_type *resp; in rndis_set_response() local
667 resp = (rndis_set_cmplt_type *)r->buf; in rndis_set_response()
681 resp->MessageType = cpu_to_le32(RNDIS_MSG_SET_C); in rndis_set_response()
682 resp->MessageLength = cpu_to_le32(16); in rndis_set_response()
683 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_set_response()
690 resp->Status = cpu_to_le32(RNDIS_STATUS_NOT_SUPPORTED); in rndis_set_response()
697 resp->Status = cpu_to_le32(RNDIS_STATUS_NOT_SUPPORTED); in rndis_set_response()
699 resp->Status = cpu_to_le32(RNDIS_STATUS_SUCCESS); in rndis_set_response()
708 rndis_reset_cmplt_type *resp; in rndis_reset_response() local
720 resp = (rndis_reset_cmplt_type *)r->buf; in rndis_reset_response()
722 resp->MessageType = cpu_to_le32(RNDIS_MSG_RESET_C); in rndis_reset_response()
723 resp->MessageLength = cpu_to_le32(16); in rndis_reset_response()
724 resp->Status = cpu_to_le32(RNDIS_STATUS_SUCCESS); in rndis_reset_response()
726 resp->AddressingReset = cpu_to_le32(1); in rndis_reset_response()
735 rndis_keepalive_cmplt_type *resp; in rndis_keepalive_response() local
743 resp = (rndis_keepalive_cmplt_type *)r->buf; in rndis_keepalive_response()
745 resp->MessageType = cpu_to_le32(RNDIS_MSG_KEEPALIVE_C); in rndis_keepalive_response()
746 resp->MessageLength = cpu_to_le32(16); in rndis_keepalive_response()
747 resp->RequestID = buf->RequestID; /* Still LE in msg buffer */ in rndis_keepalive_response()
748 resp->Status = cpu_to_le32(RNDIS_STATUS_SUCCESS); in rndis_keepalive_response()
760 rndis_indicate_status_msg_type *resp; in rndis_indicate_status_msg() local
769 resp = (rndis_indicate_status_msg_type *)r->buf; in rndis_indicate_status_msg()
771 resp->MessageType = cpu_to_le32(RNDIS_MSG_INDICATE); in rndis_indicate_status_msg()
772 resp->MessageLength = cpu_to_le32(20); in rndis_indicate_status_msg()
773 resp->Status = cpu_to_le32(status); in rndis_indicate_status_msg()
774 resp->StatusBufferLength = cpu_to_le32(0); in rndis_indicate_status_msg()
775 resp->StatusBufferOffset = cpu_to_le32(0); in rndis_indicate_status_msg()