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
NetNBNS: NBNS Client

Events generated by the Network - NetBIOS Name Service Client functions. More...

Functions

__STATIC_INLINE void EvrNetNBNS_InitService (void)
 Event on NBNS name service initialize (Op) More...
 
__STATIC_INLINE void EvrNetNBNS_GetSocketFailed (void)
 Event on NBNS failed to allocate UDP socket (Error) More...
 
__STATIC_INLINE void EvrNetNBNS_ReceiveFrame (uint32_t length)
 Event on NBNS receive frame (Op) More...
 
__STATIC_INLINE void EvrNetNBNS_WrongPort (uint16_t udp_port)
 Event on NBNS wrong UDP source port (Error) More...
 
__STATIC_INLINE void EvrNetNBNS_FrameTooShort (uint32_t length, uint32_t min_length)
 Event on NBNS received frame is too short (Error) More...
 
__STATIC_INLINE void EvrNetNBNS_NameQueryRequest (const char *q_name, uint32_t length)
 Event on NBNS name query request received (Op) More...
 
__STATIC_INLINE void EvrNetNBNS_QueryFromAddress (const uint8_t *ip4_addr)
 Event on NBNS name query from IP-address (Op) More...
 
__STATIC_INLINE void EvrNetNBNS_NameQueryResponse (const uint8_t *ip4_addr)
 Event on NBNS response to a name query (Op) More...
 

Description

Events generated by the Network - NetBIOS Name Service Client functions.

Function Documentation

__STATIC_INLINE void EvrNetNBNS_FrameTooShort ( uint32_t  length,
uint32_t  min_length 
)

Event on NBNS received frame is too short (Error)

Parameters
lengthframe length in bytes
min_lengthminimum length of the frame
__STATIC_INLINE void EvrNetNBNS_GetSocketFailed ( void  )

Event on NBNS failed to allocate UDP socket (Error)

__STATIC_INLINE void EvrNetNBNS_InitService ( void  )

Event on NBNS name service initialize (Op)

__STATIC_INLINE void EvrNetNBNS_NameQueryRequest ( const char *  q_name,
uint32_t  length 
)

Event on NBNS name query request received (Op)

Parameters
q_namepointer to a question name string
lengthlength of the question name string
__STATIC_INLINE void EvrNetNBNS_NameQueryResponse ( const uint8_t *  ip4_addr)

Event on NBNS response to a name query (Op)

Parameters
ip4_addrpointer to local IPv4 address
__STATIC_INLINE void EvrNetNBNS_QueryFromAddress ( const uint8_t *  ip4_addr)

Event on NBNS name query from IP-address (Op)

Parameters
ip4_addrpointer to IPv4 address of a host
__STATIC_INLINE void EvrNetNBNS_ReceiveFrame ( uint32_t  length)

Event on NBNS receive frame (Op)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetNBNS_WrongPort ( uint16_t  udp_port)

Event on NBNS wrong UDP source port (Error)

Parameters
udp_portwrong port number