Re: [UPDATE] zerocopy.. While working on ip.h stuff

Michael Peddemors (michael@linuxmagic.com)
Mon, 26 Feb 2001 15:46:56 -0800


While doing some work on some ip options stuff, I have noticed a bunchof
unused entries in linux/include/linux/ip.h

A few things.. why is ip.h not part of the linux/include/net rather than
linux/include/linux hierachy?

Defined items that are not used anywhere in the source..
Can any of them be deleted now?
<see below>

Also, I was looking into some RFC 1812 stuff. (Thanks for nothing Dave :) and
was looking at 4.2.2.6 where it mentions that a router MUST implement the End
of Option List option.. Havent' figured out where that is implememented yet..

Also was trying to figure out some things.
I want to create a new ip_option for use in some DOS protection experiments.
I have a whole 40 bytes (+/-) to share... Now although I don't see anything
explicitly prohibiting the use of unused IP Header option space, I know that
it really was designed for use by the sending parties, and not routers in
between.. Has anyone seen any RFC that explicitly says I MUST NOT?

IPTOS_PREC_NETCONTROL
IPTOS_PREC_FLASHOVERRIDE
IPTOS_PREC_FLASH
IPTOS_PREC_IMMEDIATE
IPTOS_PREC_PRIORITY
IPTOS_PREC_ROUTINE
IPOPT_RESERVED1
IPOPT_RESERVED2
IPOPT_OPTVAL
IPOPT_OLEN
IPOPT_MINOFF
MAX_IPOPTLEN
IPOPT_EOL

> diff -urN linux/include/net/ip.h linux.fixed/include/net/ip.h
--------------------------------------------------------
Michael Peddemors - Senior Consultant
Unix Administration - WebSite Hosting
Network Services - Programming
Wizard Internet Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
--------------------------------------------------------
(604) 589-0037 Beautiful British Columbia, Canada
--------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/