![Forrest logo](/images/logo.png)
dumpcap:tldr:7154e
The command "dumpcap --list-interfaces" is used to list all the available network interfaces that can be used with dumpcap, which is a command-line packet capturing tool.
When executed, the command will provide information about each interface, including the interface index and name, its description, and the link layer header type supported by the interface.
Here is an example output of the command:
-
\Device\NPF_{F2B6A007-CA68-4F17-B5F7-8216B111F60E} (Wireless Network Connection) Description: Intel(R) Dual Band Wireless-AC 3168 Link-layer Header Type: 1 (Ethernet)
-
\Device\NPF_{0AE69843-6C72-4324-A9F3-2B0BACA63ECF} ({111797DE-59AF-40FE-8EFA-312FA3AC58C2}) Description: Realtek PCIe GbE Family Controller Link-layer Header Type: 1 (Ethernet)
In this example, two network interfaces are listed. The first one is a wireless network connection provided by Intel AC 3168, and the second one is a Realtek GbE Ethernet controller. Both interfaces support Ethernet link-layer header type (indicated by the value 1).