next up previous contents index
Next: References Up: x-Kernel Programmer's Manual Previous: Troubleshooting

Releasing a Protocol

 

Once you have debugged and tuned a new protocol, you can make it available for others to use by creating a new directory in /usr/xkernel/protocols, copying your source files into that directory, creating a makefile in that directory, and modifying the makefile in /usr/xkernel/protocols. If your protocol is a device driver, instead put the source files in /usr/xkernel/user_level/platforms/PLATFORM/drivers, where PLATFORM is one of sunos, solaris, osf1, irix, or linux. You should put any public .h files in /usr/xkernel/inclue/prot. Finally, you need to update the prottbl files in /usr/xkernel/etc to include protocol numbers for your new protocol, and /usr/xkernel/include/upi.h to include a base control op number for your protocol.

If you want to make your new protocol available to other sites, then make a tar file of your protocol available and drop a note to xkernel-help@cs.arizona.edu. We will include your protocol in the next release. You should also create a ``man page'' for you protocol similar to those found in the Appendix. The source files for these man pages are in /usr/xkernel/doc/manual/protocols.



Larry Peterson
Tue Jul 1 14:50:34 MST 1997