Re: [PATCH 00/26] IPVS: Add first IPv6 support to IPVS.
From: Julius Volz <hidden>
Date: 2008-06-11 20:14:30
Also in:
lvs-devel
From: Julius Volz <hidden>
Date: 2008-06-11 20:14:30
Also in:
lvs-devel
On Wed, Jun 11, 2008 at 9:53 PM, Julius Volz [off-list ref] wrote:
Adding members at the end sounds interesting! The current structs have the v4 address members in the middle of the struct, so you couldn't use a union of v4 and v6 anymore, but since it's only in the userspace interface, that shouldn't matter much. If this allows us to keep the interface backwards compatible in an easy way, that would be great.
Ah, but the set/get-sockopt calls also pass a size argument, which is the size of the passed structs. If the kernel and userspace struct sizes don't match, it is treated as an error. Is this in case different compilers pad the structs differently, even if the IPVS version stays the same? Julius -- Google Switzerland GmbH