Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Pit Linnartz" <linnartz@software-ag.de>
Subject: Re: ether_input() and domain_add() issues in TRU64 4.0E
Date: 1999/09/21	[thread overview]
Message-ID: <7s88f2$nqi$1@gamma.ecomp.net> (raw)
In-Reply-To: 37e28781.366508200@giserve.genroco.com

As far as I can tell, Tru64 comes really with a lot of documentation
especially in the dev driver area. you further have the ability to look
online at your co0unter etc.
Did you take a look at
http://www.unix.digital.com/faqs/publications/dev_doc/DOCUMENTATION/HTML/Dig
ital_UNIX_Bookshelf.html
there is a writing network device driver document,  with a sample
driver discussed (3com if I remeber right). It sounds more, that
you want to implement a pseudodriver at a higher layer, but I guess
it's worthwhile to take a look at these docs first

Pit

Peter La Casse wrote in message <37e28781.366508200@giserve.genroco.com>...
>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-21  4:00 UTC|newest]

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