![]() |
Network Component
Version 7.17.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - NetBIOS Name Service Client functions. More...
Functions | |
__STATIC_INLINE void | EvrNetNBNS_InitService (uint16_t if_id) |
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 (uint16_t if_id, uint32_t length) |
Event on NBNS receive frame (Op) More... | |
__STATIC_INLINE void | EvrNetNBNS_WrongRemotePort (uint16_t if_id, uint16_t port, uint16_t port_valid) |
Event on NBNS wrong remote UDP port (Error) More... | |
__STATIC_INLINE void | EvrNetNBNS_FrameTooShort (uint16_t if_id, uint32_t length, uint32_t min_length) |
Event on NBNS receive frame is too short (Error) More... | |
__STATIC_INLINE void | EvrNetNBNS_NetBiosDisabled (uint16_t if_id) |
Event on NBNS receive frame for NetBIOS disabled (Op) 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 (uint16_t if_id, const uint8_t *ip4_addr) |
Event on NBNS name query from IP-address (Detail) More... | |
__STATIC_INLINE void | EvrNetNBNS_NameQueryResponse (uint16_t if_id, const uint8_t *ip4_addr) |
Event on NBNS response to a name query (Op) More... | |
__STATIC_INLINE void | EvrNetNBNS_UninitService (uint16_t if_id) |
Event on NBNS name service de-initialize (Op) More... | |
Events generated by the Network - NetBIOS Name Service Client functions.
The Network NBNS Client functions generate events that report events in the NetBIOS name service and help in troubleshooting.
__STATIC_INLINE void EvrNetNBNS_FrameTooShort | ( | uint16_t | if_id, |
uint32_t | length, | ||
uint32_t | min_length | ||
) |
Event on NBNS receive frame is too short (Error)
if_id | network interface identifier |
length | frame length in bytes |
min_length | minimum length of the frame |
The event FrameTooShort is created when the network library receives the NBNS frame that is too short. The frame is discarded.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_GetSocketFailed | ( | void | ) |
Event on NBNS failed to allocate UDP socket (Error)
The event GetSocketFailed is created when the NetBIOS name service is initialized, that is, when the function netInitialize is executed, and the service could not assign the UDP socket. To resolve this error, you must increase the number of available UDP sockets in the UDP socket configuration.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_InitService | ( | uint16_t | if_id | ) |
Event on NBNS name service initialize (Op)
if_id | network interface identifier |
The event InitService is created when the NetBIOS name service is initialized, that is, when the function netInitialize is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_NameQueryRequest | ( | const char * | q_name, |
uint32_t | length | ||
) |
Event on NBNS name query request received (Op)
q_name | pointer to a question name string |
length | length of the question name string |
The event NameQueryRequest is created when the network library receives a request for the host name to be resolved.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_NameQueryResponse | ( | uint16_t | if_id, |
const uint8_t * | ip4_addr | ||
) |
Event on NBNS response to a name query (Op)
if_id | network interface identifier |
ip4_addr | pointer to local IPv4 address |
The event NameQueryResponse is created when the network library responds to name query request with a local IP address. This happens when the requested name is the same as the name of the local host.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_NetBiosDisabled | ( | uint16_t | if_id | ) |
Event on NBNS receive frame for NetBIOS disabled (Op)
if_id | network interface identifier |
The event NetBiosDisabled is created when the network library receives the NBNS frame, but NetBIOS protocol is disabled in the interface configuration.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_QueryFromAddress | ( | uint16_t | if_id, |
const uint8_t * | ip4_addr | ||
) |
Event on NBNS name query from IP-address (Detail)
if_id | network interface identifier |
ip4_addr | pointer to IPv4 address of a host |
The event QueryFromAddress is created when the network library wants to display the IP address of the sender of the name query request.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_ReceiveFrame | ( | uint16_t | if_id, |
uint32_t | length | ||
) |
Event on NBNS receive frame (Op)
if_id | network interface identifier |
length | frame length in bytes |
The event ReceiveFrame is created when the network library receives the NBNS frame.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_UninitService | ( | uint16_t | if_id | ) |
Event on NBNS name service de-initialize (Op)
if_id | network interface identifier |
The event UninitService is created when the function netUninitialize is executed.
Value in the Event Recorder shows:
__STATIC_INLINE void EvrNetNBNS_WrongRemotePort | ( | uint16_t | if_id, |
uint16_t | port, | ||
uint16_t | port_valid | ||
) |
Event on NBNS wrong remote UDP port (Error)
if_id | network interface identifier |
port | received remote port number |
port_valid | valid remote port number |
The event WrongRemotePort is created when the network library receives the NBNS frame, and the remote UDP port is not a standard NBNS port.
Value in the Event Recorder shows: