h
p
i
ng
wiki
HOME
-
RECENT CHANGES
-
CONTACTS
-
DOWNLOAD
-
ANTIREZ
-
TCL BOOK
Differences for page
hping iflist
Current version compared with version
Tue May 18 04:27:53 GMT 2004
...
- The above host has an IPv4 alias for xl0
+ The above host has an IPv4 alias for xl0
+
The following is the old page content
{hping iflist} The iflist subcommand returns a list of all the available interfaces (with the UP flag set), and information about every interface. Interface informations are returned as a [Tcl] list, that's an example: hping3.0.0-alpha> hping iflist {lo 16436 {127.0.0.1} {LOOPBACK}} {eth0 1500 {192.168.1.6} {}} But this may be more clear: hping3.0.0-alpha> foreach i [hping iflist] {puts $i} lo 16436 {127.0.0.1} {LOOPBACK} eth0 1500 {192.168.1.6} {} As you can see both the interface addresses and flags are reported as [Tcl] lists, in order to deal with multiple-flags and addresses interfaces. This is an example: hping3.0.0-alpha> foreach i [hping iflist] {puts $i} lo0 33224 {127.0.0.1} {LOOPBACK} xl0 1500 {191.224.144.21 64.238.141.219} {} The above host has an IPv4 alias for xl0
Copyright (C) 2004 Salvatore Sanfilippo - Powered by
YakuWiki
and
Tcl/Tk