In this section
This section explains configuration using the ntpcap.ini file.
The main function of the ntpcap.ini file is to be able to tag NTAPI properties, for instance TX port, host buffer allowance, nanosecond resolution and NUMA node, to the WinPcap device.
Using NTPL in the ntpcap.ini file
To ease configuration, NTPL commands can be used to set up filters specifically for each WinPcap device. This means that it is not necessary to preconfigure filters, for instance, using the ntpl tool (see DN-0449). They are configured when the WinPcap device is activated.
However, NTPL commands configured outside the ntpcap.ini file can also be used. The stream ID must then be associated with the WinPcap device in the ntpcap.ini file.
Note: System-wide NTPL commands, for instance Setup and DefineMacro, should not be specified in the device sections of the ntpcap.ini file. They will be accepted, but will not work as expected. Instead they must be executed separately in the [Common] section of nrpcap.ini, using the ntpl tool, NTAPI or a filter configuration file on ntservice load.