Linux Fast-STREAMS Installation and Reference Manual Version 0.9.2 Edition 4 Updated 2008-10-31 Package Streams-0.9.2.4
Total Page:16
File Type:pdf, Size:1020Kb
Linux Fast-STREAMS Installation and Reference Manual Version 0.9.2 Edition 4 Updated 2008-10-31 Package streams-0.9.2.4 Brian Bidulock <[email protected]> for The OpenSS7 Project <http://www.openss7.org/> Copyright c 2001-2008 OpenSS7 Corporation <http://www.openss7.com/> Copyright c 1997-2000 Brian F. G. Bidulock <[email protected]> All Rights Reserved. Published by OpenSS7 Corporation 1469 Jefferys Crescent Edmonton, Alberta T6L 6T1 Canada This is texinfo edition 4 of the Linux Fast-STREAMS manual, and is consistent with streams 0.9.2. This manual was developed under the OpenSS7 Project and was funded in part by OpenSS7 Corporation. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the con- ditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another lan- guage, under the same conditions as for modified versions. i Short Contents Preface ::::::::::::::::::::::::::::::::::::::::::::::::: 1 Quick Start Guide :::::::::::::::::::::::::::::::::::::::: 9 1 Introduction :::::::::::::::::::::::::::::::::::::::: 15 2 Objective ::::::::::::::::::::::::::::::::::::::::::: 17 3 Reference ::::::::::::::::::::::::::::::::::::::::::: 21 4 Development :::::::::::::::::::::::::::::::::::::::: 37 5 Porting :::::::::::::::::::::::::::::::::::::::::::: 53 6 Conformance :::::::::::::::::::::::::::::::::::::::: 57 7 Releases :::::::::::::::::::::::::::::::::::::::::::: 61 8 Installation ::::::::::::::::::::::::::::::::::::::::: 85 9 Troubleshooting :::::::::::::::::::::::::::::::::::: 133 Licenses ::::::::::::::::::::::::::::::::::::::::::::::: 143 Indices :::::::::::::::::::::::::::::::::::::::::::::::: 177 iii Table of Contents Preface :::::::::::::::::::::::::::::::::::::::::::::: 1 Notice :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 Abstract :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 Objective :::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 Intent :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 Audience::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 Revisions:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 Version Control :::::::::::::::::::::::::::::::::::::::::::::::::: 2 ISO 9000 Compliance :::::::::::::::::::::::::::::::::::::::::::: 4 Disclaimer :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 4 U.S. Government Restricted Rights ::::::::::::::::::::::::::::::: 5 Acknowledgements :::::::::::::::::::::::::::::::::::::::::::::::::: 5 Sponsors ::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 5 Contributors ::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 Authors ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 Maintainer :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 Web Resources :::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 Quick Start Guide :::::::::::::::::::::::::::::::::: 9 Linux Fast-STREAMS :::::::::::::::::::::::::::::::::::::::::::::: 9 Release :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 Prerequisites :::::::::::::::::::::::::::::::::::::::::::::::::::: 10 Installation ::::::::::::::::::::::::::::::::::::::::::::::::::::: 10 Brief Installation Instructions ::::::::::::::::::::::::::::::::::: 11 Detailed Installation Instructions :::::::::::::::::::::::::::::::: 12 1 Introduction ::::::::::::::::::::::::::::::::::: 15 1.1 Overview ::::::::::::::::::::::::::::::::::::::::::::::::::::: 15 1.2 Organization of this Manual::::::::::::::::::::::::::::::::::: 15 1.3 Conventions and Definitions ::::::::::::::::::::::::::::::::::: 15 2 Objective::::::::::::::::::::::::::::::::::::::: 17 2.1 Background ::::::::::::::::::::::::::::::::::::::::::::::::::: 17 2.2 What is STREAMS? :::::::::::::::::::::::::::::::::::::::::: 17 2.3 Why STREAMS? ::::::::::::::::::::::::::::::::::::::::::::: 18 2.4 Why STREAMS for Linux? ::::::::::::::::::::::::::::::::::: 18 2.5 History of STREAMS for Linux ::::::::::::::::::::::::::::::: 19 2.6 Why Fast? :::::::::::::::::::::::::::::::::::::::::::::::::::: 19 iv Linux Fast-STREAMS 3 Reference :::::::::::::::::::::::::::::::::::::: 21 3.1 Files :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 21 3.2 Drivers ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 23 3.3 Modules :::::::::::::::::::::::::::::::::::::::::::::::::::::: 26 3.4 Libraries :::::::::::::::::::::::::::::::::::::::::::::::::::::: 28 3.4.1 libstreams Library Routines :::::::::::::::::::::::::::::: 28 3.4.2 libLiS Library Routines :::::::::::::::::::::::::::::::::: 29 3.4.3 libpLiS Library Routines ::::::::::::::::::::::::::::::::: 30 3.4.4 Using the Library :::::::::::::::::::::::::::::::::::::::: 30 3.5 Utilities ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 31 3.5.1 Init Scripts::::::::::::::::::::::::::::::::::::::::::::::: 31 3.5.2 User Utilities::::::::::::::::::::::::::::::::::::::::::::: 31 3.5.3 Administrative Utilities :::::::::::::::::::::::::::::::::: 32 3.5.4 Performance Test Programs :::::::::::::::::::::::::::::: 34 3.5.5 Conformance Test Programs:::::::::::::::::::::::::::::: 35 4 Development ::::::::::::::::::::::::::::::::::: 37 4.1 Header Files :::::::::::::::::::::::::::::::::::::::::::::::::: 37 4.1.1 User Space Programs::::::::::::::::::::::::::::::::::::: 39 4.1.2 Kernel Space Drivers and Modules:::::::::::::::::::::::: 39 4.2 Libraries :::::::::::::::::::::::::::::::::::::::::::::::::::::: 39 4.3 Kernel Modules ::::::::::::::::::::::::::::::::::::::::::::::: 40 4.4 Manual Pages ::::::::::::::::::::::::::::::::::::::::::::::::: 40 5 Porting ::::::::::::::::::::::::::::::::::::::::: 53 5.1 Porting from LiS :::::::::::::::::::::::::::::::::::::::::::::: 54 5.2 Porting from SVR 4.2 MP::::::::::::::::::::::::::::::::::::: 55 5.3 Porting from Solaris::::::::::::::::::::::::::::::::::::::::::: 55 5.4 Porting from UnixWare ::::::::::::::::::::::::::::::::::::::: 55 5.5 Porting from Mentat :::::::::::::::::::::::::::::::::::::::::: 55 6 Conformance::::::::::::::::::::::::::::::::::: 57 6.1 Standards Compliance :::::::::::::::::::::::::::::::::::::::: 57 6.1.1 User Interface Compliance:::::::::::::::::::::::::::::::: 57 6.1.2 Service Interface Compliance ::::::::::::::::::::::::::::: 57 6.1.3 Kernel Interface Compliance:::::::::::::::::::::::::::::: 57 6.2 STREAMS Compatibility ::::::::::::::::::::::::::::::::::::: 58 v 7 Releases :::::::::::::::::::::::::::::::::::::::: 61 7.1 Prerequisites :::::::::::::::::::::::::::::::::::::::::::::::::: 61 7.2 Compatibility ::::::::::::::::::::::::::::::::::::::::::::::::: 61 7.2.1 GNU/Linux Distributions :::::::::::::::::::::::::::::::: 61 7.2.2 Kernel ::::::::::::::::::::::::::::::::::::::::::::::::::: 63 7.2.3 Architectures::::::::::::::::::::::::::::::::::::::::::::: 64 7.2.4 Linux STREAMS :::::::::::::::::::::::::::::::::::::::: 64 7.3 Release Notes ::::::::::::::::::::::::::::::::::::::::::::::::: 64 Major changes for release streams-0.9.2.4 :::::::::::::::::::::::: 64 Major changes for release streams-0.9.2.3 :::::::::::::::::::::::: 66 Major changes for release streams-0.9.2.2 :::::::::::::::::::::::: 67 Major changes for release streams-0.9.2.1 :::::::::::::::::::::::: 67 Major changes for release streams-0.7a.6.rc3 ::::::::::::::::::::: 68 Major changes for release streams-0.7a.6.rc2 ::::::::::::::::::::: 69 Major changes for release streams-0.7a.6rc1 :::::::::::::::::::::: 69 Major changes for release streams-0.7a.5 ::::::::::::::::::::::::: 69 Major changes for release streams-0.7a.4 ::::::::::::::::::::::::: 70 Major changes for release streams-0.7a.3 ::::::::::::::::::::::::: 70 Major changes for release streams-0.7a-3::::::::::::::::::::::::: 70 Major changes for release streams-0.7a-2::::::::::::::::::::::::: 70 Initial release streams-0.7a-1 :::::::::::::::::::::::::::::::::::: 70 7.4 Maturity :::::::::::::::::::::::::::::::::::::::::::::::::::::: 71 7.4.1 Pre-Alpha Releases::::::::::::::::::::::::::::::::::::::: 71 7.4.2 Alpha Releases ::::::::::::::::::::::::::::::::::::::::::: 71 7.4.3 Beta Releases :::::::::::::::::::::::::::::::::::::::::::: 72 7.4.4 Gamma Releases ::::::::::::::::::::::::::::::::::::::::: 72 7.4.5 Production Releases :::::::::::::::::::::::::::::::::::::: 72 7.4.6 Unstable Releases :::::::::::::::::::::::::::::::::::::::: 72 7.5 Bugs:::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 72 7.5.1 Defect Notices ::::::::::::::::::::::::::::::::::::::::::: 73 7.5.2 Known Defects ::::::::::::::::::::::::::::::::::::::::::: 73 7.5.3 Defect History ::::::::::::::::::::::::::::::::::::::::::: 73 7.6 Schedule :::::::::::::::::::::::::::::::::::::::::::::::::::::: 78 7.7 History ::::::::::::::::::::::::::::::::::::::::::::::::::::::: 83 8 Installation::::::::::::::::::::::::::::::::::::: 85 8.1 Repositories::::::::::::::::::::::::::::::::::::::::::::::::::: 85 8.1.1 Repositories for YUM :::::::::::::::::::::::::::::::::::: 85 8.1.2 Repositories for APT::::::::::::::::::::::::::::::::::::: 86 8.2 Downloading :::::::::::::::::::::::::::::::::::::::::::::::::: 87 8.2.1 Downloading with YUM:::::::::::::::::::::::::::::::::: 87 8.2.2 Downloading with APT :::::::::::::::::::::::::::::::::: 89 8.2.3 Downloading the Binary RPM:::::::::::::::::::::::::::: 89 8.2.4 Downloading the Debian DEB ::::::::::::::::::::::::::::