errorcodes.h

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: include/ntapi/errorcodes.h File Reference
errorcodes.h File Reference

Go to the source code of this file.

Macros

#define NT_ERRBUF_SIZE   128
 Maximum error message size. More...
 

Detailed Description

Error codes and error strings.

Definition in file errorcodes.h.

Macro Definition Documentation

#define NT_ERRBUF_SIZE   128

Maximum error message size.

Use this define when creating an error buffer to be sure that there is room for the largest error message.

Examples:
bypass/config/bypass_config_example.c, bypass/info/bypass_info_example.c, bypass/watchdog/bypass_watchdog_example.c, config/config_example.c, event/event_example.c, eventMonitor_example.c, flow/flow_learn_span/flow_learn_span_example.cpp, info/info_example.c, net/analysis/analysis_example.c, net/capture/capture_example.c, net/checksum/checksum_example.cpp, net/inline/inline_example.c, net/ipfdemo/ipfdemo_example.c, net/netflow/netflow_example.c, net/numa/numa_example.c, net/readcapfile/readcapfile_example.c, net/replay/replay_example.c, net/replay4GA/replay4ga_example.c, net/replayGS/replayGS_example.c, net/segment_inline/segment_inline_example.c, net/streamidstatistics/streamidstatistics_example.c, net/timestamp_inject/timestamp_inject_example.cpp, net/transmit_multifunction/transmit_multifunction_example.c, net/transmit_on_timestamp/transmit_on_timestamp_example.c, net/transmit_on_timestamp_setclock/transmit_on_timestamp_setclock_example.c, net/transmit_packet/transmit_packet_example.c, net/transmit_pcap/transmit_pcap_example.c, net/transmit_segment/transmit_segment_example.c, net/transmit_segment_dyn_descr/transmit_segment_dyn_descr_example.cpp, net/vlandemo/vlandemo_example.c, pps/pps_example.c, sensor/sensor_example.c, stat/stat_example.c, and statUsage/statUsage_example.c.

Definition at line 46 of file errorcodes.h.

Referenced by featuresAvailable(), ForceAnEvent(), GetAdapterTimestamp(), GetSensorData(), GetTimeStamp(), anonymous_namespace{flow_learn_span_example.cpp}::handle_error_status(), handle_error_status(), handleErrorStatus(), Is4GATxSupported(), main(), printError(), PacketReaderThread::processPackets(), SetGlobalSync(), PacketTransmitterThread::transmitPackets(), and PacketTransmitterThread::txPacket().