📄 streams.doc19.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="../../wrs.css"><title>Porting STREAMS Protocols to WindNet STREAMS WindNet STREAMS for Tornado </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc18.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc20.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="91389" class="autotag">4.7 Initialization of STREAMS-based Network Protocols in WindNet STREAMS</a></i></h3></font><dl class="margin"><dd><dl class="margin"><dd><p class="Body"><a name="91390" class="autotag"> </a>The WindNet STREAMS component defines a constant <b>STREAMS_PROTO_INIT_RTN</b> in <b class="file">configAll.h</b>. This constant is set to the name of the user-provided protocol initialization hook routine. STREAMS-based network protocols usually consist of multiple protocol drivers and modules, linked together in a specific order to assure functioning. For example , in a STREAMS-based implementation of X.25, the X.25 protocol layer and the LAPB driver are implemented as separate drivers. The protocol initialization hook routine does the plumbing operation by opening protocol drivers and linking them in a specified order to create a stream. <a href="streams.doc19.html#91424"><i class="title">Figure 16</i></a> shows how protocol drivers are plumbed together to create the X.25 protocol suite. <div class="frame"><h4 class="EntityTitle"><a name="91424" class="autotag"><font face="Helvetica, sans-serif" size="-1" class="sans">Figure 16. Example: X.25 Protocol Stack</font></a></h4><div class="CellBody"><a name="91421" class="autotag"> </a><img class="figure" border="0" alt="" src="images/streams.doc.anc11.gif"></div></div> </p></dd></dl></dd></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc18.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc20.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p></body></html><!---This file generated April 10, 1998, 12:25PM PDTby WRS Documentation (jeff), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 3.5.0 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -