Subject: Re: placement of PFIL_HOOKS filtering points
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 11/06/2000 22:12:32
On Tue, Nov 07, 2000 at 01:12:46PM +0900, itojun@iijlab.net wrote:
> if we need to revisit endian swap in ip_input, i'd like to see
> no endian swap in kernel. raw ip input should swap for backward
> compatibility reasons, and that's all we need to swap.
You mean "swap it into a local variable in the function"?
Since rawip is supposed to be "what a protocol driver would see", then
really we'd want to not swap there, too.
--
-- Jason R. Thorpe <thorpej@zembu.com>