.TH netifs 1 "Mar 2014" "plc-utils-2.1.6" "Qualcomm Atheros Powerline Toolkit" .SH NAME ifs - Qualcomm Atheros Network Interface Enumerator .SH SYNOPSIS .BR netifs .SH DESCRIPTION Search the host computer for Ethernet interfaces and display the interface index, hardware address, IP address, interface name and description of each interface on stdout. This provides a simple, consistent, cross-platform format for presenting interface information to scripts and application programs. .SH COMMENTS This program illustrates the use of basic Atheros Ethernet interface classes implemented in C++. See program \fBnics\fR for an alternative C implementation. Unlike most other toolkit programs, this program has no command line options or arguments. .SH OPTIONS None. .SH ARGUMENTS None. .SH EXAMPLES The following example searches a \fBLinux\fR host and displays information about available interfaces. .PP # netifs 2 00:50:04:A5:D8:98 000.000.000.000 eth4 eth4 3 00:0F:EA:4B:98:CB 192.168.172.239 eth3 eth3 .PP The following example searches a \fBMacOSX\fR host and displays information about available interfaces. Observe that interface names are varied. .PP # netifs 4 00:26:BB:52:DD:A8 192.168.172.149 en0 en0 6 04:1E:64:F0:FB:EC 000.000.000.000 en1 en1 .SH SEE ALSO .BR amp ( 1 ), .BR nics ( 1 ), .BR pcapdevs ( 1 ), .BR plcnets ( 1 ) .SH CREDITS Charles Maier