Network Component  Version 7.5.0
MDK Middleware for IPv4 and IPv6 Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetBSD: BSD Socket

Events generated by the Network - BSD Socket functions. More...

Functions

__STATIC_INLINE void EvrNetBSD_InitSockets (uint32_t num_socks)
 Event on BSD socket API initialize (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SocketInvalidParameter (void)
 Event on BSD socket failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SocketAllocated (int32_t sock, int32_t type)
 Event on BSD free socket allocated (Op) More...
 
__STATIC_INLINE void EvrNetBSD_NoSocketsAvailable (void)
 Event on BSD socket failed, no free sockets available (Error) More...
 
__STATIC_INLINE void EvrNetBSD_BindSocket (int32_t sock)
 Event on BSD bind socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_BindSocketNotValid (int32_t sock)
 Event on BSD bind failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_BindInvalidParameter (int32_t sock)
 Event on BSD bind failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_BindSocketNotCreated (int32_t sock)
 Event on BSD bind failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_BindPortInUse (int32_t sock)
 Event on BSD bind failed, port in use (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ShowNetAddressIp4 (const void *net_addr)
 Event on BSD display net address IPv4 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_ShowNetAddressIp6 (const void *net_addr)
 Event on BSD display net address IPv6 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_ListenSocket (int32_t sock, int32_t backlog)
 Event on BSD listen socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_ListenSocketNotValid (int32_t sock)
 Event on BSD listen failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ListenInvalidParameter (int32_t sock)
 Event on BSD listen failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ListenSocketNotBound (int32_t sock)
 Event on BSD listen failed, socket not bound (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ListenSocketNotStreamType (int32_t sock)
 Event on BSD listen failed, socket not stream type (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ListenBacklogCreateFailed (int32_t sock)
 Event on BSD listen failed, creating socket backlog failed (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocket (int32_t sock)
 Event on BSD accept socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotValid (int32_t sock)
 Event on BSD accept failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotListening (int32_t sock)
 Event on BSD accept failed, socket not listening (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotStreamType (int32_t sock)
 Event on BSD accept failed, socket not stream type (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketLocked (int32_t sock)
 Event on BSD accept failed, socket locked from other thread (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptChildSockConnected (int32_t child_sock)
 Event on BSD accept success, child socket connected (Op) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketClosed (int32_t sock)
 Event on BSD accept failed, socket has closed (Error) More...
 
__STATIC_INLINE void EvrNetBSD_AcceptSocketKilled (int32_t sock)
 Event on BSD accept failed, socket killed locally (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocket (int32_t sock)
 Event on BSD connect socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketNotValid (int32_t sock)
 Event on BSD connect failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectInvalidParameter (int32_t sock)
 Event on BSD connect failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketLocked (int32_t sock)
 Event on BSD connect failed, socket locked from other thread (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketNotCreated (int32_t sock)
 Event on BSD connect failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketWrongState (int32_t sock)
 Event on BSD connect failed, wrong socket state (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectDatagramSuccess (int32_t sock)
 Event on BSD connect success, datagram socket connected (Op) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectStreamSuccess (int32_t sock)
 Event on BSD connect success, stream socket connected (Op) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketClosed (int32_t sock)
 Event on BSD connect failed, socket has closed (Error) More...
 
__STATIC_INLINE void EvrNetBSD_ConnectSocketKilled (int32_t sock)
 Event on BSD connect failed, socket killed locally (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocket (int32_t sock, uint32_t length)
 Event on BSD send socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocketNotValid (int32_t sock)
 Event on BSD send failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendInvalidParameter (int32_t sock)
 Event on BSD send failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocketNotCreated (int32_t sock)
 Event on BSD send failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocketLocked (int32_t sock)
 Event on BSD send failed, socket locked from other thread (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocketClosed (int32_t sock)
 Event on BSD send failed, socket has closed (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendCompleteNonBlocking (uint32_t num, uint32_t length)
 Event on BSD send complete non-blocking mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SendSocketKilled (int32_t sock)
 Event on BSD send failed, socket killed locally (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendStreamError (int32_t sock)
 Event on BSD send failed, stream socket unspecified error (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendtoInvalidParameter (int32_t sock)
 Event on BSD sendto failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendDatagramError (int32_t sock)
 Event on BSD send failed, datagram socket unspecified error (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SendCompleteBlocking (uint32_t num)
 Event on BSD send complete blocking mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocket (int32_t sock, uint32_t length)
 Event on BSD recv socket (API) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketNotValid (int32_t sock)
 Event on BSD recv failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvInvalidParameter (int32_t sock)
 Event on BSD recv failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketNotCreated (int32_t sock)
 Event on BSD recv failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketNotConnected (int32_t sock)
 Event on BSD recv failed, socket not connected (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketWrongState (int32_t sock)
 Event on BSD recv failed, wrong socket state (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketLocked (int32_t sock)
 Event on BSD recv failed, socket locked from other thread (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketClosed (int32_t sock)
 Event on BSD recv failed, socket has closed (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvTimeout (int32_t sock)
 Event on BSD recv timeout (Op) More...
 
__STATIC_INLINE void EvrNetBSD_RecvSocketKilled (int32_t sock)
 Event on BSD recv failed, socket killed locally (Error) More...
 
__STATIC_INLINE void EvrNetBSD_RecvQueueFree (int32_t sock, uint32_t length)
 Event on BSD recv queue free (Op) More...
 
__STATIC_INLINE void EvrNetBSD_RecvComplete (int32_t sock, uint32_t length)
 Event on BSD recv complete (Op) More...
 
__STATIC_INLINE void EvrNetBSD_Closesocket (int32_t sock)
 Event on BSD closesocket (API) More...
 
__STATIC_INLINE void EvrNetBSD_CloseSocketNotValid (int32_t sock)
 Event on BSD closesocket failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_Getpeername (int32_t sock)
 Event on BSD getpeername (API) More...
 
__STATIC_INLINE void EvrNetBSD_GetpeerSocketNotValid (int32_t sock)
 Event on BSD getpeername failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetpeerInvalidParameter (int32_t sock)
 Event on BSD getpeername failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetpeerSocketNotCreated (int32_t sock)
 Event on BSD getpeername failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_Getsockname (int32_t sock)
 Event on BSD getsockname (API) More...
 
__STATIC_INLINE void EvrNetBSD_GetsockSocketNotValid (int32_t sock)
 Event on BSD getsockname failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetsockInvalidParameter (int32_t sock)
 Event on BSD getsockname failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetsockSocketNotCreated (int32_t sock)
 Event on BSD getsockname failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_Setsockopt (int32_t sock)
 Event on BSD setsockopt (API) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptSocketNotValid (int32_t sock)
 Event on BSD setsockopt failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptInvalidParameter (int32_t sock)
 Event on BSD setsockopt failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptSocketNotCreated (int32_t sock)
 Event on BSD setsockopt failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptKeepAlive (uint32_t enable)
 Event on BSD setsockopt keep-alive option (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptRecvTimeout (uint32_t timeout)
 Event on BSD setsockopt receive timeout (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptTos (uint8_t ip4_tos)
 Event on BSD setsockopt TOS for IPv4 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptTtl (uint8_t ip4_ttl)
 Event on BSD setsockopt TTL for IPv4 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptTclass (uint8_t ip6_tclass)
 Event on BSD setsockopt Traffic Class for IPv6 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_SetoptHopLimit (uint8_t ip6_hoplimit)
 Event on BSD setsockopt Hop Limit for IPv6 (Op) More...
 
__STATIC_INLINE void EvrNetBSD_Ioctlsocket (int32_t sock)
 Event on BSD ioctlsocket (API) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotValid (int32_t sock)
 Event on BSD ioctlsocket failed, socket not valid (Error) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlInvalidParameter (int32_t sock)
 Event on BSD ioctlsocket failed, invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotCreated (int32_t sock)
 Event on BSD ioctlsocket failed, socket not created (Error) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotStreamType (int32_t sock)
 Event on BSD ioctlsocket failed, socket not stream type (Error) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlNonBlocking (uint32_t enable)
 Event on BSD ioctlsocket enable non-blocking mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlDelayAck (uint32_t enable)
 Event on BSD ioctlsocket enable TCP delay-ack mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlKeepAlive (uint32_t enable)
 Event on BSD ioctlsocket enable TCP keep-alive mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_IoctlFlowControl (uint32_t enable)
 Event on BSD ioctlsocket enable TCP flow-control mode (Op) More...
 
__STATIC_INLINE void EvrNetBSD_CbfuncTcpEvent (int32_t sock, int32_t tcp_event)
 Event on BSD callback TCP function events (Op) More...
 
__STATIC_INLINE void EvrNetBSD_CbfuncTcpQueueAdd (int32_t sock, uint32_t length)
 Event on BSD callback TCP data received (Op) More...
 
__STATIC_INLINE void EvrNetBSD_CbfuncTcpNoMemory (int32_t sock)
 Event on BSD callback no memory for TCP data (Error) More...
 
__STATIC_INLINE void EvrNetBSD_CbfuncUdpQueueAdd (int32_t sock, uint32_t length)
 Event on BSD callback UDP data received (Op) More...
 
__STATIC_INLINE void EvrNetBSD_CbfuncUdpDumpData (int32_t sock, uint32_t length)
 Event on BSD callback no memory for UDP data (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostInit (void)
 Event on BSD hostname resolver initialize (Op) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostByName (const char *hostname, uint32_t length)
 Event on BSD gethostbyname (API) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostNameResolved (void)
 Event on BSD hostname resolved successfully (Op) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostNameNotExisting (void)
 Event on BSD requested hostname not existing (Op) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostResolverTimeout (void)
 Event on BSD resolver timeout expired (Op) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostResolverError (void)
 Event on BSD resolver protocol error (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostResolverBusy (void)
 Event on BSD resolver busy error (Error) More...
 
__STATIC_INLINE void EvrNetBSD_GetHostInvalidParameter (void)
 Event on BSD gethostbyname invalid parameter (Error) More...
 

Description

Events generated by the Network - BSD Socket functions.

Function Documentation

__STATIC_INLINE void EvrNetBSD_AcceptChildSockConnected ( int32_t  child_sock)

Event on BSD accept success, child socket connected (Op)

Parameters
child_sockchild socket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocket ( int32_t  sock)

Event on BSD accept socket (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketClosed ( int32_t  sock)

Event on BSD accept failed, socket has closed (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketKilled ( int32_t  sock)

Event on BSD accept failed, socket killed locally (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketLocked ( int32_t  sock)

Event on BSD accept failed, socket locked from other thread (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotListening ( int32_t  sock)

Event on BSD accept failed, socket not listening (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotStreamType ( int32_t  sock)

Event on BSD accept failed, socket not stream type (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_AcceptSocketNotValid ( int32_t  sock)

Event on BSD accept failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_BindInvalidParameter ( int32_t  sock)

Event on BSD bind failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_BindPortInUse ( int32_t  sock)

Event on BSD bind failed, port in use (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_BindSocket ( int32_t  sock)

Event on BSD bind socket (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_BindSocketNotCreated ( int32_t  sock)

Event on BSD bind failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_BindSocketNotValid ( int32_t  sock)

Event on BSD bind failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_CbfuncTcpEvent ( int32_t  sock,
int32_t  tcp_event 
)

Event on BSD callback TCP function events (Op)

Parameters
socksocket descriptor
tcp_eventTCP socket event
  • 0: netTCP_EventConnect
  • 1: netTCP_EventEstablished
  • 2: netTCP_EventClosed
  • 3: netTCP_EventAborted
__STATIC_INLINE void EvrNetBSD_CbfuncTcpNoMemory ( int32_t  sock)

Event on BSD callback no memory for TCP data (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_CbfuncTcpQueueAdd ( int32_t  sock,
uint32_t  length 
)

Event on BSD callback TCP data received (Op)

Parameters
socksocket descriptor
lengthlength of data received
__STATIC_INLINE void EvrNetBSD_CbfuncUdpDumpData ( int32_t  sock,
uint32_t  length 
)

Event on BSD callback no memory for UDP data (Error)

Parameters
socksocket descriptor
lengthlength of dumped data
__STATIC_INLINE void EvrNetBSD_CbfuncUdpQueueAdd ( int32_t  sock,
uint32_t  length 
)

Event on BSD callback UDP data received (Op)

Parameters
socksocket descriptor
lengthlength of data received
__STATIC_INLINE void EvrNetBSD_Closesocket ( int32_t  sock)

Event on BSD closesocket (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_CloseSocketNotValid ( int32_t  sock)

Event on BSD closesocket failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectDatagramSuccess ( int32_t  sock)

Event on BSD connect success, datagram socket connected (Op)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectInvalidParameter ( int32_t  sock)

Event on BSD connect failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocket ( int32_t  sock)

Event on BSD connect socket (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketClosed ( int32_t  sock)

Event on BSD connect failed, socket has closed (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketKilled ( int32_t  sock)

Event on BSD connect failed, socket killed locally (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketLocked ( int32_t  sock)

Event on BSD connect failed, socket locked from other thread (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketNotCreated ( int32_t  sock)

Event on BSD connect failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketNotValid ( int32_t  sock)

Event on BSD connect failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectSocketWrongState ( int32_t  sock)

Event on BSD connect failed, wrong socket state (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ConnectStreamSuccess ( int32_t  sock)

Event on BSD connect success, stream socket connected (Op)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetHostByName ( const char *  hostname,
uint32_t  length 
)

Event on BSD gethostbyname (API)

Parameters
hostnamename of the host to resolve
lengthlength of the hostname string
__STATIC_INLINE void EvrNetBSD_GetHostInit ( void  )

Event on BSD hostname resolver initialize (Op)

__STATIC_INLINE void EvrNetBSD_GetHostInvalidParameter ( void  )

Event on BSD gethostbyname invalid parameter (Error)

__STATIC_INLINE void EvrNetBSD_GetHostNameNotExisting ( void  )

Event on BSD requested hostname not existing (Op)

__STATIC_INLINE void EvrNetBSD_GetHostNameResolved ( void  )

Event on BSD hostname resolved successfully (Op)

__STATIC_INLINE void EvrNetBSD_GetHostResolverBusy ( void  )

Event on BSD resolver busy error (Error)

__STATIC_INLINE void EvrNetBSD_GetHostResolverError ( void  )

Event on BSD resolver protocol error (Error)

__STATIC_INLINE void EvrNetBSD_GetHostResolverTimeout ( void  )

Event on BSD resolver timeout expired (Op)

__STATIC_INLINE void EvrNetBSD_GetpeerInvalidParameter ( int32_t  sock)

Event on BSD getpeername failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_Getpeername ( int32_t  sock)

Event on BSD getpeername (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetpeerSocketNotCreated ( int32_t  sock)

Event on BSD getpeername failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetpeerSocketNotValid ( int32_t  sock)

Event on BSD getpeername failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetsockInvalidParameter ( int32_t  sock)

Event on BSD getsockname failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_Getsockname ( int32_t  sock)

Event on BSD getsockname (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetsockSocketNotCreated ( int32_t  sock)

Event on BSD getsockname failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_GetsockSocketNotValid ( int32_t  sock)

Event on BSD getsockname failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_InitSockets ( uint32_t  num_socks)

Event on BSD socket API initialize (Op)

Parameters
num_socksnumber of available BSD sockets
__STATIC_INLINE void EvrNetBSD_IoctlDelayAck ( uint32_t  enable)

Event on BSD ioctlsocket enable TCP delay-ack mode (Op)

Parameters
enabledelay-ack state
  • 0: disable
  • 1: enable
__STATIC_INLINE void EvrNetBSD_IoctlFlowControl ( uint32_t  enable)

Event on BSD ioctlsocket enable TCP flow-control mode (Op)

Parameters
enableflow-control state
  • 0: disable
  • 1: enable
__STATIC_INLINE void EvrNetBSD_IoctlInvalidParameter ( int32_t  sock)

Event on BSD ioctlsocket failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_IoctlKeepAlive ( uint32_t  enable)

Event on BSD ioctlsocket enable TCP keep-alive mode (Op)

Parameters
enablekeep-alive state
  • 0: disable
  • 1: enable
__STATIC_INLINE void EvrNetBSD_IoctlNonBlocking ( uint32_t  enable)

Event on BSD ioctlsocket enable non-blocking mode (Op)

Parameters
enablenon-blocking state
  • 0: disable
  • 1: enable
__STATIC_INLINE void EvrNetBSD_Ioctlsocket ( int32_t  sock)

Event on BSD ioctlsocket (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotCreated ( int32_t  sock)

Event on BSD ioctlsocket failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotStreamType ( int32_t  sock)

Event on BSD ioctlsocket failed, socket not stream type (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_IoctlSocketNotValid ( int32_t  sock)

Event on BSD ioctlsocket failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ListenBacklogCreateFailed ( int32_t  sock)

Event on BSD listen failed, creating socket backlog failed (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ListenInvalidParameter ( int32_t  sock)

Event on BSD listen failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ListenSocket ( int32_t  sock,
int32_t  backlog 
)

Event on BSD listen socket (API)

Parameters
socksocket descriptor
backlogmax number of queued connection requests
__STATIC_INLINE void EvrNetBSD_ListenSocketNotBound ( int32_t  sock)

Event on BSD listen failed, socket not bound (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ListenSocketNotStreamType ( int32_t  sock)

Event on BSD listen failed, socket not stream type (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ListenSocketNotValid ( int32_t  sock)

Event on BSD listen failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_NoSocketsAvailable ( void  )

Event on BSD socket failed, no free sockets available (Error)

__STATIC_INLINE void EvrNetBSD_RecvComplete ( int32_t  sock,
uint32_t  length 
)

Event on BSD recv complete (Op)

Parameters
socksocket descriptor
lengthlength of data received
__STATIC_INLINE void EvrNetBSD_RecvInvalidParameter ( int32_t  sock)

Event on BSD recv failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvQueueFree ( int32_t  sock,
uint32_t  length 
)

Event on BSD recv queue free (Op)

Parameters
socksocket descriptor
lengthlength of data to release
__STATIC_INLINE void EvrNetBSD_RecvSocket ( int32_t  sock,
uint32_t  length 
)

Event on BSD recv socket (API)

Parameters
socksocket descriptor
lengthlength of data to receive
__STATIC_INLINE void EvrNetBSD_RecvSocketClosed ( int32_t  sock)

Event on BSD recv failed, socket has closed (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketKilled ( int32_t  sock)

Event on BSD recv failed, socket killed locally (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketLocked ( int32_t  sock)

Event on BSD recv failed, socket locked from other thread (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketNotConnected ( int32_t  sock)

Event on BSD recv failed, socket not connected (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketNotCreated ( int32_t  sock)

Event on BSD recv failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketNotValid ( int32_t  sock)

Event on BSD recv failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvSocketWrongState ( int32_t  sock)

Event on BSD recv failed, wrong socket state (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_RecvTimeout ( int32_t  sock)

Event on BSD recv timeout (Op)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendCompleteBlocking ( uint32_t  num)

Event on BSD send complete blocking mode (Op)

Parameters
numnumber of bytes successfully sent
__STATIC_INLINE void EvrNetBSD_SendCompleteNonBlocking ( uint32_t  num,
uint32_t  length 
)

Event on BSD send complete non-blocking mode (Op)

Parameters
numnumber of bytes successfully sent
lengthlength of data requested to send
__STATIC_INLINE void EvrNetBSD_SendDatagramError ( int32_t  sock)

Event on BSD send failed, datagram socket unspecified error (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendInvalidParameter ( int32_t  sock)

Event on BSD send failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendSocket ( int32_t  sock,
uint32_t  length 
)

Event on BSD send socket (API)

Parameters
socksocket descriptor
lengthlength of data to send
__STATIC_INLINE void EvrNetBSD_SendSocketClosed ( int32_t  sock)

Event on BSD send failed, socket has closed (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendSocketKilled ( int32_t  sock)

Event on BSD send failed, socket killed locally (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendSocketLocked ( int32_t  sock)

Event on BSD send failed, socket locked from other thread (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendSocketNotCreated ( int32_t  sock)

Event on BSD send failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendSocketNotValid ( int32_t  sock)

Event on BSD send failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendStreamError ( int32_t  sock)

Event on BSD send failed, stream socket unspecified error (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SendtoInvalidParameter ( int32_t  sock)

Event on BSD sendto failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SetoptHopLimit ( uint8_t  ip6_hoplimit)

Event on BSD setsockopt Hop Limit for IPv6 (Op)

Parameters
ip6_hoplimithop limit value
__STATIC_INLINE void EvrNetBSD_SetoptInvalidParameter ( int32_t  sock)

Event on BSD setsockopt failed, invalid parameter (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SetoptKeepAlive ( uint32_t  enable)

Event on BSD setsockopt keep-alive option (Op)

Parameters
enablekeep-alive state
  • 0: disable
  • 1: enable
__STATIC_INLINE void EvrNetBSD_SetoptRecvTimeout ( uint32_t  timeout)

Event on BSD setsockopt receive timeout (Op)

Parameters
timeoutreceive timeout in ms
__STATIC_INLINE void EvrNetBSD_SetoptSocketNotCreated ( int32_t  sock)

Event on BSD setsockopt failed, socket not created (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SetoptSocketNotValid ( int32_t  sock)

Event on BSD setsockopt failed, socket not valid (Error)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_SetoptTclass ( uint8_t  ip6_tclass)

Event on BSD setsockopt Traffic Class for IPv6 (Op)

Parameters
ip6_tclasstraffic class value
__STATIC_INLINE void EvrNetBSD_SetoptTos ( uint8_t  ip4_tos)

Event on BSD setsockopt TOS for IPv4 (Op)

Parameters
ip4_tostype of service value
__STATIC_INLINE void EvrNetBSD_SetoptTtl ( uint8_t  ip4_ttl)

Event on BSD setsockopt TTL for IPv4 (Op)

Parameters
ip4_ttltime to live value
__STATIC_INLINE void EvrNetBSD_Setsockopt ( int32_t  sock)

Event on BSD setsockopt (API)

Parameters
socksocket descriptor
__STATIC_INLINE void EvrNetBSD_ShowNetAddressIp4 ( const void *  net_addr)

Event on BSD display net address IPv4 (Op)

Parameters
net_addrpointer to NET_ADDR4 address structure (8 bytes)
Note
Sends reduced size of net address structure with IPv4 address only.
__STATIC_INLINE void EvrNetBSD_ShowNetAddressIp6 ( const void *  net_addr)

Event on BSD display net address IPv6 (Op)

Parameters
net_addrpointer to NET_ADDR address structure (20 bytes)
Note
Sends full size of net address structure with IPv6 address only.
__STATIC_INLINE void EvrNetBSD_SocketAllocated ( int32_t  sock,
int32_t  type 
)

Event on BSD free socket allocated (Op)

Parameters
sockallocated socket descriptor
typesocket type
  • 1: SOCK_STREAM
  • 2: SOCK_DGRAM
__STATIC_INLINE void EvrNetBSD_SocketInvalidParameter ( void  )

Event on BSD socket failed, invalid parameter (Error)