Няма описание

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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: sniff_ethernet Struct Reference</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. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</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="Search" 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>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</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">Public Attributes</a> &#124;
  85. <a href="structsniff__ethernet-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">sniff_ethernet Struct Reference</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>The <a class="el" href="structsniff__ethernet.html" title="The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet re...">sniff_ethernet</a> struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet.
  91. <a href="structsniff__ethernet.html#details">More...</a></p>
  92. <p><code>#include &lt;<a class="el" href="ethernet__hdr_8h_source.html">ethernet_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. Public Attributes</h2></td></tr>
  96. <tr class="memitem:aefda8dbb54243c93c4d267ada25ba17f"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">ether_dhost</a> [ETHER_ADDR_LEN]</td></tr>
  97. <tr class="separator:aefda8dbb54243c93c4d267ada25ba17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:afe9a93573af998a8652b2c8b1694dd51"><td class="memItemLeft" align="right" valign="top">u_char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">ether_shost</a> [ETHER_ADDR_LEN]</td></tr>
  99. <tr class="separator:afe9a93573af998a8652b2c8b1694dd51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:ae66770fd4e71d27c6a6619670bac2efb"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">ether_type</a></td></tr>
  101. <tr class="separator:ae66770fd4e71d27c6a6619670bac2efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. </table>
  103. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  104. <div class="textblock"><p>The <a class="el" href="structsniff__ethernet.html" title="The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet re...">sniff_ethernet</a> struct defines the header of an ethernet frame, and is used to parse the packet received with pcap. Used to extract Ethernet layer information from a packet. </p>
  105. </div><h2 class="groupheader">Member Data Documentation</h2>
  106. <a class="anchor" id="aefda8dbb54243c93c4d267ada25ba17f"></a>
  107. <div class="memitem">
  108. <div class="memproto">
  109. <table class="memname">
  110. <tr>
  111. <td class="memname">u_char sniff_ethernet::ether_dhost[ETHER_ADDR_LEN]</td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. <p>destination host address / direccion destino </p>
  116. </div>
  117. </div>
  118. <a class="anchor" id="afe9a93573af998a8652b2c8b1694dd51"></a>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">u_char sniff_ethernet::ether_shost[ETHER_ADDR_LEN]</td>
  124. </tr>
  125. </table>
  126. </div><div class="memdoc">
  127. <p>source host address / direccion fuente </p>
  128. </div>
  129. </div>
  130. <a class="anchor" id="ae66770fd4e71d27c6a6619670bac2efb"></a>
  131. <div class="memitem">
  132. <div class="memproto">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">u_short sniff_ethernet::ether_type</td>
  136. </tr>
  137. </table>
  138. </div><div class="memdoc">
  139. <p>IP? ARP? RARP? etc </p>
  140. </div>
  141. </div>
  142. <hr/>The documentation for this struct was generated from the following file:<ul>
  143. <li><a class="el" href="ethernet__hdr_8h_source.html">ethernet_hdr.h</a></li>
  144. </ul>
  145. </div><!-- contents -->
  146. <!-- start footer part -->
  147. <hr class="footer"/><address class="footer"><small>
  148. Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  149. <img class="footer" src="doxygen.png" alt="doxygen"/>
  150. </a> 1.8.9.1
  151. </small></address>
  152. </body>
  153. </html>