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

📄 structtcp__frame.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>tcp_frame 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>tcp_frame Struct Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>This structure holds header fields from the received TCP packet.<p>In addition to standard header fields, buf_index field has been added allowing applications to re-read the received data many times by reinitializing reading based on the address stored in this field. <p><p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00564">564</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>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m0">sport</a></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m1">dport</a></td></tr><tr><td nowrap align=right valign=top>UINT32&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m2">seqno</a></td></tr><tr><td nowrap align=right valign=top>UINT32&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m3">ackno</a></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m4">hlen_flags</a></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m5">window</a></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m6">checksum</a></td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m7">urgent</a></td></tr><tr><td nowrap align=right valign=top>UINT8&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m8">opt</a> [MAX_TCP_OPTLEN+1]</td></tr><tr><td nowrap align=right valign=top>UINT16&nbsp;</td><td valign=bottom><a class="el" href="structtcp__frame.html#m9">buf_index</a></td></tr></table><hr><h2>Field Documentation</h2><a name="m0" doxytag="tcp_frame::sport"></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"> UINT16 tcp_frame::sport      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Source port <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00566">566</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l02369">tcp_mapsocket()</a>, and <a class="el" href="tcp_8c-source.html#l02294">tcp_sendreset()</a>.    </td>  </tr></table><a name="m1" doxytag="tcp_frame::dport"></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"> UINT16 tcp_frame::dport      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Destination port <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00567">567</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l02369">tcp_mapsocket()</a>, and <a class="el" href="tcp_8c-source.html#l02294">tcp_sendreset()</a>.    </td>  </tr></table><a name="m2" doxytag="tcp_frame::seqno"></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"> UINT32 tcp_frame::seqno      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Sequence number <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00568">568</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, and <a class="el" href="tcp_8c-source.html#l02294">tcp_sendreset()</a>.    </td>  </tr></table><a name="m3" doxytag="tcp_frame::ackno"></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"> UINT32 tcp_frame::ackno      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Acknowledgement number <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00569">569</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, and <a class="el" href="tcp_8c-source.html#l02294">tcp_sendreset()</a>.    </td>  </tr></table><a name="m4" doxytag="tcp_frame::hlen_flags"></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"> UINT16 tcp_frame::hlen_flags      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Header length and flags <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00570">570</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>, <a class="el" href="tcp_8c-source.html#l02369">tcp_mapsocket()</a>, and <a class="el" href="tcp_8c-source.html#l02294">tcp_sendreset()</a>.    </td>  </tr></table><a name="m5" doxytag="tcp_frame::window"></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"> UINT16 tcp_frame::window      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Size of window <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00571">571</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>.    </td>  </tr></table><a name="m6" doxytag="tcp_frame::checksum"></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"> UINT16 tcp_frame::checksum      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>TCP packet checksum <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00572">572</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>.    </td>  </tr></table><a name="m7" doxytag="tcp_frame::urgent"></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"> UINT16 tcp_frame::urgent      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Urgent pointer <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00573">573</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>.    </td>  </tr></table><a name="m8" doxytag="tcp_frame::opt"></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"> UINT8 tcp_frame::opt[MAX_TCP_OPTLEN + 1]      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Option field <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00574">574</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</a>.    </td>  </tr></table><a name="m9" doxytag="tcp_frame::buf_index"></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"> UINT16 tcp_frame::buf_index      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Next offset from the start of network buffer <p>Definition at line <a class="el" href="tcp__ip_8h-source.html#l00575">575</a> of file <a class="el" href="tcp__ip_8h-source.html">tcp_ip.h</a>.<p>Referenced by <a class="el" href="tcp_8c-source.html#l01250">process_tcp_in()</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 + -