Regarding connection mappings to module data structures

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

 



Hello Netfilter team,
 
I am seeking an infrastructure for mapping
conntrack(struct nf_conn) to a module private data structure as a context for
every connection.
I could not find any such.
 
I can add the private info when I see a new connection.
conntrack destroy events can be caught to destroy the
private structure.
But the thing is there is no mechanism to store the
private info mapped to a connection. Either I will have to maintain
hash-tables, which is highly irrelevant, or edit the nf_conn which seems a
better way.
 
What I was thinking is to have a list_head or a pointer
to a structure in nf_conn which can handle such scenarios.
 
Does this seems generic ? Well yes there is
conntrack_extend, but it is not generic to be usable by other modules.
 
Best Regards,
Deepak Jangid
--
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