tproxy: added udp6_lib_lookup function
authorBalazs Scheidler <bazsi@balabit.hu>
Thu, 21 Oct 2010 14:05:41 +0000 (16:05 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 21 Oct 2010 14:05:41 +0000 (16:05 +0200)
commitaa976fc011efa1f0e3290c6c9addf7c20757f885
tree93e692330e1d8e3e366bb0fec71b394c5e79ee93
parent88440ae70eda83d0cc94148d404f4990c9f1289c
tproxy: added udp6_lib_lookup function

Just like with IPv4, we need access to the UDP hash table to look up local
sockets, but instead of exporting the global udp_table, export a lookup
function.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>
Signed-off-by: KOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/udp.h
net/ipv6/udp.c