mirror_iproute2/man/man8
Paul Blakey 08f66c80c0 tc: flower: Refactor matching flags to be more user friendly
Instead of "magic numbers" we can now specify each flag
by name. Prefix of "no"  (e.g nofrag) unsets the flag,
otherwise it wil be set.

Example:
    # add a flower filter that will drop fragmented packets
    tc filter add dev ens4f0 protocol ip parent ffff: \
            flower \
            src_mac e4:1d:2d:fd:8b:01 \
            dst_mac e4:1d:2d:fd:8b:02 \
            indev ens4f0 \
            ip_flags frag \
    action drop

    # add a flower filter that will drop non-fragmented packets
    tc filter add dev ens4f0 protocol ip parent ffff: \
            flower \
            src_mac e4:1d:2d:fd:8b:01 \
            dst_mac e4:1d:2d:fd:8b:02 \
            indev ens4f0 \
            ip_flags nofrag \
    action drop

Fixes: 22a8f01989 ('tc: flower: support matching flags')
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2017-01-20 10:36:45 -08:00
..
.gitignore whitespace cleanup 2017-01-12 17:31:20 -08:00
arpd.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
bridge.8 bridge: fdb: add state filter support 2017-01-12 17:38:55 -08:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
devlink-dev.8 devlink: Add option to set and show eswitch inline mode 2016-12-09 12:41:03 -08:00
devlink-monitor.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-port.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink-sb.8 devlink: add manpage for shared buffer 2016-04-19 08:01:05 -07:00
devlink.8 man: Point to 'devlink-sb' from 'devlink' man page 2016-07-15 11:46:39 -07:00
genl.8 genl: add manpage 2015-11-03 16:27:39 -08:00
ifcfg.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
ifstat.8 ifstat: add manpage 2015-11-03 16:27:39 -08:00
ip-address.8.in ip {link,address}: add 'macsec' item to TYPE list 2016-07-28 11:12:39 -07:00
ip-addrlabel.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-fou.8 iproute2: correct port in FOU/GRE example 2016-06-08 09:40:07 -07:00
ip-gue.8 iproute2: Man pages for fou and gue 2014-11-06 16:17:34 -08:00
ip-l2tp.8 man: ip-l2tp.8: document UDP checksum options 2016-11-29 13:31:30 -08:00
ip-link.8.in bpf: add initial support for attaching xdp progs 2016-12-09 12:44:12 -08:00
ip-macsec.8 macsec: fix input of 'port', improve documentation of 'address' 2016-09-01 09:08:50 -07:00
ip-maddress.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
ip-monitor.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-mroute.8 man: ip-*.8: drop any reference to generic ip options 2016-03-02 11:23:53 -08:00
ip-neighbour.8 ip neigh: Add support for keyword 2016-07-06 21:28:31 -07:00
ip-netconf.8 man: update netconf manual for new attributes 2016-03-21 12:15:58 -07:00
ip-netns.8 man: ip-netns.8: Clarify synopsis a bit 2016-03-02 11:23:52 -08:00
ip-ntable.8 man: ip-ntable.8: Review synopsis section 2016-03-02 11:23:52 -08:00
ip-route.8.in lwt: BPF support for LWT 2016-12-12 15:32:54 -08:00
ip-rule.8 ip rule: add selector support 2016-10-09 19:25:59 -07:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 ip, token: add del command 2016-05-31 12:10:29 -07:00
ip-tunnel.8 man: ip-tunnel.8: Document missing 6rd action 2016-03-02 11:23:52 -08:00
ip-vrf.8 Introduce ip vrf command 2016-12-13 10:20:16 -08:00
ip-xfrm.8 fix typo in ip-xfrm man page, rmd610 -> rmd160 2016-12-29 10:24:35 -08:00
ip.8 man: ip.8: add missing 'macsec' item to OBJECT list 2016-09-01 09:08:50 -07:00
lnstat.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
Makefile Revert "man pages: add man page for skbmod action" 2017-01-18 08:59:54 -08:00
nstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routef.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routel.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtacct.8 man: rtacct: add missing TP marker 2016-07-06 21:06:33 -07:00
rtmon.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
rtpr.8 man: rtpr: Fix minor typo 2016-06-08 08:37:30 -07:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 ss: Add support for SCTP protocol 2016-11-29 11:41:57 -08:00
tc-basic.8 tc: add a man page for basic filter 2015-10-23 15:37:26 -07:00
tc-bfifo.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-bpf.8 tc: cls_bpf: handle skip_sw and skip_hw flags 2016-10-17 05:27:59 -07:00
tc-cbq-details.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cbq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-cgroup.8 tc: add a man page for cgroup filter 2015-10-23 15:37:26 -07:00
tc-choke.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-connmark.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-csum.8 tc: m_csum: add support for SCTP checksum 2017-01-20 09:32:08 -08:00
tc-drr.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ematch.8 In tc-ematch.8, remove no-op .ti requests to prevent translation warnings 2013-07-12 08:33:08 -07:00
tc-flow.8 man/man8/tc-flow.8: minor corrections 2016-07-25 08:19:25 -07:00
tc-flower.8 tc: flower: Refactor matching flags to be more user friendly 2017-01-20 10:36:45 -08:00
tc-fq_codel.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-fq.8 man: fix whatis for fq 2016-01-06 10:29:06 -08:00
tc-fw.8 tc: add a man page for fw filter 2015-10-23 15:37:26 -07:00
tc-hfsc.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-htb.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-ife.8 tc: ife: correct spelling of prio in example 2017-01-12 17:40:19 -08:00
tc-matchall.8 tc: man: Add man entry for the matchall classifier. 2016-09-01 08:37:01 -07:00
tc-mirred.8 tc: m_mirred: Add support for ingress redirect/mirror 2016-10-26 11:20:47 -07:00
tc-mqprio.8 man: Spelling fixes 2015-11-23 15:39:25 -08:00
tc-nat.8 man: Add a man page for the nat action 2016-03-04 15:27:51 -08:00
tc-netem.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pedit.8 tc: connmark, pedit: Rename BRANCH to CONTROL 2016-03-27 10:34:42 -07:00
tc-pfifo_fast.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-pfifo.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
tc-pie.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-police.8 police: bug fix man page 2016-08-29 10:54:40 -07:00
tc-prio.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-red.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-route.8 tc: add a man page for route filter 2015-10-23 15:37:26 -07:00
tc-sfb.8 docs: make spacing consistent 2015-04-07 08:41:36 -07:00
tc-sfq.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-simple.8 man: Add a man page for the simple action 2016-03-04 15:27:51 -08:00
tc-skbedit.8 actions: skbedit add support for mod-ing skb pkt_type 2016-07-06 21:15:44 -07:00
tc-stab.8 iproute2: unmangle netdev/my emails in man pages (hfsc, stab) 2016-07-06 21:07:23 -07:00
tc-tbf.8 man8: scrub trailing whitespace 2015-11-23 15:41:37 -08:00
tc-tcindex.8 tc: add a man page for tcindex filter 2015-10-23 15:37:26 -07:00
tc-tunnel_key.8 tc/m_tunnel_key: Add dest UDP port to tunnel key action 2016-12-13 10:15:11 -08:00
tc-u32.8 man: tc-u32: Minor syntax fix 2016-03-04 15:27:52 -08:00
tc-vlan.8 tc: m_vlan: Add vlan modify action 2016-10-09 19:11:34 -07:00
tc-xt.8 man: Add a man page for the xt action 2016-03-04 15:27:51 -08:00
tc.8 tc: updated man page to reflect filter-id use in filter GET command. 2016-12-21 15:56:39 -08:00
tipc-bearer.8 tipc: add the ability to get UDP bearer options 2016-09-01 08:34:35 -07:00
tipc-link.8 tipc: update man page for link monitor 2016-09-20 09:13:09 -07:00
tipc-media.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-nametable.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-node.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-peer.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00
tipc-socket.8 man: Syntax and warning fixes 2015-11-23 15:39:25 -08:00
tipc.8 tipc: add peer remove functionality 2016-08-29 10:33:24 -07:00