From: Mike Wright <nobody@nospam.hostisimo.com>
To: lartc@vger.kernel.org
Subject: use tc to drop a marked packet
Date: Fri, 22 Sep 2023 04:49:10 +0000 [thread overview]
Message-ID: <5aa41f08-64d2-8c36-c8f7-a3caed3eca89@nospam.hostisimo.com> (raw)
Hi lartc denizens,
I've never used tc before. I've tried to figure it out but never made
it very far.
I want to drop packets marked with hex 19. How would I do that?
Here's what I've got so far and am not sure this part is right:
tc filter add ... handle 0x019 fw classid 1:1 action drop
^^^ ^^^
Thanks for any help,
Mike Wright
reply other threads:[~2023-09-22 4:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5aa41f08-64d2-8c36-c8f7-a3caed3eca89@nospam.hostisimo.com \
--to=nobody@nospam.hostisimo.com \
--cc=lartc@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).