Newer
Older
ubixos / doc / doxygen / html / structip__hdr.html
@reddawg reddawg on 18 Jun 2004 15 KB UbixOS PreRelease
<!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>Ubixos: ip_hdr struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.3 -->
<h1>ip_hdr Struct Reference</h1><code>#include &lt;<a class="el" href="ipv4_2ip_8h-source.html">ip.h</a>&gt;</code>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a0">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _v_hl_tos)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a1">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _len)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a2">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _id)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a3">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _offset)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a4">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _ttl_proto)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a5">PACK_STRUCT_FIELD</a> (<a class="el" href="types_8h.html#a2">uInt16</a> _chksum)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a6">PACK_STRUCT_FIELD</a> (struct <a class="el" href="structip__addr.html">ip_addr</a> src)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#a7">PACK_STRUCT_FIELD</a> (struct <a class="el" href="structip__addr.html">ip_addr</a> <a class="el" href="structip__hdr.html#o8">dest</a>)</td></tr>

<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o0">tclass1</a>:4</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o1">v</a>:4</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o2">flow1</a>:4</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o3">tclass2</a>:4</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u16_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o4">flow2</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u16_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o5">len</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o6">nexthdr</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>u8_t&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o7">hoplim</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structip__addr.html">ip_addr</a> src&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structip__hdr.html#o8">dest</a></td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a name="a7" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct <a class="el" href="structip__addr.html">ip_addr</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>dest</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a6" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">struct <a class="el" href="structip__addr.html">ip_addr</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>src</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a5" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_chksum</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a4" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_ttl_proto</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a3" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_offset</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a2" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_id</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_len</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a0" doxytag="ip_hdr::PACK_STRUCT_FIELD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> ip_hdr::PACK_STRUCT_FIELD </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="types_8h.html#a2">uInt16</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>_v_hl_tos</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a name="o8" doxytag="ip_hdr::dest"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> struct <a class="el" href="structip__addr.html">ip_addr</a> src <a class="el" href="structip__hdr.html#o8">ip_hdr::dest</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o2" doxytag="ip_hdr::flow1"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o2">ip_hdr::flow1</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o4" doxytag="ip_hdr::flow2"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u16_t <a class="el" href="structip__hdr.html#o4">ip_hdr::flow2</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o7" doxytag="ip_hdr::hoplim"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o7">ip_hdr::hoplim</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o5" doxytag="ip_hdr::len"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u16_t <a class="el" href="structip__hdr.html#o5">ip_hdr::len</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o6" doxytag="ip_hdr::nexthdr"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o6">ip_hdr::nexthdr</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o0" doxytag="ip_hdr::tclass1"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o0">ip_hdr::tclass1</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o3" doxytag="ip_hdr::tclass2"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o3">ip_hdr::tclass2</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="o1" doxytag="ip_hdr::v"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> u8_t <a class="el" href="structip__hdr.html#o1">ip_hdr::v</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="ipv4_2ip_8h-source.html">ipv4/ip.h</a><li><a class="el" href="ipv6_2ip_8h-source.html">ipv6/ip.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat May 8 09:28:25 2004 for Ubixos by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.3 </small></address>
</body>
</html>