Lines Matching defs:Sock

106   @param[in] Sock            Pointer to the socket
109 #define SOCK_NO_MORE_DATA(Sock) ((Sock)->Flag |= SO_NO_MORE_DATA)
114 @param[in] Sock Pointer to the socket.
120 #define SOCK_IS_UNCONFIGURED(Sock) ((Sock)->ConfigureState == SO_UNCONFIGURED)
125 @param[in] Sock Pointer to the socket
131 #define SOCK_IS_CONFIGURED(Sock) \
132 (((Sock)->ConfigureState == SO_CONFIGURED_ACTIVE) || \
133 ((Sock)->ConfigureState == SO_CONFIGURED_PASSIVE))
138 @param[in] Sock Pointer to the socket.
144 #define SOCK_IS_CONFIGURED_ACTIVE(Sock) ((Sock)->ConfigureState == SO_CONFIGURED_ACTIVE)
149 @param[in] Sock Pointer to the socket.
155 #define SOCK_IS_CONNECTED_PASSIVE(Sock) ((Sock)->ConfigureState == SO_CONFIGURED_PASSIVE)
160 @param[in] Sock Pointer to the socket.
166 #define SOCK_IS_NO_MAPPING(Sock) ((Sock)->ConfigureState == SO_NO_MAPPING)
171 @param[in] Sock Pointer to the socket.
177 #define SOCK_IS_CLOSED(Sock) ((Sock)->State == SO_CLOSED)
182 @param[in] Sock Pointer to the socket.
188 #define SOCK_IS_LISTENING(Sock) ((Sock)->State == SO_LISTENING)
193 @param[in] Sock Pointer to the socket.
199 #define SOCK_IS_CONNECTING(Sock) ((Sock)->State == SO_CONNECTING)
204 @param[in] Sock Pointer to the socket.
210 #define SOCK_IS_CONNECTED(Sock) ((Sock)->State == SO_CONNECTED)
215 @param[in] Sock Pointer to the socket.
221 #define SOCK_IS_DISCONNECTING(Sock) ((Sock)->State == SO_DISCONNECTING)
226 @param[in] Sock Pointer to the socket.
232 #define SOCK_IS_NO_MORE_DATA(Sock) (0 != ((Sock)->Flag & SO_NO_MORE_DATA))
237 @param[in] Sock Pointer to the socket.
241 #define SET_RCV_BUFFSIZE(Sock, Size) ((Sock)->RcvBuffer.HighWater = (Size))
246 @param[in] Sock Pointer to the socket.
251 #define GET_RCV_BUFFSIZE(Sock) ((Sock)->RcvBuffer.HighWater)
256 @param[in] Sock Pointer to the socket.
261 #define GET_RCV_DATASIZE(Sock) (((Sock)->RcvBuffer.DataQueue)->BufSize)
266 @param[in] Sock Pointer to the socket.
270 #define SET_SND_BUFFSIZE(Sock, Size) ((Sock)->SndBuffer.HighWater = (Size))
275 @param[in] Sock Pointer to the socket.
280 #define GET_SND_BUFFSIZE(Sock) ((Sock)->SndBuffer.HighWater)
285 @param[in] Sock Pointer to the socket.
290 #define GET_SND_DATASIZE(Sock) (((Sock)->SndBuffer.DataQueue)->BufSize)
295 @param[in] Sock Pointer to the socket.
299 #define SET_BACKLOG(Sock, Value) ((Sock)->BackLog = (Value))
304 @param[in] Sock Pointer to the socket.
309 #define GET_BACKLOG(Sock) ((Sock)->BackLog)
314 @param[in] Sock Pointer to the socket.
318 #define SOCK_ERROR(Sock, Error) ((Sock)->SockError = (Error))
324 #define SOCK_FROM_TOKEN(Token) (((SOCK_TOKEN *) (Token))->Sock)
521 SOCKET *Sock; ///< The poninter to the socket this token
539 @param[in, out] Sock Pointer to the socket.
545 IN OUT SOCKET *Sock,
552 @param[in] Sock Pointer to the socket to be cloned.
559 IN SOCKET *Sock
569 @param[in, out] Sock Pointer to the socket associated with the
575 IN OUT SOCKET *Sock
584 @param[in, out] Sock Pointer to the socket associated with the closed
590 IN OUT SOCKET *Sock
599 @param[in, out] Sock Pointer to the socket.
605 IN OUT SOCKET *Sock,
614 @param[in] Sock Pointer to the socket.
624 IN SOCKET *Sock,
636 @param[in, out] Sock Pointer to the socket.
643 IN OUT SOCKET *Sock,
651 @param[in] Sock Pointer to the socket.
660 IN SOCKET *Sock,
671 @param[in, out] Sock Pointer to the socket.
676 IN OUT SOCKET *Sock
699 Destory the socket Sock and its associated protocol control block.
701 @param[in, out] Sock The socket to be destroyed.
703 @retval EFI_SUCCESS The socket Sock was destroyed successfully.
709 IN OUT SOCKET *Sock
713 Configure the specific socket Sock using configuration data ConfigData.
715 @param[in] Sock Pointer to the socket to be configured.
725 IN SOCKET *Sock,
732 @param[in] Sock Pointer to the socket to initiate the initate the
749 IN SOCKET *Sock,
757 @param[in] Sock Pointer to the socket to accept connections.
774 IN SOCKET *Sock,
781 @param[in] Sock Pointer to the socket to process the token with
798 IN SOCKET *Sock,
805 @param[in] Sock Pointer to the socket to get data from.
823 IN SOCKET *Sock,
830 @param[in, out] Sock Pointer to the socket to be flushed.
838 IN OUT SOCKET *Sock
844 @param[in, out] Sock Pointer to the socket of the connection to close
862 IN OUT SOCKET *Sock,
870 @param[in] Sock Pointer to the socket to get mode data from.
880 IN SOCKET *Sock,
888 @param[in] Sock Pointer to the socket of the connection to join the
899 IN SOCKET *Sock,
907 @param[in] Sock Pointer to the socket associated with the IP route
920 IN SOCKET *Sock,