Ei kuvausta

structsniff__ip.html 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: Referencia de la Estructura sniff_ip</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generado por Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Página&#160;principal</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
  42. <li><a href="files.html"><span>Archivos</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Buscar" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
  64. <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
  65. <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
  66. <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-attribs">Atributos públicos</a> &#124;
  85. <a href="structsniff__ip-members.html">Lista de todos los miembros</a> </div>
  86. <div class="headertitle">
  87. <div class="title">Referencia de la Estructura sniff_ip</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>The <a class="el" href="structsniff__ip.html" title="The sniff_ip struct defines the packet header of a tcp internet packet. Used to extract IP layer info...">sniff_ip</a> struct defines the packet header of a tcp internet packet. Used to extract IP layer information from a packet.
  91. <a href="structsniff__ip.html#details">Más...</a></p>
  92. <p><code>#include &lt;<a class="el" href="ip__hdr_8h_source.html">ip_hdr.h</a>&gt;</code></p>
  93. <table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  95. Atributos públicos</h2></td></tr>
  96. <tr class="memitem:a8ced3d6237cb8b0538e73227843b4edb"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">ip_vhl</a></td></tr>
  97. <tr class="separator:a8ced3d6237cb8b0538e73227843b4edb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:aa850a52985272f13d6866d14be1ecdf6"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">ip_tos</a></td></tr>
  99. <tr class="separator:aa850a52985272f13d6866d14be1ecdf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:aa4907e31555a52a20bc0eadc46d45044"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">ip_len</a></td></tr>
  101. <tr class="separator:aa4907e31555a52a20bc0eadc46d45044"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a9cae00d3f7491ce2bfcb086880b1aa6a"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">ip_id</a></td></tr>
  103. <tr class="separator:a9cae00d3f7491ce2bfcb086880b1aa6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:aecf13449d60d1e0b7d78a64fcd3e54de"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">ip_off</a></td></tr>
  105. <tr class="separator:aecf13449d60d1e0b7d78a64fcd3e54de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:abed391544944e353d09e85030f423ec8"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#abed391544944e353d09e85030f423ec8">ip_ttl</a></td></tr>
  107. <tr class="separator:abed391544944e353d09e85030f423ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a49d22326de644e4d1158ef7ae4fb22b7"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#a49d22326de644e4d1158ef7ae4fb22b7">ip_p</a></td></tr>
  109. <tr class="separator:a49d22326de644e4d1158ef7ae4fb22b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a263384b09865cda4a03e3451de740c84"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#a263384b09865cda4a03e3451de740c84">ip_sum</a></td></tr>
  111. <tr class="separator:a263384b09865cda4a03e3451de740c84"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:ad2db4a1d3fbfb1bcc44e5a26d6c28c2e"><td class="memItemLeft" align="right" valign="top">struct in_addr ip_src&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ip.html#ad2db4a1d3fbfb1bcc44e5a26d6c28c2e">ip_dst</a></td></tr>
  113. <tr class="separator:ad2db4a1d3fbfb1bcc44e5a26d6c28c2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table>
  115. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  116. <div class="textblock"><p>The <a class="el" href="structsniff__ip.html" title="The sniff_ip struct defines the packet header of a tcp internet packet. Used to extract IP layer info...">sniff_ip</a> struct defines the packet header of a tcp internet packet. Used to extract IP layer information from a packet. </p>
  117. </div><h2 class="groupheader">Documentación de los datos miembro</h2>
  118. <a class="anchor" id="ad2db4a1d3fbfb1bcc44e5a26d6c28c2e"></a>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">struct in_addr ip_src sniff_ip::ip_dst</td>
  124. </tr>
  125. </table>
  126. </div><div class="memdoc">
  127. <p>source and dest address / direccion fuente y destino </p>
  128. </div>
  129. </div>
  130. <a class="anchor" id="a9cae00d3f7491ce2bfcb086880b1aa6a"></a>
  131. <div class="memitem">
  132. <div class="memproto">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">u_short sniff_ip::ip_id</td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p>identification / identificacion </p>
  140. </div>
  141. </div>
  142. <a class="anchor" id="aa4907e31555a52a20bc0eadc46d45044"></a>
  143. <div class="memitem">
  144. <div class="memproto">
  145. <table class="memname">
  146. <tr>
  147. <td class="memname">u_short sniff_ip::ip_len</td>
  148. </tr>
  149. </table>
  150. </div><div class="memdoc">
  151. <p>total length / largo total </p>
  152. </div>
  153. </div>
  154. <a class="anchor" id="aecf13449d60d1e0b7d78a64fcd3e54de"></a>
  155. <div class="memitem">
  156. <div class="memproto">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">u_short sniff_ip::ip_off</td>
  160. </tr>
  161. </table>
  162. </div><div class="memdoc">
  163. <p>fragment offset field / offset del campo de fragmento </p>
  164. </div>
  165. </div>
  166. <a class="anchor" id="a49d22326de644e4d1158ef7ae4fb22b7"></a>
  167. <div class="memitem">
  168. <div class="memproto">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">u_char sniff_ip::ip_p</td>
  172. </tr>
  173. </table>
  174. </div><div class="memdoc">
  175. <p>protocol / protocolo </p>
  176. </div>
  177. </div>
  178. <a class="anchor" id="a263384b09865cda4a03e3451de740c84"></a>
  179. <div class="memitem">
  180. <div class="memproto">
  181. <table class="memname">
  182. <tr>
  183. <td class="memname">u_short sniff_ip::ip_sum</td>
  184. </tr>
  185. </table>
  186. </div><div class="memdoc">
  187. <p>checksum </p>
  188. </div>
  189. </div>
  190. <a class="anchor" id="aa850a52985272f13d6866d14be1ecdf6"></a>
  191. <div class="memitem">
  192. <div class="memproto">
  193. <table class="memname">
  194. <tr>
  195. <td class="memname">u_char sniff_ip::ip_tos</td>
  196. </tr>
  197. </table>
  198. </div><div class="memdoc">
  199. <p>type of service / tipo de servicio </p>
  200. </div>
  201. </div>
  202. <a class="anchor" id="abed391544944e353d09e85030f423ec8"></a>
  203. <div class="memitem">
  204. <div class="memproto">
  205. <table class="memname">
  206. <tr>
  207. <td class="memname">u_char sniff_ip::ip_ttl</td>
  208. </tr>
  209. </table>
  210. </div><div class="memdoc">
  211. <p>time to live / tiempo de vida </p>
  212. </div>
  213. </div>
  214. <a class="anchor" id="a8ced3d6237cb8b0538e73227843b4edb"></a>
  215. <div class="memitem">
  216. <div class="memproto">
  217. <table class="memname">
  218. <tr>
  219. <td class="memname">u_char sniff_ip::ip_vhl</td>
  220. </tr>
  221. </table>
  222. </div><div class="memdoc">
  223. <p>version &lt;&lt; 4 | header length &gt;&gt; 2 </p>
  224. </div>
  225. </div>
  226. <hr/>La documentación para esta estructura fue generada a partir del siguiente fichero:<ul>
  227. <li><a class="el" href="ip__hdr_8h_source.html">ip_hdr.h</a></li>
  228. </ul>
  229. </div><!-- contents -->
  230. <!-- start footer part -->
  231. <hr class="footer"/><address class="footer"><small>
  232. Generado el Miércoles, 24 de Junio de 2015 15:25:32 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  233. <img class="footer" src="doxygen.png" alt="doxygen"/>
  234. </a> 1.8.9.1
  235. </small></address>
  236. </body>
  237. </html>