Нема описа

class_packet.html 29KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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 Clase Packet</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-methods">Métodos públicos</a> &#124;
  85. <a href="#pri-attribs">Atributos privados</a> &#124;
  86. <a href="class_packet-members.html">Lista de todos los miembros</a> </div>
  87. <div class="headertitle">
  88. <div class="title">Referencia de la Clase Packet</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>Una clase que representa paquetes.
  92. <a href="class_packet.html#details">Más...</a></p>
  93. <p><code>#include &lt;<a class="el" href="packet_8h_source.html">packet.h</a>&gt;</code></p>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  96. Métodos públicos</h2></td></tr>
  97. <tr class="memitem:aabcfb963c0d5bc0fa554668f92989622"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#aabcfb963c0d5bc0fa554668f92989622">Packet</a> ()</td></tr>
  98. <tr class="memdesc:aabcfb963c0d5bc0fa554668f92989622"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor por defecto. Las propiedades de el paquete se ajustan como sigue: <a href="#aabcfb963c0d5bc0fa554668f92989622">Más...</a><br /></td></tr>
  99. <tr class="separator:aabcfb963c0d5bc0fa554668f92989622"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a46516634a765e6fea19a4df08406adc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a46516634a765e6fea19a4df08406adc8">Packet</a> (string, string, int, int, int, int)</td></tr>
  101. <tr class="memdesc:a46516634a765e6fea19a4df08406adc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor que acepta especificaciones para sa(src_addr), da(dst_addr), sp(src_port), dp(dst_port), oct(octects) y pkt(packets) <a href="#a46516634a765e6fea19a4df08406adc8">Más...</a><br /></td></tr>
  102. <tr class="separator:a46516634a765e6fea19a4df08406adc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a3e9aed01edd0023e97276041894c5c1f"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a3e9aed01edd0023e97276041894c5c1f">getSrcAddr</a> ()</td></tr>
  104. <tr class="memdesc:a3e9aed01edd0023e97276041894c5c1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la direccion fuente. <a href="#a3e9aed01edd0023e97276041894c5c1f">Más...</a><br /></td></tr>
  105. <tr class="separator:a3e9aed01edd0023e97276041894c5c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a092161eb22c1ff6ffa2eb9961d3868b0"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a092161eb22c1ff6ffa2eb9961d3868b0">getDstAddr</a> ()</td></tr>
  107. <tr class="memdesc:a092161eb22c1ff6ffa2eb9961d3868b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la direccion destino. <a href="#a092161eb22c1ff6ffa2eb9961d3868b0">Más...</a><br /></td></tr>
  108. <tr class="separator:a092161eb22c1ff6ffa2eb9961d3868b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:acf4fbcd48861393cbc96c6aeb9e5846f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#acf4fbcd48861393cbc96c6aeb9e5846f">getSrcPort</a> ()</td></tr>
  110. <tr class="memdesc:acf4fbcd48861393cbc96c6aeb9e5846f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve el puerto fuente. <a href="#acf4fbcd48861393cbc96c6aeb9e5846f">Más...</a><br /></td></tr>
  111. <tr class="separator:acf4fbcd48861393cbc96c6aeb9e5846f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a92347c94882b6e5b3209cc70ea0d77b5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a92347c94882b6e5b3209cc70ea0d77b5">getDstPort</a> ()</td></tr>
  113. <tr class="memdesc:a92347c94882b6e5b3209cc70ea0d77b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la puerto destino. <a href="#a92347c94882b6e5b3209cc70ea0d77b5">Más...</a><br /></td></tr>
  114. <tr class="separator:a92347c94882b6e5b3209cc70ea0d77b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:acd8d06afbd5a289a8b92e02d0cf72cc1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd8d06afbd5a289a8b92e02d0cf72cc1"></a>
  116. int&#160;</td><td class="memItemRight" valign="bottom"><b>getOctects</b> ()</td></tr>
  117. <tr class="separator:acd8d06afbd5a289a8b92e02d0cf72cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a6ee74fd953f6d57d56e48a596d897f05"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a6ee74fd953f6d57d56e48a596d897f05">getPackets</a> ()</td></tr>
  119. <tr class="memdesc:a6ee74fd953f6d57d56e48a596d897f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve los paquetes. <a href="#a6ee74fd953f6d57d56e48a596d897f05">Más...</a><br /></td></tr>
  120. <tr class="separator:a6ee74fd953f6d57d56e48a596d897f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a8c939968eb35f357884900bf8794a3d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a8c939968eb35f357884900bf8794a3d7">setSrcAddr</a> (string)</td></tr>
  122. <tr class="memdesc:a8c939968eb35f357884900bf8794a3d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta la direccion fuente. <a href="#a8c939968eb35f357884900bf8794a3d7">Más...</a><br /></td></tr>
  123. <tr class="separator:a8c939968eb35f357884900bf8794a3d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:acaa3e1703fe14b9a39d4c4426453e65c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#acaa3e1703fe14b9a39d4c4426453e65c">setDstAddr</a> (string)</td></tr>
  125. <tr class="memdesc:acaa3e1703fe14b9a39d4c4426453e65c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta la direccion destino. <a href="#acaa3e1703fe14b9a39d4c4426453e65c">Más...</a><br /></td></tr>
  126. <tr class="separator:acaa3e1703fe14b9a39d4c4426453e65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a9844970ffe7eb2ecf6e2407a39f04807"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a9844970ffe7eb2ecf6e2407a39f04807">setSrcPort</a> (int)</td></tr>
  128. <tr class="memdesc:a9844970ffe7eb2ecf6e2407a39f04807"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el puerto fuente. <a href="#a9844970ffe7eb2ecf6e2407a39f04807">Más...</a><br /></td></tr>
  129. <tr class="separator:a9844970ffe7eb2ecf6e2407a39f04807"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:ab51c81cc6958913652b3fe5316ec6af3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#ab51c81cc6958913652b3fe5316ec6af3">setDstPort</a> (int)</td></tr>
  131. <tr class="memdesc:ab51c81cc6958913652b3fe5316ec6af3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el puerto destino. <a href="#ab51c81cc6958913652b3fe5316ec6af3">Más...</a><br /></td></tr>
  132. <tr class="separator:ab51c81cc6958913652b3fe5316ec6af3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:adc6e90455b92f776ec7583d5e62b50d7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc6e90455b92f776ec7583d5e62b50d7"></a>
  134. void&#160;</td><td class="memItemRight" valign="bottom"><b>setOctects</b> (int)</td></tr>
  135. <tr class="separator:adc6e90455b92f776ec7583d5e62b50d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:acfb4620179dba167031a8e8b1cad0c25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#acfb4620179dba167031a8e8b1cad0c25">setPackets</a> (int)</td></tr>
  137. <tr class="memdesc:acfb4620179dba167031a8e8b1cad0c25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el valor de los paquetes. <a href="#acfb4620179dba167031a8e8b1cad0c25">Más...</a><br /></td></tr>
  138. <tr class="separator:acfb4620179dba167031a8e8b1cad0c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a5b57162c18731c0186027f450670d14e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b57162c18731c0186027f450670d14e"></a>
  140. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a5b57162c18731c0186027f450670d14e">enable</a> ()</td></tr>
  141. <tr class="memdesc:a5b57162c18731c0186027f450670d14e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta que el paquete esta disponible para ser desplegado en la inter fase de usuario. <br /></td></tr>
  142. <tr class="separator:a5b57162c18731c0186027f450670d14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a0c16d1f66f1fd8c99e9e760cf2ce07f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c16d1f66f1fd8c99e9e760cf2ce07f2"></a>
  144. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a0c16d1f66f1fd8c99e9e760cf2ce07f2">disable</a> ()</td></tr>
  145. <tr class="memdesc:a0c16d1f66f1fd8c99e9e760cf2ce07f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta que el paquete no esta disponible para ser desplegado en la inter fase de usuario. <br /></td></tr>
  146. <tr class="separator:a0c16d1f66f1fd8c99e9e760cf2ce07f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a3c92559f89a09cd5790e8ab5171b509f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c92559f89a09cd5790e8ab5171b509f"></a>
  148. bool&#160;</td><td class="memItemRight" valign="bottom"><b>isEnabled</b> ()</td></tr>
  149. <tr class="separator:a3c92559f89a09cd5790e8ab5171b509f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. </table><table class="memberdecls">
  151. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  152. Atributos privados</h2></td></tr>
  153. <tr class="memitem:ad22856878226959be10e1a024e3446cc"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#ad22856878226959be10e1a024e3446cc">src_addr</a></td></tr>
  154. <tr class="separator:ad22856878226959be10e1a024e3446cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a4a1c8c11292c6116e393245fbfad00b7"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a4a1c8c11292c6116e393245fbfad00b7">dst_addr</a></td></tr>
  156. <tr class="separator:a4a1c8c11292c6116e393245fbfad00b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a191dd835177b18f84fd64596249008cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a191dd835177b18f84fd64596249008cc">src_port</a></td></tr>
  158. <tr class="separator:a191dd835177b18f84fd64596249008cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ae8a78379783d1a2795318ca9118e77e3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#ae8a78379783d1a2795318ca9118e77e3">dst_port</a></td></tr>
  160. <tr class="separator:ae8a78379783d1a2795318ca9118e77e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a3dfcef408535f5e7ecdb3ef6bc3e9654"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a3dfcef408535f5e7ecdb3ef6bc3e9654">octects</a></td></tr>
  162. <tr class="separator:a3dfcef408535f5e7ecdb3ef6bc3e9654"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:abe4ea1613634961b78de7c609b1f0c75"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#abe4ea1613634961b78de7c609b1f0c75">packets</a></td></tr>
  164. <tr class="separator:abe4ea1613634961b78de7c609b1f0c75"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:a72dbd5f3d8e2f802ebb4173c64495cda"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_packet.html#a72dbd5f3d8e2f802ebb4173c64495cda">enabled</a></td></tr>
  166. <tr class="separator:a72dbd5f3d8e2f802ebb4173c64495cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. </table>
  168. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  169. <div class="textblock"><p>Una clase que representa paquetes. </p>
  170. <p>La clase contiene dos constructor y varias funciones para buscar y filtrar paquetes de fluidos de red. </p>
  171. </div><h2 class="groupheader">Documentación del constructor y destructor</h2>
  172. <a class="anchor" id="aabcfb963c0d5bc0fa554668f92989622"></a>
  173. <div class="memitem">
  174. <div class="memproto">
  175. <table class="memname">
  176. <tr>
  177. <td class="memname">Packet::Packet </td>
  178. <td>(</td>
  179. <td class="paramname"></td><td>)</td>
  180. <td></td>
  181. </tr>
  182. </table>
  183. </div><div class="memdoc">
  184. <p>Constructor por defecto. Las propiedades de el paquete se ajustan como sigue: </p>
  185. <ul>
  186. <li>src_addr: a una cadena vacia.</li>
  187. <li>dst_addr: a una cadena vacia.</li>
  188. <li>src_port: a 0.</li>
  189. <li>dst_port: a 0.</li>
  190. <li>octects: a 0.</li>
  191. <li>packets: a 0.</li>
  192. <li>enabled: a falso. </li>
  193. </ul>
  194. </div>
  195. </div>
  196. <a class="anchor" id="a46516634a765e6fea19a4df08406adc8"></a>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">Packet::Packet </td>
  202. <td>(</td>
  203. <td class="paramtype">string&#160;</td>
  204. <td class="paramname"><em>sa</em>, </td>
  205. </tr>
  206. <tr>
  207. <td class="paramkey"></td>
  208. <td></td>
  209. <td class="paramtype">string&#160;</td>
  210. <td class="paramname"><em>da</em>, </td>
  211. </tr>
  212. <tr>
  213. <td class="paramkey"></td>
  214. <td></td>
  215. <td class="paramtype">int&#160;</td>
  216. <td class="paramname"><em>sp</em>, </td>
  217. </tr>
  218. <tr>
  219. <td class="paramkey"></td>
  220. <td></td>
  221. <td class="paramtype">int&#160;</td>
  222. <td class="paramname"><em>dp</em>, </td>
  223. </tr>
  224. <tr>
  225. <td class="paramkey"></td>
  226. <td></td>
  227. <td class="paramtype">int&#160;</td>
  228. <td class="paramname"><em>oct</em>, </td>
  229. </tr>
  230. <tr>
  231. <td class="paramkey"></td>
  232. <td></td>
  233. <td class="paramtype">int&#160;</td>
  234. <td class="paramname"><em>pkt</em>&#160;</td>
  235. </tr>
  236. <tr>
  237. <td></td>
  238. <td>)</td>
  239. <td></td><td></td>
  240. </tr>
  241. </table>
  242. </div><div class="memdoc">
  243. <p>Constructor que acepta especificaciones para sa(src_addr), da(dst_addr), sp(src_port), dp(dst_port), oct(octects) y pkt(packets) </p>
  244. <dl class="params"><dt>Parámetros</dt><dd>
  245. <table class="params">
  246. <tr><td class="paramname">sa</td><td>direccion fuente </td></tr>
  247. <tr><td class="paramname">da</td><td>direccion destino </td></tr>
  248. <tr><td class="paramname">sp</td><td>puerto fuente </td></tr>
  249. <tr><td class="paramname">dp</td><td>puerto destino </td></tr>
  250. <tr><td class="paramname">oct</td><td>octetos </td></tr>
  251. <tr><td class="paramname">pkt</td><td>paquetes </td></tr>
  252. </table>
  253. </dd>
  254. </dl>
  255. </div>
  256. </div>
  257. <h2 class="groupheader">Documentación de las funciones miembro</h2>
  258. <a class="anchor" id="a092161eb22c1ff6ffa2eb9961d3868b0"></a>
  259. <div class="memitem">
  260. <div class="memproto">
  261. <table class="memname">
  262. <tr>
  263. <td class="memname">string Packet::getDstAddr </td>
  264. <td>(</td>
  265. <td class="paramname"></td><td>)</td>
  266. <td></td>
  267. </tr>
  268. </table>
  269. </div><div class="memdoc">
  270. <p>Devuelve la direccion destino. </p>
  271. <dl class="section return"><dt>Devuelve</dt><dd>direccion destino </dd></dl>
  272. </div>
  273. </div>
  274. <a class="anchor" id="a92347c94882b6e5b3209cc70ea0d77b5"></a>
  275. <div class="memitem">
  276. <div class="memproto">
  277. <table class="memname">
  278. <tr>
  279. <td class="memname">string Packet::getDstPort </td>
  280. <td>(</td>
  281. <td class="paramname"></td><td>)</td>
  282. <td></td>
  283. </tr>
  284. </table>
  285. </div><div class="memdoc">
  286. <p>Devuelve la puerto destino. </p>
  287. <dl class="section return"><dt>Devuelve</dt><dd>puerto destino </dd></dl>
  288. </div>
  289. </div>
  290. <a class="anchor" id="a6ee74fd953f6d57d56e48a596d897f05"></a>
  291. <div class="memitem">
  292. <div class="memproto">
  293. <table class="memname">
  294. <tr>
  295. <td class="memname">string Packet::getPackets </td>
  296. <td>(</td>
  297. <td class="paramname"></td><td>)</td>
  298. <td></td>
  299. </tr>
  300. </table>
  301. </div><div class="memdoc">
  302. <p>Devuelve los paquetes. </p>
  303. <dl class="section return"><dt>Devuelve</dt><dd>paquetes </dd></dl>
  304. </div>
  305. </div>
  306. <a class="anchor" id="a3e9aed01edd0023e97276041894c5c1f"></a>
  307. <div class="memitem">
  308. <div class="memproto">
  309. <table class="memname">
  310. <tr>
  311. <td class="memname">string Packet::getSrcAddr </td>
  312. <td>(</td>
  313. <td class="paramname"></td><td>)</td>
  314. <td></td>
  315. </tr>
  316. </table>
  317. </div><div class="memdoc">
  318. <p>Devuelve la direccion fuente. </p>
  319. <dl class="section return"><dt>Devuelve</dt><dd>direccion fuente </dd></dl>
  320. </div>
  321. </div>
  322. <a class="anchor" id="acf4fbcd48861393cbc96c6aeb9e5846f"></a>
  323. <div class="memitem">
  324. <div class="memproto">
  325. <table class="memname">
  326. <tr>
  327. <td class="memname">string Packet::getSrcPort </td>
  328. <td>(</td>
  329. <td class="paramname"></td><td>)</td>
  330. <td></td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>Devuelve el puerto fuente. </p>
  335. <dl class="section return"><dt>Devuelve</dt><dd>puerto fuente </dd></dl>
  336. </div>
  337. </div>
  338. <a class="anchor" id="acaa3e1703fe14b9a39d4c4426453e65c"></a>
  339. <div class="memitem">
  340. <div class="memproto">
  341. <table class="memname">
  342. <tr>
  343. <td class="memname">void Packet::setDstAddr </td>
  344. <td>(</td>
  345. <td class="paramtype">string&#160;</td>
  346. <td class="paramname"><em>addr</em></td><td>)</td>
  347. <td></td>
  348. </tr>
  349. </table>
  350. </div><div class="memdoc">
  351. <p>Ajusta la direccion destino. </p>
  352. <dl class="params"><dt>Parámetros</dt><dd>
  353. <table class="params">
  354. <tr><td class="paramname">addr</td><td>direccion destino </td></tr>
  355. </table>
  356. </dd>
  357. </dl>
  358. </div>
  359. </div>
  360. <a class="anchor" id="ab51c81cc6958913652b3fe5316ec6af3"></a>
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="memname">
  364. <tr>
  365. <td class="memname">void Packet::setDstPort </td>
  366. <td>(</td>
  367. <td class="paramtype">int&#160;</td>
  368. <td class="paramname"><em>port</em></td><td>)</td>
  369. <td></td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <p>Ajusta el puerto destino. </p>
  374. <dl class="params"><dt>Parámetros</dt><dd>
  375. <table class="params">
  376. <tr><td class="paramname">port</td><td>puerto destino </td></tr>
  377. </table>
  378. </dd>
  379. </dl>
  380. </div>
  381. </div>
  382. <a class="anchor" id="acfb4620179dba167031a8e8b1cad0c25"></a>
  383. <div class="memitem">
  384. <div class="memproto">
  385. <table class="memname">
  386. <tr>
  387. <td class="memname">void Packet::setPackets </td>
  388. <td>(</td>
  389. <td class="paramtype">int&#160;</td>
  390. <td class="paramname"><em>val</em></td><td>)</td>
  391. <td></td>
  392. </tr>
  393. </table>
  394. </div><div class="memdoc">
  395. <p>Ajusta el valor de los paquetes. </p>
  396. <dl class="params"><dt>Parámetros</dt><dd>
  397. <table class="params">
  398. <tr><td class="paramname">val</td><td>paquetes </td></tr>
  399. </table>
  400. </dd>
  401. </dl>
  402. </div>
  403. </div>
  404. <a class="anchor" id="a8c939968eb35f357884900bf8794a3d7"></a>
  405. <div class="memitem">
  406. <div class="memproto">
  407. <table class="memname">
  408. <tr>
  409. <td class="memname">void Packet::setSrcAddr </td>
  410. <td>(</td>
  411. <td class="paramtype">string&#160;</td>
  412. <td class="paramname"><em>addr</em></td><td>)</td>
  413. <td></td>
  414. </tr>
  415. </table>
  416. </div><div class="memdoc">
  417. <p>Ajusta la direccion fuente. </p>
  418. <dl class="params"><dt>Parámetros</dt><dd>
  419. <table class="params">
  420. <tr><td class="paramname">addr</td><td>direccion fuente </td></tr>
  421. </table>
  422. </dd>
  423. </dl>
  424. </div>
  425. </div>
  426. <a class="anchor" id="a9844970ffe7eb2ecf6e2407a39f04807"></a>
  427. <div class="memitem">
  428. <div class="memproto">
  429. <table class="memname">
  430. <tr>
  431. <td class="memname">void Packet::setSrcPort </td>
  432. <td>(</td>
  433. <td class="paramtype">int&#160;</td>
  434. <td class="paramname"><em>port</em></td><td>)</td>
  435. <td></td>
  436. </tr>
  437. </table>
  438. </div><div class="memdoc">
  439. <p>Ajusta el puerto fuente. </p>
  440. <dl class="params"><dt>Parámetros</dt><dd>
  441. <table class="params">
  442. <tr><td class="paramname">port</td><td>puerto fuente </td></tr>
  443. </table>
  444. </dd>
  445. </dl>
  446. </div>
  447. </div>
  448. <h2 class="groupheader">Documentación de los datos miembro</h2>
  449. <a class="anchor" id="a4a1c8c11292c6116e393245fbfad00b7"></a>
  450. <div class="memitem">
  451. <div class="memproto">
  452. <table class="mlabels">
  453. <tr>
  454. <td class="mlabels-left">
  455. <table class="memname">
  456. <tr>
  457. <td class="memname">string Packet::dst_addr</td>
  458. </tr>
  459. </table>
  460. </td>
  461. <td class="mlabels-right">
  462. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  463. </tr>
  464. </table>
  465. </div><div class="memdoc">
  466. <p>dst_addr destination address (direccion destino) </p>
  467. </div>
  468. </div>
  469. <a class="anchor" id="ae8a78379783d1a2795318ca9118e77e3"></a>
  470. <div class="memitem">
  471. <div class="memproto">
  472. <table class="mlabels">
  473. <tr>
  474. <td class="mlabels-left">
  475. <table class="memname">
  476. <tr>
  477. <td class="memname">int Packet::dst_port</td>
  478. </tr>
  479. </table>
  480. </td>
  481. <td class="mlabels-right">
  482. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  483. </tr>
  484. </table>
  485. </div><div class="memdoc">
  486. <p>dst_port destination port (puerto destino) </p>
  487. </div>
  488. </div>
  489. <a class="anchor" id="a72dbd5f3d8e2f802ebb4173c64495cda"></a>
  490. <div class="memitem">
  491. <div class="memproto">
  492. <table class="mlabels">
  493. <tr>
  494. <td class="mlabels-left">
  495. <table class="memname">
  496. <tr>
  497. <td class="memname">bool Packet::enabled</td>
  498. </tr>
  499. </table>
  500. </td>
  501. <td class="mlabels-right">
  502. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  503. </tr>
  504. </table>
  505. </div><div class="memdoc">
  506. <p>enabled in the GUI (disponible en el GUI) </p>
  507. </div>
  508. </div>
  509. <a class="anchor" id="a3dfcef408535f5e7ecdb3ef6bc3e9654"></a>
  510. <div class="memitem">
  511. <div class="memproto">
  512. <table class="mlabels">
  513. <tr>
  514. <td class="mlabels-left">
  515. <table class="memname">
  516. <tr>
  517. <td class="memname">int Packet::octects</td>
  518. </tr>
  519. </table>
  520. </td>
  521. <td class="mlabels-right">
  522. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  523. </tr>
  524. </table>
  525. </div><div class="memdoc">
  526. <p>octets/bytes value (octetos) </p>
  527. </div>
  528. </div>
  529. <a class="anchor" id="abe4ea1613634961b78de7c609b1f0c75"></a>
  530. <div class="memitem">
  531. <div class="memproto">
  532. <table class="mlabels">
  533. <tr>
  534. <td class="mlabels-left">
  535. <table class="memname">
  536. <tr>
  537. <td class="memname">int Packet::packets</td>
  538. </tr>
  539. </table>
  540. </td>
  541. <td class="mlabels-right">
  542. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  543. </tr>
  544. </table>
  545. </div><div class="memdoc">
  546. <p>packets value (paquetes) </p>
  547. </div>
  548. </div>
  549. <a class="anchor" id="ad22856878226959be10e1a024e3446cc"></a>
  550. <div class="memitem">
  551. <div class="memproto">
  552. <table class="mlabels">
  553. <tr>
  554. <td class="mlabels-left">
  555. <table class="memname">
  556. <tr>
  557. <td class="memname">string Packet::src_addr</td>
  558. </tr>
  559. </table>
  560. </td>
  561. <td class="mlabels-right">
  562. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  563. </tr>
  564. </table>
  565. </div><div class="memdoc">
  566. <p>src_addr source address (direccion fuente) </p>
  567. </div>
  568. </div>
  569. <a class="anchor" id="a191dd835177b18f84fd64596249008cc"></a>
  570. <div class="memitem">
  571. <div class="memproto">
  572. <table class="mlabels">
  573. <tr>
  574. <td class="mlabels-left">
  575. <table class="memname">
  576. <tr>
  577. <td class="memname">int Packet::src_port</td>
  578. </tr>
  579. </table>
  580. </td>
  581. <td class="mlabels-right">
  582. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  583. </tr>
  584. </table>
  585. </div><div class="memdoc">
  586. <p>src_port source port (puerto fuente) </p>
  587. </div>
  588. </div>
  589. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  590. <li><a class="el" href="packet_8h_source.html">packet.h</a></li>
  591. <li>packet.cpp</li>
  592. </ul>
  593. </div><!-- contents -->
  594. <!-- start footer part -->
  595. <hr class="footer"/><address class="footer"><small>
  596. Generado el Lunes, 15 de Junio de 2015 12:46:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  597. <img class="footer" src="doxygen.png" alt="doxygen"/>
  598. </a> 1.8.9.1
  599. </small></address>
  600. </body>
  601. </html>