All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: "Paul C. Diem" <PCDiem@FoxValley.net>
Cc: Jesper Dangaard Brouer <hawk@diku.dk>,
	netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] libiptc.c blob parser
Date: Fri, 07 Jul 2006 06:21:25 +0200	[thread overview]
Message-ID: <44ADE145.7020508@trash.net> (raw)
In-Reply-To: <FFEPKIHJDEDDAAFOFDGFOELECBAA.PCDiem@FoxValley.net>

Paul C. Diem wrote:
> The patch I posted earlier assumed that the rule's chain was the last one on
> the chain list and used the 32-bit comefrom field to hold the offset of the
> chain list entry.
> 
> This improved patch uses the chain_iterator_cur handle field to more
> accurately get the chain, uses the counters field cast as a pointer to hold
> a pointer directly to the chain list entry and only bothers to load the
> pointer for the first rule in each chain (since that's the only one we need
> it in).

I'm not very familiar with that code, so I wonder how that affects
the counter values if you specifially set them or use iptables-save
--counters.

  reply	other threads:[~2006-07-07  4:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-24  4:52 [PATCH] libiptc.c blob parser Paul C. Diem
2006-06-24 12:06 ` Jesper Dangaard Brouer
2006-06-24 15:57   ` Paul C. Diem
2006-06-24 21:09   ` Paul C. Diem
2006-07-07  4:21     ` Patrick McHardy [this message]
2006-07-15 20:11       ` Paul C. Diem

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=44ADE145.7020508@trash.net \
    --to=kaber@trash.net \
    --cc=PCDiem@FoxValley.net \
    --cc=hawk@diku.dk \
    --cc=netfilter-devel@lists.netfilter.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.