Skip to content

File SolidSyslogDatagramCategories.h

FileList > Core > Interface > SolidSyslogDatagramCategories.h

Portable category constants (uint16_t macros) for the Datagram role: SOLIDSYSLOG_CAT_DATAGRAM_NEXT_HOP_UNRESOLVED.

  • #include <stdint.h>
  • #include "SolidSyslogErrorCategory.h"

Macro Definition Documentation

SOLIDSYSLOG_CAT_DATAGRAM_NEXT_HOP_UNRESOLVED

Portable Datagram-role error categories.

#define SOLIDSYSLOG_CAT_DATAGRAM_NEXT_HOP_UNRESOLVED `((uint16_t) ( SOLIDSYSLOG_CAT_DATAGRAM_BASE + 1U))`

Any Datagram implementation reuses these; a portable handler switch on event->Category reacts identically whichever backend sends the record. The link address of the next hop to the destination did not resolve within the wait, so the record was not handed to the stack. Raised once when resolution starts failing, not for every record while it fails. event->Detail is SOLIDSYSLOG_DATAGRAM_ERROR_NEXT_HOP_UNRESOLVED; where the platform gave a code, HasNativeCode is set and event->NativeCode carries it.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogDatagramCategories.h