version.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/version.h File Reference
version.h File Reference

Go to the source code of this file.

Macros

#define NTAPI_VERSION   (2)
 
#define NTAPI_LEVEL   (6)
 

Detailed Description

This is the header file of the NTAPI_VERSION define.

Definition in file version.h.

Macro Definition Documentation

#define NTAPI_VERSION   (2)

This define is used to ensure that applications can control what API version should be supported by the NTAPI library. The NTAPI library will via NT_Init, check if backward compatibility to NTAPI_VERSION can be ensured and convert all return structures to this version if possible. If it is not possible, NT_Init() will fail.

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, flowmatch/flowmatch_example_main.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 47 of file version.h.

Referenced by main().

#define NTAPI_LEVEL   (6)

Defines the NTAPI level With introduction of new NTAPI functions the NTAPI level will change. This is mostly used for internal documentation purposes.

Definition at line 54 of file version.h.