Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site cernvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!teddy!panda!talcott!harvard!seismo!mcvax!cernvax!ben From: ben@cernvax.UUCP (ben) Newsgroups: net.unix-wizards Subject: Re: 4.2 networking question Message-ID: <128@cernvax.UUCP> Date: Wed, 23-Jan-85 14:38:41 EST Article-I.D.: cernvax.128 Posted: Wed Jan 23 14:38:41 1985 Date-Received: Mon, 28-Jan-85 07:03:59 EST References: <188@wdl1.UUCP> Reply-To: ben@cernvax.UUCP (PUT YOUR NAME HERE) Organization: CERN, Geneva/Switzerland Lines: 11 Summary: Here is the answer to your question about raw IP. I suppose several people have answered as it is quite simple. All you have to do is add an entry to the protocol switch table in the file /sys/netinet/in_proto.c; this should be an exact duplicate (and can directly follow) the entry for normal raw IP, but the value IPPROTO_RAW should be changed to your own value IPPROTO_XNET (= 15). To be tidy, define this latter thing in /sys/netinet/in.h by the way. If you are serious about wanting to remove the IP headers completely, then your task is much harder (I know 'cos I've done it...). Good hacking! Ben M. Segal (CERN-DD, 1211 Geneva 23, Switzerland).