From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6fda382687607f3b X-Google-Attributes: gidfee84,public From: "Pit Linnartz" Subject: Re: ether_input() and domain_add() issues in TRU64 4.0E Date: 1999/09/21 Message-ID: <7s88f2$nqi$1@gamma.ecomp.net>#1/1 X-Deja-AN: 527853810 References: <37e28781.366508200@giserve.genroco.com> X-Server-Date: 21 Sep 1999 15:32:50 GMT X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: e.comp Engineering GmbH, Germany Newsgroups: comp.unix.osf.osf1 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 >