Нет описания

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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_udp 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__udp-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">sniff_udp Struct Reference</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>The <a class="el" href="structsniff__tcp.html" title="The sniff_tcp struct contains the TCP header. We use the first two members to extract the src and dst...">sniff_tcp</a> struct contains the UDP header. We use the first two members to extract the src and dst port. Used to extract TCP transport layer information from a packet.
  91. <a href="structsniff__udp.html#details">More...</a></p>
  92. <p><code>#include &lt;<a class="el" href="udp__hdr_8h_source.html">udp_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:a49a8d651767d716a5cb21f25746c7064"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a49a8d651767d716a5cb21f25746c7064"></a>
  97. u_short&#160;</td><td class="memItemRight" valign="bottom"><b>th_sport</b></td></tr>
  98. <tr class="separator:a49a8d651767d716a5cb21f25746c7064"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a3874575e288e08feaa5998a9eb374ff3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3874575e288e08feaa5998a9eb374ff3"></a>
  100. u_short&#160;</td><td class="memItemRight" valign="bottom"><b>th_dport</b></td></tr>
  101. <tr class="separator:a3874575e288e08feaa5998a9eb374ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a45fedf3d443e22e5c6bc39358af08428"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45fedf3d443e22e5c6bc39358af08428"></a>
  103. u_short&#160;</td><td class="memItemRight" valign="bottom"><b>th_len</b></td></tr>
  104. <tr class="separator:a45fedf3d443e22e5c6bc39358af08428"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a172ebd36dca0bb977635872b326bbb50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a172ebd36dca0bb977635872b326bbb50"></a>
  106. u_short&#160;</td><td class="memItemRight" valign="bottom"><b>th_sum</b></td></tr>
  107. <tr class="separator:a172ebd36dca0bb977635872b326bbb50"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. </table>
  109. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  110. <div class="textblock"><p>The <a class="el" href="structsniff__tcp.html" title="The sniff_tcp struct contains the TCP header. We use the first two members to extract the src and dst...">sniff_tcp</a> struct contains the UDP header. We use the first two members to extract the src and dst port. Used to extract TCP transport layer information from a packet. </p>
  111. </div><hr/>The documentation for this struct was generated from the following file:<ul>
  112. <li><a class="el" href="udp__hdr_8h_source.html">udp_hdr.h</a></li>
  113. </ul>
  114. </div><!-- contents -->
  115. <!-- start footer part -->
  116. <hr class="footer"/><address class="footer"><small>
  117. Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  118. <img class="footer" src="doxygen.png" alt="doxygen"/>
  119. </a> 1.8.9.1
  120. </small></address>
  121. </body>
  122. </html>