From: Harald Welte <laforge@netfilter.org>
To: Balazs Scheidler <bazsi@balabit.hu>
Cc: Linux Netdev List <netdev@vger.kernel.org>,
Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>
Subject: Re: [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack
Date: Tue, 31 Jan 2006 10:26:24 +0100 [thread overview]
Message-ID: <20060131092624.GM4603@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <1138697452.5005.9.camel@bzorp.balabit>
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
On Tue, Jan 31, 2006 at 09:50:52AM +0100, Balazs Scheidler wrote:
> > - int32_t offset_before, offset_after;
> > + int16_t offset_before, offset_after;
>
> Am I missing something or is it only 4 bytes?
I knew someone would ask that question ;)
we have that structure as part of an IP_CT_DIR_MAX array, therefore it's
twice in every conntrack, and thus we save 8 bytes ;)
--
- Harald Welte <laforge@netfilter.org> http://netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-01-31 9:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-30 23:22 [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack Harald Welte
2006-01-30 23:50 ` David S. Miller
2006-01-31 8:50 ` Balazs Scheidler
2006-01-31 9:26 ` Harald Welte [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=20060131092624.GM4603@sunbeam.de.gnumonks.org \
--to=laforge@netfilter.org \
--cc=bazsi@balabit.hu \
--cc=netdev@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox