Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [10-2003 Date Index] [Date Next] || [Thread Prev] [10-2003 Thread Index] [Thread Next]

[openbeosnetteam] Re: net_server

  • From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Tue, 21 Oct 2003 23:42:05 GMT
> IIRC (it's been a long time) you should compile everyting net related 
> with USERLAND=1 or something along these lines.

That's not true anymore, and we lost this mecanism when we switch from 
makefiles to jamfiles.
Since, I've removed all #if USERLAND references, switching back to the 
same with 
build system-defined _KERNEL_MODE which is far enought.

However, I've failed ot find time to write jamfile building userland 
add-ons from the src/add-ons/kernel/network/* modules codes, something 
Ingo already have done for his DiskScannerTest app. 
I should try to follow his step here...

> But I also think that our net stack driver had the same name for 
> both, 
> userland and the kernel back then, so that wasn't an issue. 

Not true anymore too:
net_stack_driver publish /dev/net/stack, where net_stack_server publish 
/dev/net/server, so both can live along.

> libnet.so 
> doesn't have to know if the stack is in the kernel or not.

Agreed.
 
-Philippe


--
Fortune Cookie Says:

All wars are civil wars, because all men are brothers ... Each one owes
infinitely more to the human race than to the particular country in
which he was born.
                -- Francois Fenelon





[ 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.