All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Guenter <lists-netfilter-devel@bruce-guenter.dyndns.org>
To: netfilter-devel@lists.netfilter.org
Subject: Variable-length data?
Date: Wed, 15 Sep 2004 11:18:14 -0600	[thread overview]
Message-ID: <20040915171814.GA30824@em.ca> (raw)

Greetings.

I have written a simple filter for matching multiple network masks in a
list.  From what I can see, the actual netfilter data has to be constant
sized.  Is this true, or is there an easy way to have a non-fixed size
list of addresses (for example)?  It seems rather wasteful to allocate a
large array when only a small one is needed.

Thanks.
-- 
Bruce Guenter <bruceg@em.ca> http://em.ca/~bruceg/ http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8

             reply	other threads:[~2004-09-15 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15 17:18 Bruce Guenter [this message]
2004-09-15 18:10 ` Variable-length data? Henrik Nordstrom

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=20040915171814.GA30824@em.ca \
    --to=lists-netfilter-devel@bruce-guenter.dyndns.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 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.