Lines Matching defs:Sock

88   @param Sock               Pointer to the socket
91 #define SOCK_NO_MORE_DATA(Sock) ((Sock)->Flag |= SO_NO_MORE_DATA)
96 @param Sock Pointer to the socket
102 #define SOCK_IS_UNCONFIGURED(Sock) ((Sock)->ConfigureState == SO_UNCONFIGURED)
107 @param Sock Pointer to the socket
113 #define SOCK_IS_CONFIGURED(Sock) \
114 (((Sock)->ConfigureState == SO_CONFIGURED_ACTIVE) || \
115 ((Sock)->ConfigureState == SO_CONFIGURED_PASSIVE))
120 @param Sock Pointer to the socket
126 #define SOCK_IS_CONFIGURED_ACTIVE(Sock) \
127 ((Sock)->ConfigureState == SO_CONFIGURED_ACTIVE)
132 @param Sock Pointer to the socket
138 #define SOCK_IS_CONNECTED_PASSIVE(Sock) \
139 ((Sock)->ConfigureState == SO_CONFIGURED_PASSIVE)
144 @param Sock Pointer to the socket
150 #define SOCK_IS_NO_MAPPING(Sock) \
151 ((Sock)->ConfigureState == SO_NO_MAPPING)
156 @param Sock Pointer to the socket
162 #define SOCK_IS_CLOSED(Sock) ((Sock)->State == SO_CLOSED)
167 @param Sock Pointer to the socket
173 #define SOCK_IS_LISTENING(Sock) ((Sock)->State == SO_LISTENING)
178 @param Sock Pointer to the socket
184 #define SOCK_IS_CONNECTING(Sock) ((Sock)->State == SO_CONNECTING)
189 @param Sock Pointer to the socket
195 #define SOCK_IS_CONNECTED(Sock) ((Sock)->State == SO_CONNECTED)
200 @param Sock Pointer to the socket
206 #define SOCK_IS_DISCONNECTING(Sock) ((Sock)->State == SO_DISCONNECTING)
211 @param Sock Pointer to the socket
217 #define SOCK_IS_NO_MORE_DATA(Sock) (0 != ((Sock)->Flag & SO_NO_MORE_DATA))
222 @param Sock Pointer to the socket
226 #define SET_RCV_BUFFSIZE(Sock, Size) ((Sock)->RcvBuffer.HighWater = (Size))
231 @param Sock Pointer to the socket
236 #define GET_RCV_BUFFSIZE(Sock) ((Sock)->RcvBuffer.HighWater)
241 @param Sock Pointer to the socket
246 #define GET_RCV_DATASIZE(Sock) (((Sock)->RcvBuffer.DataQueue)->BufSize)
251 @param Sock Pointer to the socket
255 #define SET_SND_BUFFSIZE(Sock, Size) ((Sock)->SndBuffer.HighWater = (Size))
260 @param Sock Pointer to the socket
265 #define GET_SND_BUFFSIZE(Sock) ((Sock)->SndBuffer.HighWater)
270 @param Sock Pointer to the socket
275 #define GET_SND_DATASIZE(Sock) (((Sock)->SndBuffer.DataQueue)->BufSize)
280 @param Sock Pointer to the socket
284 #define SET_BACKLOG(Sock, Value) ((Sock)->BackLog = (Value))
289 @param Sock Pointer to the socket
294 #define GET_BACKLOG(Sock) ((Sock)->BackLog)
299 @param Sock Pointer to the socket
303 #define SOCK_ERROR(Sock, Error) ((Sock)->SockError = (Error))
305 #define SND_BUF_HDR_LEN(Sock) \
306 ((SockBufFirst (&((Sock)->SndBuffer)))->TotalSize)
308 #define RCV_BUF_HDR_LEN(Sock) \
309 ((SockBufFirst (&((Sock)->RcvBuffer)))->TotalSize)
315 #define SOCK_FROM_TOKEN(Token) (((SOCK_TOKEN *) (Token))->Sock)
411 @param Sock Pointer to the socket.
417 IN OUT SOCKET *Sock,
428 @param Sock Pointer to the socket associated with the
434 IN SOCKET *Sock
443 @param Sock Pointer to the socket associated with the closed
449 IN OUT SOCKET *Sock
458 @param Sock Pointer to the socket.
464 IN SOCKET *Sock,
473 @param Sock Pointer to the socket.
483 IN SOCKET *Sock,
496 @param Sock Pointer to the socket.
501 IN OUT SOCKET *Sock
510 @param Sock Pointer to the socket.
518 IN SOCKET *Sock,
526 @param Sock Pointer to the socket.
535 IN SOCKET *Sock,
542 @param Sock Pointer to the socket to be cloned.
549 IN SOCKET *Sock
556 @param Sock Pointer to the socket.
562 IN OUT SOCKET *Sock,
691 SOCKET *Sock; ///< The poninter to the socket this token
726 Destory the socket Sock and its associated protocol control block.
728 @param Sock The socket to be destroyed.
730 @retval EFI_SUCCESS The socket Sock is destroyed successfully.
736 IN SOCKET *Sock
740 Configure the specific socket Sock using configuration data ConfigData.
742 @param Sock Pointer to the socket to be configured.
752 IN SOCKET *Sock,
759 @param Sock Pointer to the socket to initiate the initate the
776 IN SOCKET *Sock,
784 @param Sock Pointer to the socket to accept connections.
801 IN SOCKET *Sock,
808 @param Sock Pointer to the socket to process the token with
825 IN SOCKET *Sock,
832 @param Sock Pointer to the socket to get data from.
850 IN SOCKET *Sock,
857 @param Sock Pointer to the socket to be flushed.
865 IN SOCKET *Sock
871 @param Sock Pointer to the socket of the connection to close or
889 IN SOCKET *Sock,
897 @param Sock Pointer to the socket to get mode data from.
907 IN SOCKET *Sock,
915 @param Sock Pointer to the socket of the connection to join the
926 IN SOCKET *Sock,
934 @param Sock Pointer to the socket associated with the IP route
947 IN SOCKET *Sock,