All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Liu Zhiyong" <liuzhiyo@comp.nus.edu.sg>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] to classify non-IP packet???
Date: Mon, 10 Feb 2003 14:50:19 +0000	[thread overview]
Message-ID: <marc-lartc-104488871526426@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104441554705677@msgid-missing>

I have successfully classified QRoute packet from IP packet by adding
{0x8000, "qroute"} to /iproute2/lib/ll_protocol.c, and make iproute2
again,then use: "tc filter add dev eth0 parent 1: prio 5 protocol qroute u32
match u8 0x00 0x00 at 0 flowid 1:10". It will classify the all the qroute
packet to flow 1:10. Now I want to further classify QRoute packet according
to the first 2 bytes of the packet, I have tried to use tc filter add dev
eth0 parent 1: prio 6 protocol qroute u32 match u8 0x40 0xff at 0 flowid
1:20", but it doesn't work! anyone know how to do it?



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2003-02-10 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05  3:24 [LARTC] to classify non-IP packet??? Liu Zhiyong
2003-02-06 15:23 ` Liu Zhiyong
2003-02-06 15:23 ` Liu Zhiyong
2003-02-10 14:50 ` Liu Zhiyong [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=marc-lartc-104488871526426@msgid-missing \
    --to=liuzhiyo@comp.nus.edu.sg \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.