📄 ipproto.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ipProto.html - generated by refgen from ipProto.c --> <title> ipProto </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual : Libraries</i></a></p></blockquote><h1>ipProto</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>ipProto</strong> - an interface between the BSD IP protocol and the MUX </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./ipProto.html#ipAttach">ipAttach</a></i>( )</b> - a generic attach routine for the TCP/IP network stack<br><b><i><a href="./ipProto.html#ipDetach">ipDetach</a></i>( )</b> - a generic detach routine for the TCP/IP network stack<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides an interface between the Berkeley protocol stackand the MUX interface. The <b><i><a href="./ipProto.html#ipAttach">ipAttach</a></i>( )</b> routine binds the IP protocol toa specific device. It is called automatically during network initialization if <b>INCLUDE_END</b> is defined. The <b><i><a href="./ipProto.html#ipDetach">ipDetach</a></i>( )</b> routine removes an existingbinding.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>end.h</b> <b>muxLib.h</b> <b>etherMultiLib.h</b> <b>sys/ioctl.h</b> <b>etherLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ipProto.html#top">ipProto</a></b><hr><a name="ipAttach"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ipAttach</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ipAttach</i>( )</strong> - a generic attach routine for the TCP/IP network stack</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int ipAttach ( int unit, /* Unit number */ char * pDevice /* Device name (i.e. ln, ei etc.). */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine takes the unit number and device name of an END driver(e.g., "ln0", "ei0", etc.) and attaches the TCP/IP stack to the MUX. If completed successfully, the IP protocol will begin receiving packetsfrom that driver.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ipProto.html#top">ipProto</a></b><hr><a name="ipDetach"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ipDetach</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ipDetach</i>( )</strong> - a generic detach routine for the TCP/IP network stack</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS ipDetach ( int unit, /* Unit number */ char * pDevice /* Device name (i.e. ln, ei etc.). */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine removes the TCP/IP stack from the MUX. If completedsuccessfully, the IP protocol will no longer receive packetsfrom the named END driver. <p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ipProto.html#top">ipProto</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -