![]() |
![]() |
|
Network Services API
2.30.00.10
|
#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | SlNetSock_InAddr_t |
| Internet address. More... | |
| struct | SlNetSock_In6Addr_t |
| IpV6 or Ipv6 EUI64. More... | |
| struct | SlNetSock_Keepalive_t |
| The SlNetSock_Keepalive_t structure is used in SLNETSOCK_OPSOCK_KEEPALIVE socket level option. More... | |
| struct | SlNetSock_NonIpBoundary_t |
| The SlNetSock_NonIpBoundary_t structure is used in SLNETSOCK_OPSOCK_NON_IP_BOUNDARY socket level option. More... | |
| struct | SlNetSock_Winsize_t |
| The SlNetSock_Winsize_t structure is used in SLNETSOCK_OPSOCK_RCV_BUF socket level option. More... | |
| struct | SlNetSock_Nonblocking_t |
| The SlNetSock_Nonblocking_t structure is used in SLNETSOCK_OPSOCK_NON_BLOCKING socket level option. More... | |
| struct | SlNetSock_SecAttribNode_t |
| Secure socket attribute context. More... | |
| struct | SlNetSock_SecureALPN_t |
| Secure ALPN structure. More... | |
| struct | SlNetSock_SecureMask_t |
| Secure Mask structure. More... | |
| struct | SlNetSock_SecureMethod_t |
| Secure Method structure. More... | |
| struct | SlNetSock_IpMreq_t |
| The SlNetSock_IpMreq_t structure is used in SLNETSOCK_OPIP_ADD_MEMBERSHIP and SLNETSOCK_OPIP_DROP_MEMBERSHIP IP level option. More... | |
| struct | SlNetSock_IpV6Mreq_t |
| The SlNetSock_IpV6Mreq_t structure is used in SLNETSOCK_OPIPV6_ADD_MEMBERSHIP and SLNETSOCK_OPIPV6_DROP_MEMBERSHIP IP level option. More... | |
| struct | SlNetSock_linger_t |
| The SlNetSock_linger_t structure is used in SLNETSOCK_OPSOCK_LINGER socket level option. More... | |
| struct | SlNetSock_Timeval_t |
| The SlNetSock_Timeval_t structure is used in SLNETSOCK_OPSOCK_RCV_TIMEO socket level option. More... | |
| struct | SlNetSock_Addr_t |
| IpV4 socket address. More... | |
| struct | SlNetSock_AddrIn6_t |
| SlNetSock IPv6 address, Internet style. More... | |
| struct | SlNetSock_AddrIn_t |
| SlNetSock IPv4 address, Internet style. More... | |
| struct | SlNetSock_SockAddrStorage_t |
| Generic socket address type to hold either IPv4 or IPv6 address. More... | |
| struct | SlNetSock_SdSet_t |
| The SlNetSock_SdSet_t structure holds the sd array for SlNetSock_select function. More... | |
| struct | SlNetSock_TransceiverRxOverHead_t |
| The SlNetSock_TransceiverRxOverHead_t structure holds the data for Rx transceiver mode using a raw socket when using SlNetSock_recv function. More... | |
Enumerations | |
| enum | SlNetSockTxInhibitThreshold_e { SLNETSOCK_TX_INHIBIT_THRESHOLD_MIN = 1, SLNETSOCK_TX_INHIBIT_THRESHOLD_LOW = 2, SLNETSOCK_TX_INHIBIT_THRESHOLD_DEFAULT = 3, SLNETSOCK_TX_INHIBIT_THRESHOLD_MED = 4, SLNETSOCK_TX_INHIBIT_THRESHOLD_HIGH = 5, SLNETSOCK_TX_INHIBIT_THRESHOLD_MAX = 6 } |
| The SlNetSockTxInhibitThreshold_e enumerations is used in SLNETSOCK_OPPHY_TX_INHIBIT_THRESHOLD PHY level option. More... | |
| enum | SlNetSockSecAttrib_e { SLNETSOCK_SEC_ATTRIB_PRIVATE_KEY = 0, SLNETSOCK_SEC_ATTRIB_LOCAL_CERT = 1, SLNETSOCK_SEC_ATTRIB_PEER_ROOT_CA = 2, SLNETSOCK_SEC_ATTRIB_DH_KEY = 3, SLNETSOCK_SEC_ATTRIB_METHOD = 4, SLNETSOCK_SEC_ATTRIB_CIPHERS = 5, SLNETSOCK_SEC_ATTRIB_ALPN = 6, SLNETSOCK_SEC_ATTRIB_EXT_CLIENT_CHLNG_RESP = 7, SLNETSOCK_SEC_ATTRIB_DOMAIN_NAME = 8, SLNETSOCK_SEC_ATTRIB_DISABLE_CERT_STORE = 9 } |
| The SlNetSockSecAttrib_e enumerations are used to declare security attribute objects in SlNetSock_secAttribSet(). More... | |
Functions | |
| int32_t | SlNetSock_init (int32_t flags) |
| Initialize the SlNetSock module. More... | |
| int16_t | SlNetSock_create (int16_t domain, int16_t type, int16_t protocol, uint32_t ifBitmap, int16_t flags) |
| Create an endpoint for communication. More... | |
| int32_t | SlNetSock_close (int16_t sd) |
| Gracefully close socket. More... | |
| int32_t | SlNetSock_shutdown (int16_t sd, int16_t how) |
| Shutting down parts of a full-duplex connection. More... | |
| int16_t | SlNetSock_accept (int16_t sd, SlNetSock_Addr_t *addr, SlNetSocklen_t *addrlen) |
| Accept a connection on a socket. More... | |
| int32_t | SlNetSock_bind (int16_t sd, const SlNetSock_Addr_t *addr, int16_t addrlen) |
| Assign a name to a socket. More... | |
| int32_t | SlNetSock_listen (int16_t sd, int16_t backlog) |
| Listen for connections on a socket. More... | |
| int32_t | SlNetSock_connect (int16_t sd, const SlNetSock_Addr_t *addr, SlNetSocklen_t addrlen) |
| Initiate a connection on a socket. More... | |
| int32_t | SlNetSock_getPeerName (int16_t sd, SlNetSock_Addr_t *addr, SlNetSocklen_t *addrlen) |
| Return address info about the remote side of the connection. More... | |
| int32_t | SlNetSock_getSockName (int16_t sd, SlNetSock_Addr_t *addr, SlNetSocklen_t *addrlen) |
| Get local address info by socket descriptor. More... | |
| int32_t | SlNetSock_select (int16_t nsds, SlNetSock_SdSet_t *readsds, SlNetSock_SdSet_t *writesds, SlNetSock_SdSet_t *exceptsds, SlNetSock_Timeval_t *timeout) |
| Monitor socket activity. More... | |
| int32_t | SlNetSock_sdsSet (int16_t sd, SlNetSock_SdSet_t *sdset) |
| SlNetSock_select's SlNetSock_SdSet_t SET function. More... | |
| int32_t | SlNetSock_sdsClr (int16_t sd, SlNetSock_SdSet_t *sdset) |
| SlNetSock_select's SlNetSock_SdSet_t CLR function. More... | |
| int32_t | SlNetSock_sdsClrAll (SlNetSock_SdSet_t *sdset) |
| SlNetSock_select's SlNetSock_SdSet_t ZERO function. More... | |
| int32_t | SlNetSock_sdsIsSet (int16_t sd, SlNetSock_SdSet_t *sdset) |
| SlNetSock_select's SlNetSock_SdSet_t ISSET function. More... | |
| int32_t | SlNetSock_setOpt (int16_t sd, int16_t level, int16_t optname, void *optval, SlNetSocklen_t optlen) |
| Set socket options. More... | |
| int32_t | SlNetSock_getOpt (int16_t sd, int16_t level, int16_t optname, void *optval, SlNetSocklen_t *optlen) |
| Get socket options. More... | |
| int32_t | SlNetSock_recv (int16_t sd, void *buf, uint32_t len, uint32_t flags) |
| Read data from TCP socket. More... | |
| int32_t | SlNetSock_recvFrom (int16_t sd, void *buf, uint32_t len, uint32_t flags, SlNetSock_Addr_t *from, SlNetSocklen_t *fromlen) |
| Read data from socket. More... | |
| int32_t | SlNetSock_send (int16_t sd, const void *buf, uint32_t len, uint32_t flags) |
| Write data to TCP socket. More... | |
| int32_t | SlNetSock_sendTo (int16_t sd, const void *buf, uint32_t len, uint32_t flags, const SlNetSock_Addr_t *to, SlNetSocklen_t tolen) |
| Write data to socket. More... | |
| int32_t | SlNetSock_getIfID (uint16_t sd) |
| Get interface ID from socket descriptor (sd) More... | |
| SlNetSockSecAttrib_t * | SlNetSock_secAttribCreate (void) |
| Creates a security attributes object. More... | |
| int32_t | SlNetSock_secAttribDelete (SlNetSockSecAttrib_t *secAttrib) |
| Deletes a security attributes object. More... | |
| int32_t | SlNetSock_secAttribSet (SlNetSockSecAttrib_t *secAttrib, SlNetSockSecAttrib_e attribName, void *val, uint16_t len) |
| set a security attribute More... | |
| int32_t | SlNetSock_startSec (int16_t sd, SlNetSockSecAttrib_t *secAttrib, uint8_t flags) |
| Start a security session on an opened socket. More... | |