diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-07-22 20:11:39 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-08-10 14:30:13 -0400 |
commit | 58fad3ac84f992c847a00538162176b6c5d53ee4 (patch) | |
tree | b3074f99671a857d07dedb8ec004e60ce2b084c0 /ethtool.8 | |
parent | 048038f1d316e2aa1a59fe60137c585decc04c74 (diff) | |
download | ethtool-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.8 | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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. |