]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: flower: Update dest UDP port documentation
authorSimon Horman <simon.horman@netronome.com>
Wed, 4 Jan 2017 11:02:18 +0000 (12:02 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 9 Jan 2017 20:09:46 +0000 (12:09 -0800)
Since 41aa17ff4668 ("tc/cls_flower: Add dest UDP port to tunnel params")
tc flower supports setting the dest UDP port.

* Use "port_number" to be consistent with other man-page text
* Re-add "enc_dst_port" documentation to manpage which was
  accidently removed by b2a1f740aa4d ("tc: flower: document that *_ip
  parameters take a PREFIX as an argument.")

Cc: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
man/man8/tc-flower.8
tc/f_flower.c

index 33104963696cb49b5a3b2bc434d48b5430d10fe4..5904a9ecafdf269956d5c24b31c52e4407365655 100644 (file)
@@ -40,7 +40,7 @@ flower \- flow based traffic control filter
 .BR enc_dst_ip " | " enc_src_ip " } { "
 .IR ipv4_address " | " ipv6_address " } | "
 .B enc_dst_port
-.IR UDP-PORT " | "
+.IR port_number
 .SH DESCRIPTION
 The
 .B flower
@@ -136,6 +136,8 @@ which have to be specified in beforehand.
 .BI enc_dst_ip " PREFIX"
 .TQ
 .BI enc_src_ip " PREFIX"
+.TQ
+.BI enc_dst_port " NUMBER"
 Match on IP tunnel metadata. Key id
 .I NUMBER
 is a 32 bit tunnel key id (e.g. VNI for VXLAN tunnel).
index ba8b756b8a9efbf09bc8c33601110e514a4d0ee9..99f5f8163ee0b571e432f9e615ebe56a7c8eb418 100644 (file)
@@ -58,7 +58,7 @@ static void explain(void)
                "                       enc_src_ip [ IPV4-ADDR | IPV6-ADDR ] |\n"
                "                       enc_key_id [ KEY-ID ] |\n"
                "                       matching_flags MATCHING-FLAGS | \n"
-               "                       enc_dst_port [ UDP-PORT ] }\n"
+               "                       enc_dst_port [ port_number ] }\n"
                "       FILTERID := X:Y:Z\n"
                "       MASKED_LLADDR := { LLADDR | LLADDR/MASK | LLADDR/BITS }\n"
                "       ACTION-SPEC := ... look at individual actions\n"