TianoCore EDK2 master
Loading...
Searching...
No Matches
SockImpl.h
Go to the documentation of this file.
1
10#ifndef _SOCK_IMPL_H_
11#define _SOCK_IMPL_H_
12
13#include "Socket.h"
14#include "TcpMain.h"
15
23#define SIGNAL_TOKEN(Token, TokenStatus) \
24 do { \
25 (Token)->Status = (TokenStatus); \
26 gBS->SignalEvent ((Token)->Event); \
27 } while (0)
28
29#define SOCK_HEADER_SPACE (60 + 60 + 72)
30
44 IN SOCKET *Sock,
45 IN VOID *TcpTxData
46 );
47
57UINT32
59 IN OUT SOCKET *Sock,
60 IN OUT SOCK_IO_TOKEN *RcvToken
61 );
62
69VOID
71 IN OUT SOCKET *Sock
72 );
73
88 IN OUT LIST_ENTRY *SpecifiedTokenList
89 );
90
99SOCKET *
101 IN SOCK_INIT_DATA *SockInitData
102 );
103
110VOID
112 IN OUT SOCKET *Sock
113 );
114
115#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS SockProcessTcpSndData(IN SOCKET *Sock, IN VOID *TcpTxData)
Definition: SockImpl.c:349
VOID SockDestroy(IN OUT SOCKET *Sock)
Definition: SockImpl.c:809
SOCKET * SockCreate(IN SOCK_INIT_DATA *SockInitData)
Definition: SockImpl.c:633
VOID SockConnFlush(IN OUT SOCKET *Sock)
Definition: SockImpl.c:857
UINT32 SockProcessRcvToken(IN OUT SOCKET *Sock, IN OUT SOCK_IO_TOKEN *RcvToken)
Definition: SockImpl.c:304
EFI_STATUS SockCancelToken(IN SOCK_COMPLETION_TOKEN *Token, IN OUT LIST_ENTRY *SpecifiedTokenList)
Definition: SockImpl.c:573
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29