1PCAPINFO(1) User Contributed Perl Documentation PCAPINFO(1)
2
3
4
6 pcapinfo - Prints detailed information about the network devices
7
9 pcapinfo
10
12 None.
13
15 pcapinfo prints detailed information about the network devices and Pcap
16 library available on the current host. Here is an example:
17
18 Host information
19 ----------------
20 Hostname : fangorn.maddingue.net
21 Aliases : fangorn.local fangorn
22 Pcap version : libpcap version 0.8.3
23
24 Devices information
25 -------------------
26 Device eth0 (default)
27 Description : No description available
28 Link type : Ethernet, no autonegotiation, 10baseT-HD, link ok
29 Hardware address : 00:0c:6e:0a:c3:ca
30 Network address : 10.0.1.51
31 Network mask : 255.255.255.0
32 Flags : up running broadcast multicast
33
34 Device eth1
35 Description : No description available
36 Link type : Ethernet, no autonegotiation, 10baseT-HD, link ok
37 Hardware address : 00:26:54:0a:d8:4d
38 Network address : 192.168.1.51
39 Network mask : 255.255.255.0
40 Flags : up running broadcast multicast
41
42 The device marked as "(default)" is the one returned when calling
43 Net::Pcap::lookupdev()
44
45 Some information like the link type can only be gathered with
46 administrative privileges.
47
49 Sébastien Aperghis-Tramoni, <sebastien@aperghis.net>
50
52 Copyright (C) 2005, 2006, 2007, 2008, 2009 Sébastien Aperghis-Tramoni.
53 All rights reserved.
54
55 This program is free software; you can redistribute it and/or modify it
56 under the same terms as Perl itself.
57
58
59
60perl v5.36.0 2023-01-23 PCAPINFO(1)