LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH 12/26] IPVS: Extend proto handler debug functions to handle I

To: "Julius R. Volz" <juliusv@xxxxxxxxxx>
Subject: Re: [PATCH 12/26] IPVS: Extend proto handler debug functions to handle IPv6.
Cc: lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, horms@xxxxxxxxxxxx, davem@xxxxxxxxxxxxx, vbusam@xxxxxxxxxx
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Wed, 11 Jun 2008 19:17:14 +0200
Julius R. Volz wrote:
Extend protocol handler packet debug functions for TCP, UDP, AH and ESP to
handle IPv6. Make the main debug function call either a v4 or v6 version,
depending on the packet protocol version.

The only difference appears to be the address format and header
offset. You could save some duplication by using an af-independant
address debugging function and add a helper to get the proto offset.
Similar to how x_tables and nf_conntrack do it.

--
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>