On 12/14/2009 09:17 PM, Jan Engelhardt wrote:
On Monday 2009-12-14 16:20, Tobias Koeck wrote:
I have two netfilter kernel modules (xt_RQS.c, xt_RQD.c, both include a header
file with a data structure in it).
Does both kernel modules use the same datastructures or do they use seperate
ones (in normal C programming I know that but I'm not sure about the kernel
scopes).
You decide whether they do. This does not change just because you are in
kernel space.
Can you please give a short example how to to it?
Let's say you've got one data structure (int a) in the header file.
How can you access it in both c-files? Do you have to export it?
Is there a deeper information how the kernel scope is structured?
--
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