LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addr

To: "Patrick McHardy" <kaber@xxxxxxxxx>
Subject: Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses.
Cc: lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx
From: "Julius Volz" <juliusv@xxxxxxxxxx>
Date: Wed, 11 Jun 2008 20:08:38 +0200
On Wed, Jun 11, 2008 at 7:52 PM, Patrick McHardy <kaber@xxxxxxxxx> wrote:
> Julius Volz wrote:
>>
>> On Wed, Jun 11, 2008 at 7:12 PM, Patrick McHardy <kaber@xxxxxxxxx> wrote:
>>
>>>
>>> include/net is always kernel only. At least it should be that way.
>>>
>>
>> ipvsadm has:
>>
>> INCLUDE         = -I/usr/src/linux/include -I.. -I.
>>
>> in its Makefile and then includes net/ip_vs.h. Even in the current version
>> :(
>>
>
> OK, thanks for the explanation.
>
>>>>  #define IP_VS_IFNAME_MAXLEN    16
>>>>  +union ip_vs_addr_user {
>>>> +       __be32                  v4;
>>>> +       struct in6_addr         v6;
>>>> +};
>>>>
>>>>
>>>
>>> Can't you use nf_inet_addr for this?
>>>
>>
>> Ah, yes. I either didn't know about this or wasn't sure if it was
>> appropriate to reuse that struct from netfilter. I will look into
>> putting this in!
>>
>>
>
> Thanks. But please remember to keep netdev CCed on responses
> to review.

Yes, sorry! Re-added the lists for this response.

Julius

-- 
Google Switzerland GmbH
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>