Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [07-2006 Date Index] [Date Next] || [Thread Prev] [07-2006 Thread Index] [Thread Next]

[openbeosnetteam] Re: Network overview

  • From: "Andrew Galante" <haiku.galante@xxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sat, 22 Jul 2006 19:09:24 -0400
Ok, now I've got a few questions:


Why are interfaces tied to a single domain? Is this a high level domain (internet) or low level (ethernet)? Are there low level domains?

What is the difference between a chain and a route - the layers they operate in?

I'm trying to get ping to work.  The ping program makes a call to
socket(AF_INET, SOCK_RAW, icmp->p_proto).  This should cause a new
ICMP object to be created, that is attached to the socket right?(this
currently causes an EAFNOSUPPORT error)  I assume ICMP would have to
be registered in the chain to handle these kinds of sockets.

Actually, the ping program makes a call to getprotobyname("ICMP")
before the socket call. - This just reads /etc/protocols and returns
the number associated with ICMP (in my case, 1).  Should this be
#defined somewhere in the ICMP module?

Sorry if that was a bit long-winded.

Thanks,
Andrew





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