class PosixCalls

Defined at line 11 of file ../../src/connectivity/network/tools/sockscripter/main.cc

Bind all api abstractions to real posix calls.

Public Methods

int socket (int domain, int type, int protocol)

Defined at line 13 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int close (int fd)

Defined at line 26 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int setsockopt (int fd, int level, int optname, const void * optval, socklen_t optlen)

Defined at line 28 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int getsockopt (int fd, int level, int optname, void * optval, socklen_t * optlen)

Defined at line 32 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int bind (int fd, const struct sockaddr * addr, socklen_t len)

Defined at line 36 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int shutdown (int fd, int how)

Defined at line 40 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int connect (int fd, const struct sockaddr * addr, socklen_t len)

Defined at line 42 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int accept (int fd, struct sockaddr * addr, socklen_t * len)

Defined at line 46 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int listen (int fd, int backlog)

Defined at line 50 of file ../../src/connectivity/network/tools/sockscripter/main.cc

ssize_t send (int fd, const void * buf, size_t len, int flags)

Defined at line 52 of file ../../src/connectivity/network/tools/sockscripter/main.cc

ssize_t sendto (int fd, const void * buf, size_t buflen, int flags, const struct sockaddr * addr, socklen_t addrlen)

Defined at line 61 of file ../../src/connectivity/network/tools/sockscripter/main.cc

ssize_t recv (int fd, void * buf, size_t len, int flags)

Defined at line 72 of file ../../src/connectivity/network/tools/sockscripter/main.cc

ssize_t recvfrom (int fd, void * buf, size_t buflen, int flags, struct sockaddr * addr, socklen_t * addrlen)

Defined at line 76 of file ../../src/connectivity/network/tools/sockscripter/main.cc

ssize_t recvmsg (int fd, struct msghdr * msg, int flags)

Defined at line 81 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int getsockname (int fd, struct sockaddr * addr, socklen_t * len)

Defined at line 85 of file ../../src/connectivity/network/tools/sockscripter/main.cc

int getpeername (int fd, struct sockaddr * addr, socklen_t * len)

Defined at line 89 of file ../../src/connectivity/network/tools/sockscripter/main.cc

unsigned int if_nametoindex (const char * ifname)

Defined at line 93 of file ../../src/connectivity/network/tools/sockscripter/main.cc