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

📄 structucb.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>ucb struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center><hr><h1>ucb Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>This structure holds various fields used to keep track of UDP socket states, settings and event listener function. <p><p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00506">506</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Data Fields</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="structucb.html#m5">UINT8</a>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m0">state</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>State of socket entry.</em> <a href="#m0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="structucb.html#m5">UINT8</a>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m1">tos</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Type of service allocated for a socket.</em> <a href="#m1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="structucb.html#m7">UINT16</a>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m2">locport</a></td></tr><tr><td nowrap align=right valign=top><a class="el" href="structucb.html#m5">UINT8</a>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m3">opts</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Socket options.</em> <a href="#m3"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m4">INT8</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>UDP socket application event listener.</em> <a href="#m4"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m5">UINT8</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>UDP socket application event listener.</em> <a href="#m5"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m6">UINT32</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>UDP socket application event listener.</em> <a href="#m6"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="structucb.html#m7">UINT16</a></td></tr><tr><td>&nbsp;</td><td><font size=-1><em>UDP socket application event listener.</em> <a href="#m7"></a><em></em></font><br><br></td></tr></table><hr><h2>Field Documentation</h2><a name="m0" doxytag="ucb::state"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structucb.html#m5">UINT8</a> ucb::state      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This variable holds state of a particular UDP socket entry  in the UDP socket table. Following values are possible: <ul><li> UDP_STATE_FREE <li> UDP_STATE_CLOSED <li> UDP_STATE_OPENED </ul><p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00516">516</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="udp_8c-source.html#l00550">process_udp_in()</a>, <a class="el" href="udp_8c-source.html#l00340">udp_close()</a>, <a class="el" href="udp_8c-source.html#l00684">udp_getfreeport()</a>, <a class="el" href="udp_8c-source.html#l00175">udp_getsocket()</a>, <a class="el" href="udp_8c-source.html#l00118">udp_init()</a>, <a class="el" href="udp_8c-source.html#l00291">udp_open()</a>, <a class="el" href="udp_8c-source.html#l00244">udp_releasesocket()</a>, and <a class="el" href="udp_8c-source.html#l00395">udp_send()</a>.    </td>  </tr></table><a name="m1" doxytag="ucb::tos"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structucb.html#m5">UINT8</a> ucb::tos      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>For now no services implemented so this value is not important. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00523">523</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="udp_8c-source.html#l00175">udp_getsocket()</a>, <a class="el" href="udp_8c-source.html#l00118">udp_init()</a>, <a class="el" href="udp_8c-source.html#l00244">udp_releasesocket()</a>, and <a class="el" href="udp_8c-source.html#l00395">udp_send()</a>.    </td>  </tr></table><a name="m2" doxytag="ucb::locport"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structucb.html#m7">UINT16</a> ucb::locport      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Local UDP port of Socket <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00525">525</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="udp_8c-source.html#l00550">process_udp_in()</a>, <a class="el" href="udp_8c-source.html#l00684">udp_getfreeport()</a>, <a class="el" href="udp_8c-source.html#l00175">udp_getsocket()</a>, <a class="el" href="udp_8c-source.html#l00118">udp_init()</a>, <a class="el" href="udp_8c-source.html#l00291">udp_open()</a>, <a class="el" href="udp_8c-source.html#l00244">udp_releasesocket()</a>, and <a class="el" href="udp_8c-source.html#l00395">udp_send()</a>.    </td>  </tr></table><a name="m3" doxytag="ucb::opts"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structucb.html#m5">UINT8</a> ucb::opts      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Currently, this holds information about checksum calculation options. Can be one of the following: <ul><li> UDP_OPT_NONE - cheksum calculation not performed <li> UDP_OPT_SEND_CS - checksum is calculated for outgoing UDP packets <li> UDP_OPT_CHECK_CS - checksum is checked for incoming UDP packets <li> UDP_OPT_SEND_CS | UDP_OPT_CHECK_CS - both checksum calculations are enabled </ul><p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00539">539</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="udp_8c-source.html#l00550">process_udp_in()</a>, <a class="el" href="udp_8c-source.html#l00175">udp_getsocket()</a>, <a class="el" href="udp_8c-source.html#l00118">udp_init()</a>, <a class="el" href="udp_8c-source.html#l00244">udp_releasesocket()</a>, and <a class="el" href="udp_8c-source.html#l00395">udp_send()</a>.    </td>  </tr></table><a name="m4" doxytag="ucb::INT8"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> ucb::INT8      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Pointer to a event listener - a callback function used by TCP/IP stack to notify application about certain events. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00547">547</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.    </td>  </tr></table><a name="m5" doxytag="ucb::UINT8"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> ucb::UINT8      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Pointer to a event listener - a callback function used by TCP/IP stack to notify application about certain events. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00547">547</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.    </td>  </tr></table><a name="m6" doxytag="ucb::UINT32"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> ucb::UINT32      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Pointer to a event listener - a callback function used by TCP/IP stack to notify application about certain events. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00547">547</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.    </td>  </tr></table><a name="m7" doxytag="ucb::UINT16"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> ucb::UINT16      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Pointer to a event listener - a callback function used by TCP/IP stack to notify application about certain events. <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00547">547</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.    </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li>/opentcp/include/inet/<a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a></ul><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:33:01 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

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