summaryrefslogtreecommitdiff
path: root/ethtool.8
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-07-22 20:11:39 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-08-10 14:30:13 -0400
commit58fad3ac84f992c847a00538162176b6c5d53ee4 (patch)
treeb3074f99671a857d07dedb8ec004e60ce2b084c0 /ethtool.8
parent048038f1d316e2aa1a59fe60137c585decc04c74 (diff)
downloadethtool-58fad3ac84f992c847a00538162176b6c5d53ee4.tar.gz
ethtool: Use inet_aton() to parse IPv4 addresses for RX n-tuple control
Note that inet_aton() allows the address to be specified as a single 32-bit number in the same formats as strtoull(), so this is backward- compatible. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'ethtool.8')
-rw-r--r--ethtool.89
1 files changed, 5 insertions, 4 deletions
diff --git a/ethtool.8 b/ethtool.8
index 6c6d737..e578865 100644
--- a/ethtool.8
+++ b/ethtool.8
@@ -663,16 +663,17 @@ Configure Rx ntuple filters and actions
.RE
.TP
.BI src-ip \ addr
-Includes the source IP address, specified in hex.
+Includes the source IP address, specified using dotted-quad notation
+or as a single 32-bit number.
.TP
.BI src-ip-mask \ mask
-Specify a mask for the source IP address, specified in hex.
+Specify a mask for the source IP address.
.TP
.BI dst-ip \ addr
-Includes the destination IP address, specified in hex.
+Includes the destination IP address.
.TP
.BI dst-ip-mask \ mask
-Specify a mask for the destination IP address, specified in hex.
+Specify a mask for the destination IP address.
.TP
.BI src-port \ port
Includes the source port, specified in decimal.