From: Jesse Peng <jesse@deansoft.com.tw>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: pablo neira <pablo@eurodev.net>, netfilter-devel@lists.netfilter.org
Subject: Re: ip_conntrack_get
Date: Tue, 09 Dec 2003 17:48:37 +0800 [thread overview]
Message-ID: <3FD59A75.7020709@deansoft.com.tw> (raw)
In-Reply-To: Pine.LNX.4.44.0312090916320.23521-100000@filer.marasystems.com
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
Henrik Nordstrom wrote:
>On Tue, 9 Dec 2003, Jesse Peng wrote:
>
>
>
>>while a new ip_conntrack cache initiates, every member
>>infos[i](nf_ct_info structure) then be charged with the same address
>>value pointing to the ip_conntrack cache's begining address(it's the
>>address of its first member nf_conntrack structure naming ct_general also).
>>
>>
>
>Right.. now I get why this construct is looking like it does. It is a
>tradeoff "wasting" some space per conntrack to limit the mount of fields
>needed in the skb.
>
>By using this construct both the ctinfo and conntrack can be derived from
>a single pointer in the skb.
>
>For systems using conntrack a lot it would be more efficient to extend the
>skb with one more field for ctinfo, but as it is good if the skb is the
>same regardless if conntrack is enabled or not and this construct is a
>good tradeoff.
>
>It is however possible to reduce the size of this construct considerably
>to just one byte per ctinfo.
>
>Thanks
>Henrik
>
>
>
As I never deeply think how this construct can be redesigned, after read
your insight.. now I begin to figure out why the skbuff.h prevent
including ip_conntrack.h, and why nf_conntrack defined in skbuff.h
Thanks
Jesse
[-- Attachment #2: Type: text/html, Size: 1570 bytes --]
prev parent reply other threads:[~2003-12-09 9:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 23:06 ip_conntrack_get pablo neira
2003-11-11 23:55 ` ip_conntrack_get Henrik Nordstrom
2003-12-09 3:58 ` ip_conntrack_get Jesse Peng
2003-12-09 8:51 ` ip_conntrack_get Henrik Nordstrom
2003-12-09 9:48 ` Jesse Peng [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=3FD59A75.7020709@deansoft.com.tw \
--to=jesse@deansoft.com.tw \
--cc=hno@marasystems.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@eurodev.net \
/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.