Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: peter_lacasse@bigfoot.com (Peter La Casse)
Subject: ether_input() and domain_add() issues in TRU64 4.0E
Date: 1999/09/17	[thread overview]
Message-ID: <37e28781.366508200@giserve.genroco.com> (raw)

Hello,

I am implementing a dynamically loadable network layer protocol under
TRU64 4.0E and I'm having some "lack of documentation" issues.  So far
my two best sources of information are the system header files (no
source files, unfortunately) and Stevens' _TCP/IP Illustrated Volume
2_.

I'm using domain_add() and domain_del() to dynamically load and unload
my domain structure, which contains just one protosw structure for
now.  The system seems to load these and call their init functions
properly, returning zero for both domain_add() and domain_del(), which
I have deduced is good.

My protocol has its own ethertype, and my problem concerns two aspects
of this:

1.  How do I make the system aware of my ethertype?  Other ethertypes,
such as ETHERTYPE_IP and ETHERTYPE_ARP appear to be hardcoded into the
OS.

2.  What are the incoming packet queue names under TRU64?  According
to Stevens, the ip input queue, for instance, is named ipintrq (of
type struct ifqueue.)  Under TRU64, it appears as if a different name
is used.  I'm not sure how my protocol's input queue should be
created; is that my responsibility, or will domain_add do it?  (Having
source for domain_add or ether_input would be nice.)

Regarding the second, in Stevens p. 105, ether_input simply ignores
ethernet packets with an ethertype it is not aware of.  However, it
seems logical that if the domain_add function exists, there must be
some way of dynamically associating an ethertype with a protocol.
Does TRU64 actually do this?

Any help you can give (or pointers to additional documentation that
might help me) are greatly appreciated.

Thanks,

Peter La Casse




             reply	other threads:[~1999-09-17  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-17  4:00 Peter La Casse [this message]
1999-09-21  4:00 ` ether_input() and domain_add() issues in TRU64 4.0E Pit Linnartz
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox