[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4850089A.2090006@trash.net>
Date: Wed, 11 Jun 2008 19:17:14 +0200
From: Patrick McHardy <kaber@...sh.net>
To: "Julius R. Volz" <juliusv@...gle.com>
CC: lvs-devel@...r.kernel.org, netdev@...r.kernel.org,
horms@...ge.net.au, davem@...emloft.net, vbusam@...gle.com
Subject: Re: [PATCH 12/26] IPVS: Extend proto handler debug functions to handle
IPv6.
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 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