lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 22 Jan 2015 10:50:34 -0500 From: Jamal Hadi Salim <jhs@...atatu.com> To: Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org CC: davem@...emloft.net Subject: Re: [patch net-next RFC] tc: introduce OpenFlow classifier On 01/22/15 08:37, Jiri Pirko wrote: > This patch introduces OpenFlow-based filter. So far, the very essential > packet fields are supported (according to OpenFlow v1.4 spec). > > Known issues: skb_flow_dissect hashes out ipv6 addresses. That needs > to be changed to store them somewhere so they can be used later on. > > Signed-off-by: Jiri Pirko <jiri@...nulli.us> > --- > include/uapi/linux/pkt_cls.h | 33 +++ > net/sched/Kconfig | 11 + > net/sched/Makefile | 1 + > net/sched/cls_openflow.c | 514 +++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 559 insertions(+) > create mode 100644 net/sched/cls_openflow.c > > diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h > index 25731df..d4cef16 100644 > --- a/include/uapi/linux/pkt_cls.h > +++ b/include/uapi/linux/pkt_cls.h > @@ -402,6 +402,39 @@ enum { > > #define TCA_BPF_MAX (__TCA_BPF_MAX - 1) > > +/* OpenFlow classifier */ > + > +enum { > + TCA_OF_UNSPEC, > + TCA_OF_CLASSID, > + TCA_OF_POLICE, > + TCA_OF_INDEV, I think POLICE is an old way of doing policing and INDEV if i am not mistaken is only legit for u32 classifier. So i am not sure you want to keep them. Other than that looks good - will be interested to see how perfomance looks on this with the list walking ;-> cheers, jamal -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists