Re: [PATCH nft] parser: compact list of rhs keyword expressions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 27, 2016 at 06:18:16PM +0200, Florian Westphal wrote:
> Condenses the copy/pastry via a define, will make it less of a hassle
> to extend this list later if needed.

So the main goal of this is to find a solution for meta skuid, ct
label and such that allow any arbitrary string as value.

I continued a patch on top of this to place in the keyword_expr rule
the remaining keywords and return a symbol expression here.

I didn't finish this, but still MAP and SET tokens cannot be used from
there as they are valid to show after the selectors (bison detects
this by complaining on shift/reduce conflicts), so still the user
cannot create a gid whose name is 'map'.

Another possibility to display this values using quotes, so the
scanner always handles them as arbitrary values.  So the syntax looks
like:

        meta skuid "daemon"

or
        ct label "http"

>From a user side, it would be also visible that these are an arbitrary
user-defined string.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux