Re: netfilter kernel modules question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux