netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] net/sched: cls_flower: Support matching on ICMP
@ 2016-12-07 11:34 Simon Horman
  2016-12-07 11:34 ` [PATCH net-next v4 1/2] flow dissector: ICMP support Simon Horman
  2016-12-07 11:34 ` [PATCH net-next v4 2/2] net/sched: cls_flower: Support matching on ICMP type and code Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Horman @ 2016-12-07 11:34 UTC (permalink / raw)
  To: Jiri Pirko; +Cc: Tom Herbert, David Miller, netdev, Simon Horman

Hi,

this series adds support for matching on ICMP type and code to cls_flower.

Changes v3->v4:
* Do not add icmp to struct flow_keys, it is not needed
* Do not test for ICMP protocols in packet in __skb_flow_dissect,
  this is also not needed

Changes v2->v3:
* Add FLOW_DISSECTOR_KEY_ICMP and use separate structure for ICMP

Changes v1->v2:
* Include all dissector helpers in first patch

Simon Horman (2):
  flow dissector: ICMP support
  net/sched: cls_flower: Support matching on ICMP type and code

 include/net/flow_dissector.h | 30 +++++++++++++++++++++++++++
 include/uapi/linux/pkt_cls.h | 10 +++++++++
 net/core/flow_dissector.c    | 31 ++++++++++++++++++++++++++++
 net/sched/cls_flower.c       | 49 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 120 insertions(+)

-- 
2.7.0.rc3.207.g0ac5344

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-07 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 11:34 [PATCH net-next v4 0/2] net/sched: cls_flower: Support matching on ICMP Simon Horman
2016-12-07 11:34 ` [PATCH net-next v4 1/2] flow dissector: ICMP support Simon Horman
2016-12-07 11:34 ` [PATCH net-next v4 2/2] net/sched: cls_flower: Support matching on ICMP type and code Simon Horman
2016-12-07 11:39   ` Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).