Home | History | Annotate | Download | only in TcpDxe

Lines Matching refs:Token

21   @param[in]  List             Pointer to the token list to be searched.

44 if (Event == SockToken->Token->Event) {
92 Buffer a token into the specific list of the socket Sock.
95 @param[in] List Pointer to the list to store the token.
96 @param[in] Token Pointer to the token to be buffered.
97 @param[in] DataLen The data length of the buffer contained in Token.
99 @return Pointer to the token that wraps Token. If NULL, an error condition occurred.
106 IN VOID *Token,
124 SockToken->Token = (SOCK_COMPLETION_TOKEN *) Token;
315 @param[in] Token Pointer to the token used for the connection
321 be an active one, or the token is already in one of
331 IN VOID *Token
366 Event = ((SOCK_COMPLETION_TOKEN *) Token)->Event;
374 Sock->ConnectionToken = (SOCK_COMPLETION_TOKEN *) Token;
384 Issue a listen token to get an existed connected network instance
388 @param[in] Token The token to accept a connection.
390 @retval EFI_SUCCESS Either a connection is accpeted or the Token is
394 be a passive one, or the token is already in one of
399 @retval EFI_OUT_OF_RESOURCE Failed to buffer the Token due to memory limits.
405 IN VOID *Token
445 Event = ((SOCK_COMPLETION_TOKEN *) Token)->Event;
453 ListenToken = (EFI_TCP4_LISTEN_TOKEN *) Token;
484 // Buffer this token for latter incoming connection request
486 if (NULL == SockBufferToken (Sock, &(Sock->ListenTokenList), Token, 0)) {
498 Issue a token with data to the socket to send out.
500 @param[in] Sock Pointer to the socket to process the token with
502 @param[in] Token The token with data that needs to send out.
504 @retval EFI_SUCCESS The token processed successfully.
507 synchronized state , or the token is already in one
512 @retval EFI_OUT_OF_RESOURCE Failed to buffer the token due to memory limits.
518 IN VOID *Token
548 SndToken = (SOCK_IO_TOKEN *) Token;
563 // check if a token is already in the token buffer
565 Event = SndToken->Token.Event;
575 // process this sending token now or buffer it only?
603 "SockSend: Failed to buffer IO token into socket processing SndToken List\n",
631 Issue a token to get data from the socket.
634 @param[in] Token The token to store the received data from the
637 @retval EFI_SUCCESS The token processed successfully.
640 synchronized state , or the token is already in one
646 @retval EFI_OUT_OF_RESOURCE Failed to buffer the token due to memory limit.
652 IN VOID *Token
692 RcvToken = (SOCK_IO_TOKEN *) Token;
695 // check if a token is already in the token buffer of this socket
697 Event = RcvToken->Token.Event;
703 RcvToken = (SOCK_IO_TOKEN *) Token;
711 SIGNAL_TOKEN (&(RcvToken->Token), Sock->SockError);
806 @param[in] Token The token for a close operation.
813 synchronized state , or the token is already in one
823 IN VOID *Token,
858 Event = ((SOCK_COMPLETION_TOKEN *) Token)->Event;
865 Sock->CloseToken = Token;
883 @param[in] Token Pointer to a token that has been issued by
894 IN VOID *Token
922 if (Token == NULL || (SOCK_COMPLETION_TOKEN *) Token == Sock->ConnectionToken) {
928 if (Token != NULL) {
937 Status = SockCancelToken (Token, &Sock->ListenTokenList);
938 if (Token != NULL && !EFI_ERROR (Status)) {
945 Status = SockCancelToken (Token, &Sock->RcvTokenList);
946 if (Token != NULL && !EFI_ERROR (Status)) {
953 Status = SockCancelToken (Token, &Sock->SndTokenList);
954 if (Token != NULL && !EFI_ERROR (Status)) {
961 Status = SockCancelToken (Token, &Sock->ProcessingSndTokenList);