tc: flower: Update documentation to indicate ARP takes IPv4 prefixes
Unlike other PREFIXes documented in the usage for tc flower, which accept both IPv4 and IPv6 prefixes, arp_sip and arp_tip only accepts IPv4 prefixes. Signed-off-by: Simon Horman <simon.horman@netronome.com>
This commit is contained in:
parent
81f6e5a727
commit
c7ec052bb8
|
|
@ -36,7 +36,7 @@ flower \- flow based traffic control filter
|
||||||
.BR dst_port " | " src_port " } "
|
.BR dst_port " | " src_port " } "
|
||||||
.IR port_number " } | { "
|
.IR port_number " } | { "
|
||||||
.BR arp_tip " | " arp_sip " } "
|
.BR arp_tip " | " arp_sip " } "
|
||||||
.IR PREFIX " | "
|
.IR IPV4_PREFIX " | "
|
||||||
.BR arp_op " { " request " | " reply " | "
|
.BR arp_op " { " request " | " reply " | "
|
||||||
.IR OP " } | { "
|
.IR OP " } | { "
|
||||||
.BR arp_tha " | " arp_sha " } "
|
.BR arp_tha " | " arp_sha " } "
|
||||||
|
|
@ -139,11 +139,11 @@ Match on ICMP type or code. Only available for
|
||||||
.BR ip_proto " values " icmp " and " icmpv6
|
.BR ip_proto " values " icmp " and " icmpv6
|
||||||
which have to be specified in beforehand.
|
which have to be specified in beforehand.
|
||||||
.TP
|
.TP
|
||||||
.BI arp_tip " PREFIX"
|
.BI arp_tip " IPV4_PREFIX"
|
||||||
.TQ
|
.TQ
|
||||||
.BI arp_sip " PREFIX"
|
.BI arp_sip " IPV4_PREFIX"
|
||||||
Match on ARP or RARP sender or target IP address.
|
Match on ARP or RARP sender or target IP address.
|
||||||
.I PREFIX
|
.I IPV4_PREFIX
|
||||||
must be a valid IPv4 address optionally followed by a slash and the prefix
|
must be a valid IPv4 address optionally followed by a slash and the prefix
|
||||||
length. If the prefix is missing, \fBtc\fR assumes a full-length host
|
length. If the prefix is missing, \fBtc\fR assumes a full-length host
|
||||||
match.
|
match.
|
||||||
|
|
|
||||||
|
|
@ -59,8 +59,8 @@ static void explain(void)
|
||||||
" src_port PORT-NUMBER |\n"
|
" src_port PORT-NUMBER |\n"
|
||||||
" type ICMP-TYPE |\n"
|
" type ICMP-TYPE |\n"
|
||||||
" code ICMP-CODE |\n"
|
" code ICMP-CODE |\n"
|
||||||
" arp_tip PREFIX |\n"
|
" arp_tip IPV4-PREFIX |\n"
|
||||||
" arp_sip PREFIX |\n"
|
" arp_sip IPV4-PREFIX |\n"
|
||||||
" arp_op [ request | reply | OP ] |\n"
|
" arp_op [ request | reply | OP ] |\n"
|
||||||
" arp_tha MASKED-LLADDR |\n"
|
" arp_tha MASKED-LLADDR |\n"
|
||||||
" arp_sha MASKED-LLADDR |\n"
|
" arp_sha MASKED-LLADDR |\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue