From: Pierre Chifflier <pchifflier@edenwall.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Pierre Chifflier <chifflier@inl.fr>,
netfilter-devel@vger.kernel.org, eleblond@inl.fr
Subject: Re: [ULOGD2] UNIXSOCK plugin (v4)
Date: Thu, 14 Jan 2010 21:13:45 +0100 [thread overview]
Message-ID: <20100114201345.GA32383@piche.inl.fr> (raw)
In-Reply-To: <alpine.LSU.2.01.1001142056280.12046@obet.zrqbmnf.qr>
On Thu, Jan 14, 2010 at 08:57:27PM +0100, Jan Engelhardt wrote:
>
> On Thursday 2010-01-14 20:41, Pierre Chifflier wrote:
> >
> >Here is an updated version of the UNIXSOCK plugin.
> >
> >Changes for v4:
> >- use structures instead of reading integers directly
> >- all structures and fields are now aligned (4 bytes)
>
> Are there any 64-bit quantities or pointers in these structs?
> If so, this may need 8 bytes.
>
Hi Jan,
Currently there are only uint16_t, uint32_t and strings (char*) stored
in these structs.
Alignment is defined using a constant (ALIGN_SIZE) so changing to 8
bytes shouldn't be a problem if required later.
Pierre
prev parent reply other threads:[~2010-01-14 20:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 19:41 [ULOGD2] UNIXSOCK plugin (v4) Pierre Chifflier
2010-01-14 19:41 ` [PATCH 1/2] Add new input plugin UNIXSOCK Pierre Chifflier
2010-01-14 19:41 ` [PATCH 2/2] Add helper script pcap2ulog Pierre Chifflier
2010-01-14 19:57 ` [ULOGD2] UNIXSOCK plugin (v4) Jan Engelhardt
2010-01-14 20:13 ` Pierre Chifflier [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=20100114201345.GA32383@piche.inl.fr \
--to=pchifflier@edenwall.com \
--cc=chifflier@inl.fr \
--cc=eleblond@inl.fr \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).