Thread (1 message) 1 message, 1 author, 2008-06-11

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

From: Julius Volz <hidden>
Date: 2008-06-11 18:08:44
Also in: lvs-devel

On Wed, Jun 11, 2008 at 7:52 PM, Patrick McHardy [off-list ref] wrote:
Julius Volz wrote:
quoted
On Wed, Jun 11, 2008 at 7:12 PM, Patrick McHardy [off-list ref] wrote:
quoted
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.
quoted
quoted
quoted
 #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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help