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
| ||
|
Message-ID: <20190128130221.zocbgxjiqzupdm6l@breakpoint.cc> Date: Mon, 28 Jan 2019 14:02:21 +0100 From: Florian Westphal <fw@...len.de> To: Marcelo Ricardo Leitner <mleitner@...hat.com> Cc: Simon Horman <simon.horman@...ronome.com>, Guy Shattah <sguy@...lanox.com>, Aaron Conole <aconole@...hat.com>, John Hurley <john.hurley@...ronome.com>, Justin Pettit <jpettit@....org>, Gregory Rose <gvrose8192@...il.com>, Eelco Chaudron <echaudro@...hat.com>, Flavio Leitner <fbl@...hat.com>, Florian Westphal <fwestpha@...hat.com>, Jiri Pirko <jiri@...nulli.us>, Rashid Khan <rkhan@...hat.com>, Sushil Kulkarni <sukulkar@...hat.com>, Andy Gospodarek <andrew.gospodarek@...adcom.com>, Roi Dayan <roid@...lanox.com>, Yossi Kuperman <yossiku@...lanox.com>, Or Gerlitz <ogerlitz@...lanox.com>, Rony Efraim <ronye@...lanox.com>, "davem@...emloft.net" <davem@...emloft.net>, netdev@...r.kernel.org Subject: Re: [RFC PATCH 2/6] net/sched: flower: add support for matching on ConnTrack Marcelo Ricardo Leitner <mleitner@...hat.com> wrote: > > us too: > > enum ip_conntrack_info { > IP_CT_ESTABLISHED, = 0 > IP_CT_RELATED, = 1 > IP_CT_NEW, = 2 > IP_CT_IS_REPLY, = 3 <-- > IP_CT_ESTABLISHED_REPLY = IP_CT_ESTABLISHED + IP_CT_IS_REPLY, > 0 + 3 = 3 <-- Don't worry, there is no IP_CT_ESTABLISHED_REPLY state, just pretend you did not see it :-) As for UAPI, I suggest to check net/netfilter/nft_ct.c which already exposes established/new/invalid and so on.
Powered by blists - more mailing lists