Re: searching tuples in conntrack

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

 



On Wednesday 2012-09-26 19:29, Miguel Alejandro González wrote:

>Hello,
>
>I have been reading some kernel code trying to find a function that
>searches the conntrack hash table for a transport address and returns
>the given tuple. Is there any way to do this? I found a function in
>the nat code called find_appropriate_src but i think it only works for
>the nat table...

nf_conntrack_find_get(...) is the one to use for CT lookup.
(Cf. xt_connlimit.c)

--
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