From 58fad3ac84f992c847a00538162176b6c5d53ee4 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 22 Jul 2010 20:11:39 +0100 Subject: 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 Signed-off-by: Jeff Garzik --- ethtool.8 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ethtool.8') 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. -- cgit v1.2.1