[openbeosnetteam] Re: Network overview

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

Other related posts: