All of lore.kernel.org
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Stephen Hemminger <shemminger@vyatta.com>
Cc: Patrick McHardy <kaber@trash.net>, netdev@vger.kernel.org
Subject: [PATCH][IPROUTE2] Fixup u32 pretty printing
Date: Sun, 20 Apr 2008 10:43:55 -0400	[thread overview]
Message-ID: <1208702635.12249.48.camel@localhost> (raw)

Stephen,

I am going to re-send the original patch i sent (my git skills are
limited) along with two others for a total of 3. 

With these patches:

1) the default output stays as it was before and only when the user
adds a -cooked does the new pretty printing take effect. Example:

--------
hadi@lilsol:~$ tc -c filter ls dev lo parent ffff:

filter protocol ip pref 9 u32 fh 801::802 order 2050 key ht 801 bkt 0
flowid 1:16
  match IP src 10.0.0.2/32
  match IP protocol 6
  match sport 53

hadi@lilsol:~$ tc -c filter ls dev lo parent ffff:

filter protocol ip pref 9 u32 fh 801::802 order 2050 key ht 801 bkt 0
flowid 1:16
  match 0a000002/ffffffff at 12
  match 00060000/00ff0000 at 8
  match 00000035/0000ffff at 20
--------

2) A new infrastructure within u32 classifier to add more pretty
printers is added and used for raw and ipv4.

I have at least two more patches lined up, but will wait for the
application of these 3 patches or any discussion of these three first
before submitting.

cheers,
jamal


             reply	other threads:[~2008-04-20 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-20 14:43 jamal [this message]
2008-04-20 15:00 ` [PATCH][IPROUTE2] Fixup u32 pretty printing jamal

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=1208702635.12249.48.camel@localhost \
    --to=hadi@cyberus.ca \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /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.