Re: General routing Encapsulation
Re: General routing Encapsulation
- Subject: Re: General routing Encapsulation
- From: Justin Walker <email@hidden>
- Date: Mon, 24 Mar 2003 17:31:50 -0800
On Monday, Mar 24, 2003, at 16:59 US/Pacific, SQUID USER wrote:
Hi,
I am looking for General routing encapsulation
(GRE) support for MAC OS. I did downloadthe kernel
sources and looked for the GRE option in the kernel
config files and did not find any.
I don't believe that the GRE support is available in Darwin.
I would appreciate if someone could direct me for a
way to get GRE support on MAC OS.
Crank up your editor :-}
The GRE module is available on FreeBSD and a module
exists on Linux.
The kernel for Darwin/Mac OS X is pretty full-featured, i.e., most
supported features are already turned on, so there is no need to build
a kernel just to get a supported feature.
You can build your own kernel, of course, but you would do that only to
add features or debug problems (or learn the mysteries of kernel
life...).
The way to proceed is to get a copy of the FreeBSD 'gre' code that
corresponds to the version of Mac OSX or Darwin you are running (for
10.2/6.x, that's FreeBSD 4.4, I think, with maybe a hint of 4.5 thrown
in).
Then you have some porting to do. The issue here is that, while the
network stack architecture is BSD, the actual implementation differs
from FreeBSD in several important respects. The 'NKE' architecture was
designed to permit developers to add networking support at all levels
of the system, and in particular, at the device layer, without forcing
everything to be ethernet.
You will have to see how other device types have been integrated into
Darwin. Start with the 'gif' and 'stf' network interface code to see
how the code changed from its BSD form to its Darwin form.
The porting job will be straight-forward, but somewhat tedious.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.