[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1287650781.13326.1.camel@este.odu>
Date: Thu, 21 Oct 2010 10:46:21 +0200
From: KOVACS Krisztian <hidden@...abit.hu>
To: Jan Engelhardt <jengelh@...ozas.de>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
Patrick McHardy <kaber@...sh.net>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH 4/9] tproxy: added tproxy sockopt interface in the IPV6
layer
Hi,
On Thu, 2010-10-21 at 10:39 +0200, Jan Engelhardt wrote:
> On Wednesday 2010-10-20 13:21, KOVACS Krisztian wrote:
>
> >@@ -268,6 +268,10 @@ struct in6_flowlabel_req {
> > /* RFC5082: Generalized Ttl Security Mechanism */
> > #define IPV6_MINHOPCOUNT 73
> >
> >+#define IPV6_ORIGDSTADDR 74
> >+#define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR
> >+#define IPV6_TRANSPARENT 75
> >+
>
> Why do we actually need two names for the same thing?
IPV6_RECVORIGDSTADDR is the name of the socket option you're supposed to
set if you require the original destination address. IPV6_ORIGDSTADDR is
the name of the ancillary message you get with the actual address in it.
Just like we have it for IP_TOS/IP_RECVTOS, for example.
--KK
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists