From: Tobias Koeck <tobias.koeck@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: netfilter kernel modules question
Date: Mon, 14 Dec 2009 21:48:23 +0100 [thread overview]
Message-ID: <4B26A497.8000900@gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.01.0912142130020.14802@obet.zrqbmnf.qr>
>
> You can argue what a data structure is or what it is not; a header
> file should not include any definitions, only declarations. (And
> perhaps static-inlines, but that's probably too expert for you at
> this stage.) Various C-related forums or IRC channels can enlighten
> you towards the reasoning for that.
'int a' is declaration (only used in a function it's a definition).
Does that mean if I define a (nonstatic) variable in a kernel module
and it's accessible in the whole kernel?
Don't worry - last kernel newbie question from myself ;=).
Greetings
tk
next prev parent reply other threads:[~2009-12-14 20:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 15:20 netfilter kernel modules question Tobias Koeck
2009-12-14 20:17 ` Jan Engelhardt
2009-12-14 20:28 ` Tobias Koeck
2009-12-14 20:32 ` Jan Engelhardt
2009-12-14 20:48 ` Tobias Koeck [this message]
2009-12-14 20:52 ` Jan Engelhardt
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=4B26A497.8000900@gmail.com \
--to=tobias.koeck@gmail.com \
--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 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.