From: Tomas Mudrunka <mudrunka@spoje.net>
To: netfilter@vger.kernel.org
Subject: Re: Traffic shaping with nftables maps and tc
Date: Fri, 03 Nov 2017 17:28:33 +0100 [thread overview]
Message-ID: <9a12636557fc2e5e1636b86f8145db88@spoje.net> (raw)
In-Reply-To: <CAOkSjBjC9WBUvn0GFHfneJJmA9-03gH3ZjBj590WuUOLrzCiRg@mail.gmail.com>
> Could you please test the attached patch? It is quick and dirty, not
> even compiled tested.
Hell yeah! It loaded :-) Thank you.
That's one small line for a bison, one giant leap for traffic shaping on
nftables.
> +++ b/src/parser_bison.y
> @@ -1545,6 +1545,7 @@ type_identifier : STRING { $$ = $1; }
> | MARK { $$ = xstrdup("mark"); }
> | DSCP { $$ = xstrdup("dscp"); }
> | ECN { $$ = xstrdup("ecn"); }
> + | CLASSID { $$ = xstrdup("classid"); }
> ;
>
--
S pozdravem
Best regards
Tomáš Mudruňka - SPOJE.NET s.r.o.
prev parent reply other threads:[~2017-11-03 16:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 20:34 Traffic shaping with nftables maps and tc Tomas Mudrunka
2017-11-03 0:07 ` Tomas Mudrunka
2017-11-03 10:48 ` Arturo Borrero Gonzalez
2017-11-03 12:37 ` Tomas Mudrunka
2017-11-03 16:01 ` Arturo Borrero Gonzalez
2017-11-03 16:28 ` Tomas Mudrunka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a12636557fc2e5e1636b86f8145db88@spoje.net \
--to=mudrunka@spoje.net \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox