GATE
gate_net_platform_socket_api_class Struct Reference

Public Member Functions

 sock_fd_t (SOCK_API *sock_socket)(int domain
 
 int (SOCK_API *sock_close)(sock_fd_t fd)
 
 int (SOCK_API *sock_connect)(sock_fd_t fd
 
 sock_fd_t (SOCK_API *sock_accept)(sock_fd_t fd
 
 int (SOCK_API *sock_bind)(sock_fd_t fd
 
 int (SOCK_API *sock_listen)(sock_fd_t fd
 
 sock_ssize_t (SOCK_API *sock_recv)(sock_fd_t fd
 
 sock_ssize_t (SOCK_API *sock_recvfrom)(sock_fd_t fd
 
 sock_ssize_t (SOCK_API *sock_send)(sock_fd_t fd
 
 sock_ssize_t (SOCK_API *sock_sendto)(sock_fd_t fd
 
 int (SOCK_API *sock_shutdown)(sock_fd_t fd
 
 int (SOCK_API *sock_getsockopt)(sock_fd_t fd
 
 int (SOCK_API *sock_setsockopt)(sock_fd_t fd
 
 int (SOCK_API *sock_getsockname)(sock_fd_t fd
 
 int (SOCK_API *sock_getpeername)(sock_fd_t fd
 
 int (SOCK_API *sock_ioctl)(sock_fd_t fd
 
 int (SOCK_API *sock_select)(int nfds
 
 int (SOCK_API *sock_isset)(sock_fd_t fd
 
 sock_ulong_t (SOCK_API *sock_htonl)(sock_ulong_t hostlong)
 
 sock_ushort_t (SOCK_API *sock_htons)(sock_ushort_t hostshort)
 
 sock_ulong_t (SOCK_API *sock_ntohl)(sock_ulong_t netlong)
 
 sock_ushort_t (SOCK_API *sock_ntohs)(sock_ushort_t netshort)
 
 int (SOCK_API *sock_errno)(void)
 
struct hostent *SOCK_API * sock_gethostbyname (const char *name)
 
 int (SOCK_API *sock_getaddrinfo)(const char *nodename
 
 void (SOCK_API *sock_freeaddrinfo)(struct addrinfo *ai)
 

Public Attributes

int type
 
int int protocol
 
const struct sockaddr * addr
 
const struct sockaddr sock_socklen_t addrlen
 
struct sockaddr * addr
 
struct sockaddr sock_socklen_t * addrlen
 
int backlog
 
void * buf
 
void size_t len
 
void size_t int flags
 
void size_t int struct sockaddr * src_addr
 
void size_t int struct sockaddr sock_socklen_t * addrlen
 
const void * buf
 
const void size_t len
 
const void size_t int flags
 
const void size_t int const struct sockaddr * dest_addr
 
const void size_t int const struct sockaddr sock_socklen_t addrlen
 
int how
 
int level
 
int int optname
 
int int void * optval
 
int int void sock_socklen_t * optlen
 
int int const void * optval
 
int int const void sock_socklen_t optlen
 
unsigned long request
 
unsigned long void * argp
 
fd_set * readfds
 
fd_set fd_set * writefds
 
fd_set fd_set fd_set * exceptfds
 
fd_set fd_set fd_set sock_timeval_t * timeout
 
fd_set * set
 
const char * servname
 
const char const struct addrinfo * hints
 
const char const struct addrinfo struct addrinfo ** res
 

The documentation for this struct was generated from the following file: