⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 net-common-tcpip-manpages-ipx.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>ipx</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos Reference Manual"HREF="ecos-ref.html"><LINKREL="UP"TITLE="TCP/IP Library Reference"HREF="tcpip-library-reference.html"><LINKREL="PREVIOUS"TITLE="inet_net"HREF="net-common-tcpip-manpages-inet-net.html"><LINKREL="NEXT"TITLE="iso_addr"HREF="net-common-tcpip-manpages-iso-addr.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos Reference Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="net-common-tcpip-manpages-inet-net.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 38. TCP/IP Library Reference</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="net-common-tcpip-manpages-iso-addr.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="NET-COMMON-TCPIP-MANPAGES-IPX">ipx</H1><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="SCREEN">IPX(3)                  System Library Functions Manual                 IPX(3)NAME     ipx_addr, ipx_ntoa - IPX address conversion routinesSYNOPSIS     #include &lt;sys/types.h&#62;     #include &lt;netipx/ipx.h&#62;     struct ipx_addr     ipx_addr(const char *cp);     char *     ipx_ntoa(struct ipx_addr ipx);DESCRIPTION     The routine ipx_addr() interprets character strings representing IPX     addresses, returning binary information suitable for use in system calls.     The routine ipx_ntoa() takes IPX addresses and returns ASCII strings rep-     resenting the address in a notation in common use:           &lt;network number&#62;.&lt;host number&#62;.&lt;port number&#62;     Trailing zero fields are suppressed, and each number is printed in hex-     adecimal, in a format suitable for input to ipx_addr().  Any fields lack-     ing super-decimal digits will have a trailing `H' appended.     An effort has been made to ensure that ipx_addr() be compatible with most     formats in common use.  It will first separate an address into 1 to 3     fields using a single delimiter chosen from period (`.'), colon (`:'), or     pound-sign (`#').  Each field is then examined for byte separators (colon     or period).  If there are byte separators, each subfield separated is     taken to be a small hexadecimal number, and the entirety is taken as a     network-byte-ordered quantity to be zero extended in the high-network-     order bytes.  Next, the field is inspected for hyphens, in which case the     field is assumed to be a number in decimal notation with hyphens separat-     ing the millenia.  Next, the field is assumed to be a number: It is     interpreted as hexadecimal if there is a leading `0x' (as in C), a trail-     ing `H' (as in Mesa), or there are any super-decimal digits present.  It     is interpreted as octal is there is a leading `0' and there are no super-     octal digits.  Otherwise, it is converted as a decimal number.RETURN VALUES     None.  (See BUGS.)SEE ALSO     ns(4), hosts(5), networks(5)HISTORY     The precursor ns_addr() and ns_ntoa() functions appeared in 4.3BSD.BUGS     The string returned by ipx_ntoa() resides in a static memory area.  The     function ipx_addr() should diagnose improperly formed input, and there     should be an unambiguous way to recognize this.BSD                              June 4, 1993                              BSD    </PRE></TD></TR></TABLE></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="net-common-tcpip-manpages-inet-net.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-ref.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="net-common-tcpip-manpages-iso-addr.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">inet_net</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="tcpip-library-reference.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">iso_addr</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -