Check out the ethertap device in the linux kernel for generation of raw ethernet frames.
Programs like BasiliskII (Apple Macintosh Emulator) can use the ethertap device (tap0). This allows a MacOS TCP/IP stack within BasiliskII to write to the datalink layer and bypass the internal TCP/IP stack used by the general linux system. Basilisk also ships with "sheep_net" kernel module you can compile to do something much like what you get with ethertap. check out netlink support (CONFIG_NETLINK) and CONFIG_ETHERTAP in the kernel as config options. Ethertap is degraded as it is being replaced by TAP/TUN. More Info: http://www.linuxhq.com/kernel/v2.4/doc/networking/ethertap.txt.html Hope this is what you are looking for. -ME -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++ L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ !PGP t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z? ------END GEEK CODE BLOCK------ decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html Systems Department Operating Systems Analyst for the SSU Library On Thu, 29 Nov 2001, Ganesh Subramaniam wrote: > I have 'nt got into details of Linux tcp/ip architecture. Can someone tell > me how coupled is the socket layer in linux with its native tcp/ip stack. Is > it possible for me to make the linux socket layer bypass the native tcp/ip > stack and communicate with some other layer (say another tcpip > implementation) , without affecting the existing applications. Would > appreciate some pointers,discussions on this subject. > > Thanks a lot ! > Ganesh _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
