Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [06-2002 Date Index] [Date Next] || [Thread Prev] [06-2002 Thread Index] [Thread Next]

[openbeosnetteam] Re: Kernel move...

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sun, 2 Jun 2002 13:26:32 +0200 (added by postmaster@wanadoo.fr)
Marcus wrote:
> >Not that I would really object against you, but it has an advantage: 
> >you can easily use networking functions from kernel drivers or file 
> >systems; you can use that API from everywhere.
> 
> This is a big pro for not using a socket driver approach.
> Which kernel drivers require to create sockets and send data?
> I don't know, perhaps a http server in the kernel, or a ftp 
filesystem.
> Might be a security problem to implement such things, but why not, 
allow it!

Writing a kernel module exporting the socket API to any kernel modules 
/ drivers who need it 
would be easy: the *hack*, to use David word, we do in libnet/socket.c 
can be done 
from a "network/socket_api" kernel module...

In fact, many low level services in BeOS / newOS are not provided by 
the kernel code itselft, but by kernel modules:
- sub-(kernel) modules, first
- PCI bus
- USB bus
- SCSI bus
- ISA bus
- PCMCIA cards service
- generic MIDI port support
- etc etc etc.

So, why not a socket api?
No need to modify the kernel code for that...

-Philippe

--
Fortune Cookie Says:

Give your child mental blocks for Christmas.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.