/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiProto.c | 360 NET_BUF *Pdu; in IScsiSendLoginReq() local 366 Pdu = IScsiPrepareLoginReq (Conn); in IScsiSendLoginReq() 367 if (Pdu == NULL) { in IScsiSendLoginReq() 373 Status = Tcp4IoTransmit (&Conn->Tcp4Io, Pdu); in IScsiSendLoginReq() 375 NetbufFree (Pdu); in IScsiSendLoginReq() 394 NET_BUF *Pdu; in IScsiReceiveLoginRsp() local 396 Pdu = NULL; in IScsiReceiveLoginRsp() 401 Status = IScsiReceivePdu (Conn, &Pdu, NULL, FALSE, FALSE, NULL); in IScsiReceiveLoginRsp() 408 ASSERT (Pdu != NULL); in IScsiReceiveLoginRsp() 409 Status = IScsiProcessLoginRsp (Conn, Pdu); in IScsiReceiveLoginRsp() [all …]
|
D | IScsiCHAP.c | 316 IN OUT NET_BUF *Pdu in IScsiCHAPToSendReq() argument 334 LoginReq = (ISCSI_LOGIN_REQUEST *) NetbufGetByte (Pdu, 0, 0); in IScsiCHAPToSendReq() 358 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_INITIATOR_NAME, Session->InitiatorName); in IScsiCHAPToSendReq() 359 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_SESSION_TYPE, "Normal"); in IScsiCHAPToSendReq() 360 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_TARGET_NAME, Session->ConfigData.NvData.TargetName); in IScsiCHAPToSendReq() 369 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_AUTH_METHOD, Value); in IScsiCHAPToSendReq() 378 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_ALGORITHM, ValueStr); in IScsiCHAPToSendReq() 391 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_NAME, (CHAR8 *) &AuthData->AuthConfig.CHAPName); in IScsiCHAPToSendReq() 396 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_RESPONSE, Response); in IScsiCHAPToSendReq() 404 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_IDENTIFIER, ValueStr); in IScsiCHAPToSendReq() [all …]
|
D | IScsiCHAP.h | 103 IN OUT NET_BUF *Pdu
|
D | IScsiProto.h | 745 IN OUT NET_BUF *Pdu, 777 IN OUT NET_BUF *Pdu 834 OUT NET_BUF **Pdu, 866 IN OUT NET_BUF *Pdu 881 IN OUT NET_BUF *Pdu,
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiProto.c | 573 NET_BUF *Pdu; in IScsiSendLoginReq() local 579 Pdu = IScsiPrepareLoginReq (Conn); in IScsiSendLoginReq() 580 if (Pdu == NULL) { in IScsiSendLoginReq() 586 Status = TcpIoTransmit (&Conn->TcpIo, Pdu); in IScsiSendLoginReq() 588 NetbufFree (Pdu); in IScsiSendLoginReq() 609 NET_BUF *Pdu; in IScsiReceiveLoginRsp() local 611 Pdu = NULL; in IScsiReceiveLoginRsp() 616 Status = IScsiReceivePdu (Conn, &Pdu, NULL, FALSE, FALSE, NULL); in IScsiReceiveLoginRsp() 620 ASSERT (Pdu != NULL); in IScsiReceiveLoginRsp() 625 Status = IScsiProcessLoginRsp (Conn, Pdu); in IScsiReceiveLoginRsp() [all …]
|
D | IScsiCHAP.c | 358 IN OUT NET_BUF *Pdu in IScsiCHAPToSendReq() argument 376 LoginReq = (ISCSI_LOGIN_REQUEST *) NetbufGetByte (Pdu, 0, 0); in IScsiCHAPToSendReq() 401 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_INITIATOR_NAME, mPrivate->InitiatorName); in IScsiCHAPToSendReq() 402 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_SESSION_TYPE, "Normal"); in IScsiCHAPToSendReq() 404 Pdu, in IScsiCHAPToSendReq() 416 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_AUTH_METHOD, Value); in IScsiCHAPToSendReq() 425 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_ALGORITHM, ValueStr); in IScsiCHAPToSendReq() 438 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_NAME, (CHAR8 *) &AuthData->AuthConfig->CHAPName); in IScsiCHAPToSendReq() 443 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_RESPONSE, Response); in IScsiCHAPToSendReq() 451 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_CHAP_IDENTIFIER, ValueStr); in IScsiCHAPToSendReq() [all …]
|
D | IScsiCHAP.h | 105 IN OUT NET_BUF *Pdu
|
D | IScsiProto.h | 770 IN OUT NET_BUF *Pdu, 804 IN OUT NET_BUF *Pdu 864 OUT NET_BUF **Pdu, 896 IN OUT NET_BUF *Pdu 911 IN OUT NET_BUF *Pdu,
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
D | HttpsSupport.c | 833 OUT NET_BUF **Pdu, in TlsReceiveOnePdu() argument 934 *Pdu = NetbufFromBufList (NbufList, 0, 0, FreeNbufList, NbufList); in TlsReceiveOnePdu() 935 if (*Pdu == NULL) { in TlsReceiveOnePdu() 975 NET_BUF *Pdu; in TlsConnectSession() local 984 Pdu = NULL; in TlsConnectSession() 1064 Status = TlsReceiveOnePdu (HttpInstance, &Pdu, Timeout); in TlsConnectSession() 1069 BufferInSize = Pdu->TotalSize; in TlsConnectSession() 1072 NetbufFree (Pdu); in TlsConnectSession() 1077 NetbufCopy (Pdu, 0, (UINT32)BufferInSize, BufferIn); in TlsConnectSession() 1079 NetbufFree (Pdu); in TlsConnectSession() [all …]
|
D | HttpsSupport.h | 174 OUT NET_BUF **Pdu,
|