From: Balazs Scheidler Date: Mon, 17 Nov 2008 03:32:39 +0000 (-0800) Subject: TPROXY: implemented IP_RECVORIGDSTADDR socket option X-Git-Tag: v2.6.29-rc1~581^2~705 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b2dfe9b4501ed0047459b2756ba26e5a940a69;p=pandora-kernel.git TPROXY: implemented IP_RECVORIGDSTADDR socket option In case UDP traffic is redirected to a local UDP socket, the originally addressed destination address/port cannot be recovered with the in-kernel tproxy. This patch adds an IP_RECVORIGDSTADDR sockopt that enables a IP_ORIGDSTADDR ancillary message in recvmsg(). This ancillary message contains the original destination address/port of the packet being received. Signed-off-by: Balazs Scheidler Signed-off-by: David S. Miller --- Reading git-diff-tree failed