Rafael Arce Nazario 9 years ago
commit
069bba67b0
100 changed files with 7719 additions and 0 deletions
  1. 374
    0
      README.md
  2. 37
    0
      SimpleSniffer.pro
  3. 110
    0
      doc/en/html/annotated.html
  4. BIN
      doc/en/html/arrowdown.png
  5. BIN
      doc/en/html/arrowright.png
  6. BIN
      doc/en/html/bc_s.png
  7. BIN
      doc/en/html/bdwn.png
  8. 115
    0
      doc/en/html/class_main_window-members.html
  9. 415
    0
      doc/en/html/class_main_window.html
  10. BIN
      doc/en/html/class_main_window.png
  11. 119
    0
      doc/en/html/class_sniffer-members.html
  12. 524
    0
      doc/en/html/class_sniffer.html
  13. BIN
      doc/en/html/class_sniffer.png
  14. 113
    0
      doc/en/html/classes.html
  15. 109
    0
      doc/en/html/classethernet__packet-members.html
  16. 341
    0
      doc/en/html/classethernet__packet.html
  17. BIN
      doc/en/html/classethernet__packet.png
  18. 105
    0
      doc/en/html/classimagepacket-members.html
  19. 222
    0
      doc/en/html/classimagepacket.html
  20. 126
    0
      doc/en/html/classip__packet-members.html
  21. 576
    0
      doc/en/html/classip__packet.html
  22. BIN
      doc/en/html/classip__packet.png
  23. BIN
      doc/en/html/closed.png
  24. BIN
      doc/en/html/doc.png
  25. 1449
    0
      doc/en/html/doxygen.css
  26. BIN
      doc/en/html/doxygen.png
  27. 97
    0
      doc/en/html/dynsections.js
  28. 116
    0
      doc/en/html/ethernet__hdr_8h_source.html
  29. 131
    0
      doc/en/html/ethernet__packet_8h_source.html
  30. 107
    0
      doc/en/html/files.html
  31. BIN
      doc/en/html/folderclosed.png
  32. BIN
      doc/en/html/folderopen.png
  33. 372
    0
      doc/en/html/functions.html
  34. 280
    0
      doc/en/html/functions_func.html
  35. 179
    0
      doc/en/html/functions_vars.html
  36. 112
    0
      doc/en/html/hierarchy.html
  37. 123
    0
      doc/en/html/imagepacket_8h_source.html
  38. 89
    0
      doc/en/html/index.html
  39. 123
    0
      doc/en/html/ip__hdr_8h_source.html
  40. 148
    0
      doc/en/html/ip__packet_8h_source.html
  41. 68
    0
      doc/en/html/jquery.js
  42. 165
    0
      doc/en/html/mainwindow_8h_source.html
  43. BIN
      doc/en/html/nav_f.png
  44. BIN
      doc/en/html/nav_g.png
  45. BIN
      doc/en/html/nav_h.png
  46. BIN
      doc/en/html/open.png
  47. 26
    0
      doc/en/html/search/all_0.html
  48. 4
    0
      doc/en/html/search/all_0.js
  49. 26
    0
      doc/en/html/search/all_1.html
  50. 9
    0
      doc/en/html/search/all_1.js
  51. 26
    0
      doc/en/html/search/all_2.html
  52. 6
    0
      doc/en/html/search/all_2.js
  53. 26
    0
      doc/en/html/search/all_3.html
  54. 15
    0
      doc/en/html/search/all_3.js
  55. 26
    0
      doc/en/html/search/all_4.html
  56. 4
    0
      doc/en/html/search/all_4.js
  57. 26
    0
      doc/en/html/search/all_5.html
  58. 17
    0
      doc/en/html/search/all_5.js
  59. 26
    0
      doc/en/html/search/all_6.html
  60. 6
    0
      doc/en/html/search/all_6.js
  61. 26
    0
      doc/en/html/search/all_7.html
  62. 4
    0
      doc/en/html/search/all_7.js
  63. 26
    0
      doc/en/html/search/all_8.html
  64. 6
    0
      doc/en/html/search/all_8.js
  65. 26
    0
      doc/en/html/search/all_9.html
  66. 8
    0
      doc/en/html/search/all_9.js
  67. 26
    0
      doc/en/html/search/all_a.html
  68. 22
    0
      doc/en/html/search/all_a.js
  69. 26
    0
      doc/en/html/search/all_b.html
  70. 4
    0
      doc/en/html/search/all_b.js
  71. 26
    0
      doc/en/html/search/all_c.html
  72. 5
    0
      doc/en/html/search/all_c.js
  73. 26
    0
      doc/en/html/search/classes_0.html
  74. 4
    0
      doc/en/html/search/classes_0.js
  75. 26
    0
      doc/en/html/search/classes_1.html
  76. 5
    0
      doc/en/html/search/classes_1.js
  77. 26
    0
      doc/en/html/search/classes_2.html
  78. 4
    0
      doc/en/html/search/classes_2.js
  79. 26
    0
      doc/en/html/search/classes_3.html
  80. 8
    0
      doc/en/html/search/classes_3.js
  81. BIN
      doc/en/html/search/close.png
  82. 26
    0
      doc/en/html/search/functions_0.html
  83. 4
    0
      doc/en/html/search/functions_0.js
  84. 26
    0
      doc/en/html/search/functions_1.html
  85. 6
    0
      doc/en/html/search/functions_1.js
  86. 26
    0
      doc/en/html/search/functions_2.html
  87. 15
    0
      doc/en/html/search/functions_2.js
  88. 26
    0
      doc/en/html/search/functions_3.html
  89. 4
    0
      doc/en/html/search/functions_3.js
  90. 26
    0
      doc/en/html/search/functions_4.html
  91. 6
    0
      doc/en/html/search/functions_4.js
  92. 26
    0
      doc/en/html/search/functions_5.html
  93. 5
    0
      doc/en/html/search/functions_5.js
  94. 26
    0
      doc/en/html/search/functions_6.html
  95. 6
    0
      doc/en/html/search/functions_6.js
  96. 26
    0
      doc/en/html/search/functions_7.html
  97. 6
    0
      doc/en/html/search/functions_7.js
  98. 26
    0
      doc/en/html/search/functions_8.html
  99. 15
    0
      doc/en/html/search/functions_8.js
  100. 0
    0
      doc/en/html/search/functions_9.html

+ 374
- 0
README.md View File

@@ -0,0 +1,374 @@
1
+[English](#markdown-header-classes-simple-sniffer) | [Español](#markdown-header-clases-analizador-de-redes-simple)
2
+
3
+
4
+# Clases - Analizador de redes simple
5
+
6
+![header.png](images/header.png)  
7
+
8
+
9
+La *programación orientada a objetos* (object oriented programming, OOP) es un paradigma de programación que promueve el diseño de programas en el que distintos objetos interactúan entre sí para resolver un problema.   C++ es uno de los lenguajes de programación que promueve la programación orientada a objetos, permitiendo que los programadores creen sus propias clases desde cero o derivadas de otras clases existentes. Algunos otros lenguajes que promueven OOP son Java, Python, javascript y PHP.   
10
+
11
+En OOP, cada objeto encapsula dentro de él ciertas propiedades sobre el ente que está modelando (por ejemplo, un objeto que modela un *punto* encapsula dentro de sí las coordenadas *x* y *y* del punto que representa). Además, cada objeto permite realizar ciertas acciones sobre sí, i.e. contiene sus *métodos*. Por ejemplo, un objeto de clase *punto* puede realizar la acción de cambiar el valor de su coordenada *x*.
12
+
13
+Cuando la clase de objetos que necesitamos utilizar en nuestro programa no ha sido predefinida en el alguna librería, necesitamos declarar e implementar nuestra propia clase. Para esto definimos *clases* que contengan datos con ciertas *propiedades* o *atributos* y acciones que queremos hacer con esos datos por medio de *métodos* o *funciones miembro*. De esta manera, podremos organizar la información y procesos en *objetos* que tienen las propiedades y métodos de una clase. En la experiencia de laboratorio de hoy practicarás el definir una clase e implementar algunos de sus métodos completando analizador de redes (*sniffer*) simple. El sniffer captura todos los paquetes de protocolo de internet (IP) que fluyen a través de tu computadora en el laboratorio, y alguna información adicional de los paquetes.
14
+
15
+## Objetivos:
16
+
17
+1. Practicar la declaración e implementación de clases en C++.
18
+
19
+2. Implementar métodos de una clase.
20
+
21
+
22
+## Pre-Lab:
23
+
24
+Antes de llegar al laboratorio debes haber:
25
+
26
+
27
+1. Repasado la declaración e implementación de clases en C++.
28
+
29
+2. Estudiado los conceptos e instrucciones para la sesión de laboratorio.
30
+
31
+3. Tomado el quiz Pre-Lab que se encuentra en Moodle.
32
+
33
+
34
+---
35
+
36
+---
37
+
38
+
39
+## Comunicación entre computadoras
40
+
41
+Las computadoras se comunican por medio del Internet utilizando el *Protocolo de Internet* (IP, por sus siglas en inglés). Cuando una computadora envía información (o mensaje) a otra computadora, la información se envía por *Paquetes de Internet* que contienen la *dirección fuente* ("source address"), que es la dirección de Internet de la computadora que está enviando la información, y la *dirección del destino* ("destination address"), que es dirección de Internet de la computadora que debe recibir el mensaje. Las direcciones de Internet se usan para guiar la información de una computadora a otra, pero, una vez el paquete llega a su destino, ?quién se supone que reciba la información? ?Cuál aplicación debe recibir la información?
42
+
43
+Los paquetes de internet también deben especificar la aplicación que envía la información y la aplicación que debe recibirla. Podemos pensar que las direcciones de Internet son las direcciones de correo de una casa, y que las aplicaciones que envían y reciben la información son las personas que envían y reciben la correspondencia. Para enviar una carta por correo, hay que especificar a qué persona se le está enviando la carta. Esto corresponde a especificar la aplicación que recibe la información. Para identificar la aplicación fuente y la aplicación del destino, el protocolo de Internet usa lo que se conoce como *números de puerto*. De este modo, mirando la información del paquete, se puede identificar las direcciones y puertos de la fuente y del destino.
44
+
45
+Por ejemplo, cuando la computadora que usas en un laboratorio se comunica con el servidor donde se encuentra el programa  Moodle, los paquetes que llevan la información de tu computadora al servidor contienen la dirección de la fuente, que es la computadora del laboratorio, y la dirección del destinatario, que es el servidor de Moodle. El puerto fuente es el de tu buscador web y el puerto destinatario es el del servidor de Moodle.
46
+
47
+Las direcciones de internet ocupan 4 bytes (32 bits) y usualmente se presentan al usuario como cadenas de 4 valores decimales. Cada valor decimal entre 0 y 255 es la representación decimal  de uno de los 4 bytes:
48
+ "(0-255).(0-255).(0-255).(0-255)". Algunos ejemplos de direcciones de IP son:
49
+ `10.0.1.10`, `192.168.10.11`, `136.145.54.10`.
50
+
51
+Para complicar las cosas un poco, cada tarjeta de red de computadoras tiene un identificador único que es usado para la comunicación entre tu computadora y el dispositivo de la red que enruta el tráfico de red de Internet y la red local a tu computadora y vice-versa (*protocolo Ethernet*). Este identificador único es conocido como la dirección de Hardware (también conocido como *dirección MAC*), es representado usando 6 bytes (48 bits), y es presentado a los usuarios como una cadena de caracteres de 6 pares de dígitos hexadecimales (cada par de dígitos hexadecimal corresponde a 1 byte). Por ejemplo, las siguientes son direcciones MAC:  `e0:f8:47:01:e9:90` y  `70:ad:60:ff:fe:dd`.
52
+
53
+---
54
+
55
+---
56
+
57
+## Analizador de redes simple
58
+
59
+Un *sniffer* de paquetes (también conocido como analizador de paquetes, analizador de protocolos, o analizador de redes) es un programa de computadora que puede interceptar y registrar el tráfico que pasa a través de una red digital, o dispositivo de red.  Mientras los datos fluyen a través de la red, el sniffer captura cada paquete, y si es necesario lo descifra para obtener los datos crudos del paquete [1].
60
+
61
+Cada paquete capturado por un sniffer tiene una estructura como la que ilustra la Figura 1.
62
+
63
+
64
+
65
+---
66
+
67
+![figure1.png](images/figure1.png)
68
+
69
+**Figura 1.** Estructura de cada paquete de Ethernet capturado por un *sniffer*.
70
+
71
+---
72
+
73
+
74
+
75
+Dentro de la  estructura estructura mostrada en la Figura 1 se encuentra:
76
+
77
+
78
+1. **Destination MAC Address** y **Source Mac Address**: son las direcciones MAC de la fuente y el destino.
79
+3. **Ether Type**: se utiliza para indicar el tipo de de protocolo utilizado en el **payload**. Uno de los **payloads** posibles es un paquete de IP.
80
+4. **Payload**: contiene un paquete de IP (en realidad puede contener otras cosas, pero para esta experiencia de laboratorio asumiremos que contiene solo IP).
81
+
82
+Dentro del payload, el paquete de IP contiene varios campos, entre ellos:
83
+
84
+1. Las direcciones **IP fuente y destino**
85
+2. Los números de **puerto fuente y destino**
86
+3. El **payload** del paquete IP. Dentro de este payload estarían los datos que se desean comunicar de una computadora a otra.
87
+
88
+En esta experiencia de laboratorio completarás un sniffer de paquetes sencillo que captura todos los paquetes de IP que fluyen a través de tu computadora de laboratorio, y alguna información adicional de los paquetes.  Adicionalmente detecta las solicitudes no encriptadas de imágenes en la web, y despliega las imágenes en el GUI.
89
+
90
+---
91
+
92
+---
93
+
94
+
95
+## Sesión de laboratorio:
96
+
97
+
98
+La aplicación que completarás hoy permite a los usuarios analizar el tráfico de red y monitorear las imágenes que están siendo transferidas a través de tu red.
99
+
100
+
101
+---
102
+
103
+![figure2.png](images/figure2.png)
104
+
105
+**Figura 2.** Interface de la aplicación *Simple Packet Sniffer*.
106
+
107
+---
108
+
109
+
110
+
111
+
112
+La Figura 2 muestra una foto de la interfaz de la aplicación. Cada fila en la tabla es la información de un paquete capturado. La caja de texto bajo la tabla presenta un resumen del paquete seleccionado en la tabla. La lista en el lado derecho presenta las imágenes que han sido capturadas por el sniffer.
113
+
114
+
115
+Para crear un sniffer de paquetes puedes usar la librería de *pcap* que provee una interfaz para accesar la data que está pasando a través de la tarjeta de red de tu computadora.  Esta librería contiene una función que devuelve un torrente crudo de los bytes de cada paquete capturado.
116
+
117
+La tarea del programador del sniffer es decodificar el torrente en crudo a información legible por humanos.  Afortunadamente esta no va a ser tu tarea, pero tu puedes aprender a hacerlo, si quieres, leyendo el código fuente de este laboratorio.  Tu tarea es seguir los ejercicios de abajo para que puedas proveerle al sniffer los objetos necesarios (Clases) para procesar los paquetes.
118
+
119
+### Ejercicio 1: Familiriarizate con la aplicación
120
+
121
+#### Instrucciones
122
+
123
+1. Descarga la carpeta `Classes-SimpleSniffer` a tu computadora escribiendo `git clone http://bitbucket.org/eip-uprrp/classes-SimpleSniffer` en el terminal.
124
+
125
+2. Para cargar este proyecto necesitas correr `Qt Creator` con privilegios de administrador (root). Para lograr esto, escribe lo siguiente en el terminal:
126
+`sudo qtcreator Documents/eip/Classes-SimpleSniffer/Classes-SimpleSniffer.pro`.
127
+
128
+3. Configura el proyecto.  El proyecto consiste de varios archivos.  En esta experiencia de laboratorio trabajarás con los archivos `ethernet_hdr.h`, `ethernet_packet.h`, `ethernet_packet.cpp`, `ip_packet.h` y `ip_packet.cpp`.
129
+
130
+### Ejercicio 2: Completar la clase `ethernet_packet`
131
+
132
+Estudia el archivo `ethernet_hdr.h`. Este archivo contiene la siguiente definición de la estructura de datos que representa un encabezado de Ethernet:
133
+
134
+```cpp
135
+#define ETHER_ADDR_LEN 6
136
+
137
+struct sniff_ethernet {
138
+        u_char  ether_dhost[ETHER_ADDR_LEN];    /* direccion destino */
139
+        u_char  ether_shost[ETHER_ADDR_LEN];    /* direccion fuente */
140
+        u_short ether_type;                     /* IP? ARP? RARP? etc */
141
+};
142
+```
143
+
144
+El encabezado de Ethernet de arriba es usado para decodificar la parte Ethernet de los datos crudos en cada paquete.  Este se compone de la dirección MAC fuente (`ether_shost`, 6 bytes), la dirección MAC destino (`ether_dhost`, 6 bytes), y el tipo de paquete de Ethernet (`ether_type`, 2 bytes) que es usado para determinar si el paquete es un paquete de IP.
145
+
146
+Como sabes, no es una buena idea enseñar este formato de información a un usuario regular.  Tu primer tarea es definir los métodos de la clase de C++ que traducen la información de las direcciones MAC a cadenas de caracteres legibles por humanos.
147
+
148
+El siguiente código es la definición de la clase `ethernet_packet`, que se encuentra en el archivo `ethernet_packet.h`:
149
+
150
+```cpp
151
+class ethernet_packet
152
+{
153
+
154
+    sniff_ethernet ethernet ;
155
+
156
+    // Devuelve una direccion de 6 bytes MAC en una cadena de caracteres.
157
+    string mac2string(u_char []) ;
158
+
159
+public:
160
+    ethernet_packet();  // Constructor por defecto
161
+
162
+    // Ajusta la variable miembro ether_host a los valores
163
+    // recibidos en el arreglo
164
+    void setEtherDHost(u_char []) ;
165
+
166
+    // Ajusta la variable miembro  ether_shost a los valores
167
+    // recibidos en el arreglo
168
+    void setEtherSHost(u_char []) ;
169
+
170
+    // Ajusta el ethernet type al valor recibido.
171
+    void setEtherType(u_short) ;
172
+
173
+    // Devuelve la representación en cadenas de caracteres de las direcciones
174
+    // Ethernet
175
+    string getEtherDHost() ;
176
+    string getEtherSHost() ;
177
+
178
+    // Devuelve el tipo de ethernet.
179
+    u_short getEtherType() ;
180
+
181
+};
182
+
183
+
184
+
185
+```
186
+
187
+Nota que cada objeto de clase `ethernet_packet` solo tiene el siguiente atributo:
188
+* una estructura tipo `sniff_ethernet` llamada `ethernet`
189
+
190
+El resto son métodos que actúan como interfaz al atributo:
191
+
192
+* `void setEtherDHost(u_char [])`: es un *setter* para el campo `ether_dhost` del atributo `ethernet`
193
+
194
+* `void setEtherSHost(u_char [])`: es un *setter* para el campo `ether_shost` del atributo `ethernet`
195
+
196
+* `void setEtherType(u_short)`:  es un *setter* para el campo `ether_type` del atributo `ethernet`
197
+
198
+* `getEtherDHost()` y `getEtherSHost()` son *getters* que devuelven los valores de `ether_dhost` y `ether_shost` en formato legible por humanos, i.e. 6 pares de dígitos hexadecimales (por ejemplo, `e0:f8:47:01:e9:90`).
199
+
200
+* `getEtherType()` es un *getter*  que devuelve el valor de `ether_type` como *unsigned char*.
201
+
202
+* el método privado `string mac2string(u_char [])` recibe un *unsigned character* y devuelve el string correspondiente a su representación hexadecimal. Por ejemplo, si recibe `0x8A` debe devolver el string `"8A"`.
203
+
204
+Tu tarea en este ejercicio es implementar las siete funciones listadas arriba en el archivo `ethetnet_packet.cpp`. Los encabezados de algunas de la funciones están provistos en el archivo.
205
+
206
+### Ejercicio 3: Construir la declaración de `ip_packet`
207
+
208
+Estudia las definiciones de las funciones de la clase `ip_packet` que se encuentra en el archivo `ip_packet.cpp`
209
+
210
+Tu tarea es crear la *declaración* de la clase `ip_packet` en el archivo `ip_packet.h` tomando como  base  los métodos que aparecen en el archivo `ip_packet.cpp`.  Los atributos de la clase `ip_packet` deben ser:
211
+
212
+* dos objetos de clase `string` para almacenar las direcciones de IP fuente y destino
213
+* una variable de un byte (`char`) para almacenar el tipo de protocolo IP
214
+* dos variables `unsigned short` para almacenar el puerto fuente y destino
215
+* un objeto de clase `string` para almacenar la carga (*payload*) del paquete.
216
+
217
+En la declaración de la clase `ip_packet` debes especificar que es una **clase derivada** de la clase `ethernet_packet`.
218
+
219
+---
220
+
221
+---
222
+
223
+## Entregas
224
+
225
+1. Utiliza "Entrega" en Moodle para entregar los archivos `ethernet_packet.cpp` y `ip_packet.h` que completaste. Recuerda utilizar buenas prácticas de programación, incluir el nombre de los programadores y documentar tu programa.
226
+
227
+---
228
+
229
+---
230
+
231
+## Referencias
232
+
233
+[1]http://en.wikipedia.org/wiki/Packet_analyzer
234
+
235
+
236
+---
237
+
238
+---
239
+
240
+---
241
+
242
+[English](#markdown-header-classes-simple-sniffer) | [Español](#markdown-header-clases-analizador-de-redes-simple)
243
+
244
+# Classes - Simple Sniffer
245
+
246
+##Objectives
247
+
248
+1. Practice Data Structures, Classes and Inheritance
249
+
250
+## Pre-Lab:
251
+
252
+Before you get to the laboratory you should have:
253
+
254
+    1. Reviewed C++ classes and structures
255
+    2. Studied the concepts and instructions for this laboratory session.
256
+    3. Taken the Pre-Lab quiz in Moodle
257
+
258
+## Simple Sniffer
259
+
260
+Computers communicate with each other through the Internet Protocol (IP).  When a computer sends information to another computer it is sent via Internet packets that contain the Internet address of the sender computer (source address), the source port of the application that is sending the message, the Internet address of the receiving computer(destination address), and the port of the application that will receive the message.
261
+
262
+We can compare the Internet address to the address of a house, and the applications to the members of the house. When sending a letter from one house to another, the address on the letter identifies the destination house, and the name on the letter identifies the house member to who it is sent.
263
+
264
+For instance when your lab computer is contacting the department's web server, the packets that carry the information from your computer to the web server contains the source address of the lab computer and the destination address of the web server;  and the source port of your web browser and the destination port of the web server.
265
+
266
+Internet addresses are represented on 4 bytes (32 bits) normally presented to users as strings of 4 decimal values. Each decimal value is the decimal representation of one of the 4 bytes:  "(0-255).(0-255).(0-255).(0-255)". Examples of IP addresses are: 10.0.1.10, 192.168.10.11, 136.145.54.10, and so on.
267
+
268
+Port numbers are composed of 2 bytes or 16 bits.  Therefore port numbers range from 0-65535. There are ports numbers assigned to known application services such as number 22 for ssh, 23 for telnet, 25 smtp, 80 for http, and so on.
269
+
270
+To complicate things a little bit, each computer network card has an unique identifier that is used for the communication between you computer and the network device that routes the network traffic from the Internet and local network to your computer and vice-versa (Ethernet protocol).  This unique identifier is known as the Hardware address (a.k.a Multiple Access Controll (MAC) addres), is represented on 6 bytes (48 bits), and is presented to users as strings of 6 hexadecimal values. Each hex value is the hex representation of the 6 bytes: "(00-ff):(00-ff):(00-ff):(00-ff):(00-ff):(00-ff)".  Examples of MAC addresses are: e0:f8:47:01:e9:90, 70:ad:60:ff:fe:dd:79:d8 , and so on.
271
+
272
+A packet sniffer (a.k.a packet analyzer, protocol analyzer, or network analyzer) is a computer program that can intercept and log traffic passing over a digital network, or network device.  As data flow across the network, the sniffer captures each packet and, if needed decodes the packet's raw data[1].
273
+
274
+
275
+The packets captured by this program follow the following packet structure:
276
+
277
+    * first an Ethernet header which contains the source and destination MAC addresses
278
+    * second a IP header that contains the source and destination IP addresses
279
+    * third a header that contains the source and destination port numbers.
280
+
281
+In this application we create a simple packet sniffer that captures all the IP packets that flow across your lab computer, and for each packet, decodes the IP addresses, the port numbers, and some additional information of the packets.  Additionaly it detects the unencrypted request of images in the web, and displays the images in the GUI.
282
+
283
+See the following snapshot of the application:
284
+![](images/ss.png)
285
+
286
+Each row in the table is the information of each captured packet, the text box under the table presents a ASCII summary of a selected packet from the table, and the list in the right presents the images that have been requested and are seen in you network card.  
287
+
288
+The application that you are about to complete gives the user the ability to analyze the network traffic and monitor the images that are being watched in your network.  
289
+
290
+## Laboratory session:
291
+
292
+To create a packet sniffer you can use the *pcap* library that provides an interface to access the data passing across your network card.  This library contains a function that returns a raw stream of bytes of each packet captured.  It is the task of the sniffer programmer to decode the raw stream into human readable information.  Fortunately this is not your task, but you can learn how to do it, if you want, by reading the source code of this laboratory.  Your task is to follow the exercises below so you provide the packet sniffer with the needed objects (Classes) to process the packets.
293
+
294
+## Exercise 1: Familiriaze your self with the application
295
+
296
+Instructions
297
+
298
+    1. To load this project you need to run qt creator with root privileges.
299
+        ```sudo qtcreator Documents/eip/simplesniffer/SimpleSniffer.pro```
300
+    2.The project `SimpleSniffer` is in the directory `Documents/eip/simplesniffer` of your computer. You can also go to `http://bitbucket.org/eip-uprrp/classes-simplesniffer` to download the folder `classes-simplesniffer` to your computer.
301
+    2. Configure the project.  The project consists of several files.  In this laboratory you will be working with the files `ethernet_hdr.h`, `ethernet_packet.h`, `ethernet_packet.cpp`, `ip_packet.h` and `ip_packet.cpp`
302
+
303
+
304
+## Exercise 2: Complete the class ethernet_packet
305
+
306
+Read the file `ethernet_hdr.h`, it contains the definition of the data structure that represents an Ethernet header.  It is also shown below:
307
+
308
+```
309
+#define ETHER_ADDR_LEN 6
310
+
311
+struct sniff_ethernet {
312
+        u_char  ether_dhost[ETHER_ADDR_LEN];    /* destination host address */
313
+        u_char  ether_shost[ETHER_ADDR_LEN];    /* source host address */
314
+        u_short ether_type;                     /* IP? ARP? RARP? etc */
315
+};
316
+```
317
+
318
+The Ethernet header above is used to decode the ethernet part of the raw data in each packet.  It is composed of the source MAC address (ether_shost, 6 bytes), the destiantion MAC address (ether_dhost, 6 bytes), and the type of Ethernet packet (ether_type, 2 bytes) which is used to determine if the packet is an IP packet.
319
+
320
+As you can see, it is not a good idea to show this information format to a regular user.  Your first task is to define the functions of the C++ class that defines the functions to translate the MAC address information into human readable strings.
321
+
322
+The class header is in file `ethernet_packet.h` and is also shown below:
323
+
324
+```
325
+class ethernet_packet
326
+{
327
+
328
+    sniff_ethernet ethernet ;
329
+    // Returns a 6 bytes MAC address in string representation.
330
+    string mac2string(u_char []) ;
331
+
332
+public:
333
+    ethernet_packet();  // Default constructor
334
+
335
+    // Set the ethernet variable member ether_dhost to the values
336
+    // received in the array
337
+    void setEtherDHost(u_char []) ;
338
+    // Same as above but to the ether_shost
339
+    void setEtherSHost(u_char []) ;
340
+
341
+    // Set the ethernet type to the value received.
342
+    void setEtherType(u_short) ;
343
+
344
+    // returns the string representation of the ethernet addresses
345
+    string getEtherDHost() ;
346
+    string getEtherSHost() ;
347
+
348
+    // Return the ethernet type
349
+    u_short getEtherType() ;
350
+
351
+};
352
+```
353
+
354
+Define the functions in file `ethetnet_packet.cpp`
355
+
356
+## Exercise 3: Construct the header of class ip_packet  
357
+
358
+For Exercise 3 see the definitions of the functions of the class ip_packet found in file `ip_packet.cpp`
359
+
360
+Your task is to define the class header following the functions inside the file.  The member variables are:
361
+* two `string`s to store the source and destination IP addresses
362
+* a one byte (`char`) variable to store the IP protocol
363
+* two `unsigned short` variables to store the source and destination port
364
+* one `string` to store the packet payload.
365
+
366
+This class header that you are defining inherits from the class that you defined in Exercise 2.
367
+
368
+### Deliverables
369
+
370
+Use "Deliverables" in Moodle to upload the files `ethernet_packet.cpp` y `ip_packet.h` that you defined.
371
+
372
+### References
373
+
374
+[1]http://en.wikipedia.org/wiki/Packet_analyzer

+ 37
- 0
SimpleSniffer.pro View File

@@ -0,0 +1,37 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2014-04-23T17:03:18
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += core gui network
8
+
9
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10
+
11
+TARGET = SimpleSniffer
12
+TEMPLATE = app
13
+
14
+
15
+SOURCES += main.cpp\
16
+        mainwindow.cpp \
17
+    sniffer.cpp \
18
+    ethernet_packet.cpp \
19
+    ip_packet.cpp \
20
+    imagepacket.cpp
21
+
22
+HEADERS  += mainwindow.h \
23
+    ethernet_hdr.h \
24
+    ip_hdr.h \
25
+    tcp_hdr.h \
26
+    sniffer.h \
27
+    ethernet_packet.h \
28
+    ip_packet.h \
29
+    udp_hdr.h \
30
+    imagepacket.h
31
+
32
+LIBS += -lpcap
33
+
34
+FORMS    += mainwindow.ui
35
+
36
+RESOURCES += \
37
+    images.qrc

+ 110
- 0
doc/en/html/annotated.html View File

@@ -0,0 +1,110 @@
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: Class List</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 class="current"><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
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
90
+<table class="directory">
91
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classethernet__packet.html" target="_self">ethernet_packet</a></td><td class="desc">Function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings) </td></tr>
92
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classimagepacket.html" target="_self">imagepacket</a></td><td class="desc">Used to determine if an http packet is an image request </td></tr>
93
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classip__packet.html" target="_self">ip_packet</a></td><td class="desc">Information extracted from a packet received using pcap for packets that are IP/TCP or IP/UDP. We only save src and dst addresses and ports, and type of Transport protocol. The class hinerates the fields hardware address field because every IP packet is part of a ethernet packet. The remaining packet is stored as payload </td></tr>
94
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc"></td></tr>
95
+<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__ethernet.html" target="_self">sniff_ethernet</a></td><td class="desc">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 </td></tr>
96
+<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__ip.html" target="_self">sniff_ip</a></td><td class="desc">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 </td></tr>
97
+<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__tcp.html" target="_self">sniff_tcp</a></td><td class="desc">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 TCP header. We use the first two members to extract the src and dst port. Used to extract TCP transport layer information from a packet </td></tr>
98
+<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__udp.html" target="_self">sniff_udp</a></td><td class="desc">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 </td></tr>
99
+<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_sniffer.html" target="_self">Sniffer</a></td><td class="desc">One that use the pcap library to extract the packet information. It discards any packet that is not Ethernet-&gt;IP-&gt;(TCP|UDP), and pass up to the GUI the packets that are Ethernet-&gt;IP-&gt;(TCP|UDP) </td></tr>
100
+</table>
101
+</div><!-- directory -->
102
+</div><!-- contents -->
103
+<!-- start footer part -->
104
+<hr class="footer"/><address class="footer"><small>
105
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
106
+<img class="footer" src="doxygen.png" alt="doxygen"/>
107
+</a> 1.8.9.1
108
+</small></address>
109
+</body>
110
+</html>

BIN
doc/en/html/arrowdown.png View File


BIN
doc/en/html/arrowright.png View File


BIN
doc/en/html/bc_s.png View File


BIN
doc/en/html/bdwn.png View File


+ 115
- 0
doc/en/html/class_main_window-members.html View File

@@ -0,0 +1,115 @@
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: Member List</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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">MainWindow Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="class_main_window.html">MainWindow</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#a429d5f7a014bccafa259dcd926531159">handleResults</a>(unsigned long index)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">slot</span></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">imageList</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">mutex</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">netManager</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf">on_capture_clicked</a>()</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17">on_packetDisplay_itemClicked</a>(QTableWidgetItem *item)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_main_window.html#abdb4cd970167670c0dcbea4a45071892">on_resetButton_clicked</a>()</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">pause</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
101
+  <tr><td class="entry"><a class="el" href="class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a">slot_netwManagerFinished</a>(QNetworkReply *reply)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">slot</span></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">sniff</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">sniff_thread</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
104
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ui</b> (defined in <a class="el" href="class_main_window.html">MainWindow</a>)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
105
+  <tr><td class="entry"><a class="el" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">wait_pause</a></td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a>()</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"></td></tr>
107
+</table></div><!-- contents -->
108
+<!-- start footer part -->
109
+<hr class="footer"/><address class="footer"><small>
110
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
111
+<img class="footer" src="doxygen.png" alt="doxygen"/>
112
+</a> 1.8.9.1
113
+</small></address>
114
+</body>
115
+</html>

+ 415
- 0
doc/en/html/class_main_window.html View File

@@ -0,0 +1,415 @@
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: MainWindow Class 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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-slots">Public Slots</a> &#124;
87
+<a href="#pub-methods">Public Member Functions</a> &#124;
88
+<a href="#pri-slots">Private Slots</a> &#124;
89
+<a href="#pri-attribs">Private Attributes</a> &#124;
90
+<a href="class_main_window-members.html">List of all members</a>  </div>
91
+  <div class="headertitle">
92
+<div class="title">MainWindow Class Reference</div>  </div>
93
+</div><!--header-->
94
+<div class="contents">
95
+<div class="dynheader">
96
+Inheritance diagram for MainWindow:</div>
97
+<div class="dyncontent">
98
+ <div class="center">
99
+  <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
100
+  <map id="MainWindow_map" name="MainWindow_map">
101
+</map>
102
+ </div></div>
103
+<table class="memberdecls">
104
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
105
+Public Slots</h2></td></tr>
106
+<tr class="memitem:a429d5f7a014bccafa259dcd926531159"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a429d5f7a014bccafa259dcd926531159">handleResults</a> (unsigned long index)</td></tr>
107
+<tr class="memdesc:a429d5f7a014bccafa259dcd926531159"><td class="mdescLeft">&#160;</td><td class="mdescRight">A signal was received from the sniffer that a packet of the form Ethernet -&gt; IP -&gt; (TCP|UDP) has to be displayed in the GUI. Also checks if the packet is an http image request to display.  <a href="#a429d5f7a014bccafa259dcd926531159">More...</a><br /></td></tr>
108
+<tr class="separator:a429d5f7a014bccafa259dcd926531159"><td class="memSeparator" colspan="2">&#160;</td></tr>
109
+<tr class="memitem:a2f24448c7c8a017443d7c9e248802c4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a">slot_netwManagerFinished</a> (QNetworkReply *reply)</td></tr>
110
+<tr class="memdesc:a2f24448c7c8a017443d7c9e248802c4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This slot is called when an image is successfuly retreived. The image is then added to the GUI display.  <a href="#a2f24448c7c8a017443d7c9e248802c4a">More...</a><br /></td></tr>
111
+<tr class="separator:a2f24448c7c8a017443d7c9e248802c4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
112
+</table><table class="memberdecls">
113
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
114
+Public Member Functions</h2></td></tr>
115
+<tr class="memitem:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
116
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
117
+<tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
118
+<tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2">&#160;</td></tr>
119
+<tr class="memitem:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98d00a93bc118200eeef9f9bba1dba7"></a>
120
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a> ()</td></tr>
121
+<tr class="memdesc:ae98d00a93bc118200eeef9f9bba1dba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
122
+<tr class="separator:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
123
+</table><table class="memberdecls">
124
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
125
+Private Slots</h2></td></tr>
126
+<tr class="memitem:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0311b384ff557cebb7f64fc36ba5f6cf"></a>
127
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf">on_capture_clicked</a> ()</td></tr>
128
+<tr class="memdesc:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal that starts or pause the capture of the packets in the sniffer. <br /></td></tr>
129
+<tr class="separator:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
130
+<tr class="memitem:ae5f032dc280e74d6cd895b7ff0930f17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17">on_packetDisplay_itemClicked</a> (QTableWidgetItem *item)</td></tr>
131
+<tr class="memdesc:ae5f032dc280e74d6cd895b7ff0930f17"><td class="mdescLeft">&#160;</td><td class="mdescRight">When a line of the packets captured is selected from the GUI a summary of the payload in ascii is presented in the summary box.  <a href="#ae5f032dc280e74d6cd895b7ff0930f17">More...</a><br /></td></tr>
132
+<tr class="separator:ae5f032dc280e74d6cd895b7ff0930f17"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
+<tr class="memitem:abdb4cd970167670c0dcbea4a45071892"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdb4cd970167670c0dcbea4a45071892"></a>
134
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#abdb4cd970167670c0dcbea4a45071892">on_resetButton_clicked</a> ()</td></tr>
135
+<tr class="memdesc:abdb4cd970167670c0dcbea4a45071892"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empties the packets vector, resets the GUI packet table and summary. <br /></td></tr>
136
+<tr class="separator:abdb4cd970167670c0dcbea4a45071892"><td class="memSeparator" colspan="2">&#160;</td></tr>
137
+</table><table class="memberdecls">
138
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
139
+Private Attributes</h2></td></tr>
140
+<tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
141
+Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
142
+<tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
143
+<tr class="memitem:abfaf76caab7ff83ed2c2d33ed8a10752"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sniffer.html">Sniffer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">sniff</a></td></tr>
144
+<tr class="separator:abfaf76caab7ff83ed2c2d33ed8a10752"><td class="memSeparator" colspan="2">&#160;</td></tr>
145
+<tr class="memitem:ae5a6ffcdcfd6861b30b6437cc26bd2b5"><td class="memItemLeft" align="right" valign="top">QThread&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">sniff_thread</a></td></tr>
146
+<tr class="separator:ae5a6ffcdcfd6861b30b6437cc26bd2b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
147
+<tr class="memitem:a2a035505d0e0d67620a0959430d25b28"><td class="memItemLeft" align="right" valign="top">QWaitCondition&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">wait_pause</a></td></tr>
148
+<tr class="separator:a2a035505d0e0d67620a0959430d25b28"><td class="memSeparator" colspan="2">&#160;</td></tr>
149
+<tr class="memitem:ac784fe4304c97d6866554bca82d8d8f1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">pause</a></td></tr>
150
+<tr class="separator:ac784fe4304c97d6866554bca82d8d8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
151
+<tr class="memitem:a9ed781aae28b5e872e53e38f140b26eb"><td class="memItemLeft" align="right" valign="top">QMutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">mutex</a></td></tr>
152
+<tr class="separator:a9ed781aae28b5e872e53e38f140b26eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
153
+<tr class="memitem:ae55a34c6c58b0e8b7c853969dfa52f1d"><td class="memItemLeft" align="right" valign="top">QStringList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">imageList</a></td></tr>
154
+<tr class="separator:ae55a34c6c58b0e8b7c853969dfa52f1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
155
+<tr class="memitem:ad2def9b9a717131ec554e32e9fc258c1"><td class="memItemLeft" align="right" valign="top">QNetworkAccessManager *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">netManager</a></td></tr>
156
+<tr class="separator:ad2def9b9a717131ec554e32e9fc258c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
157
+</table>
158
+<h2 class="groupheader">Member Function Documentation</h2>
159
+<a class="anchor" id="a429d5f7a014bccafa259dcd926531159"></a>
160
+<div class="memitem">
161
+<div class="memproto">
162
+<table class="mlabels">
163
+  <tr>
164
+  <td class="mlabels-left">
165
+      <table class="memname">
166
+        <tr>
167
+          <td class="memname">void MainWindow::handleResults </td>
168
+          <td>(</td>
169
+          <td class="paramtype">unsigned long&#160;</td>
170
+          <td class="paramname"><em>index</em></td><td>)</td>
171
+          <td></td>
172
+        </tr>
173
+      </table>
174
+  </td>
175
+  <td class="mlabels-right">
176
+<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
177
+  </tr>
178
+</table>
179
+</div><div class="memdoc">
180
+
181
+<p>A signal was received from the sniffer that a packet of the form Ethernet -&gt; IP -&gt; (TCP|UDP) has to be displayed in the GUI. Also checks if the packet is an http image request to display. </p>
182
+<dl class="params"><dt>Parameters</dt><dd>
183
+  <table class="params">
184
+    <tr><td class="paramname">index</td><td>number of the packet in the table </td></tr>
185
+  </table>
186
+  </dd>
187
+</dl>
188
+
189
+</div>
190
+</div>
191
+<a class="anchor" id="ae5f032dc280e74d6cd895b7ff0930f17"></a>
192
+<div class="memitem">
193
+<div class="memproto">
194
+<table class="mlabels">
195
+  <tr>
196
+  <td class="mlabels-left">
197
+      <table class="memname">
198
+        <tr>
199
+          <td class="memname">void MainWindow::on_packetDisplay_itemClicked </td>
200
+          <td>(</td>
201
+          <td class="paramtype">QTableWidgetItem *&#160;</td>
202
+          <td class="paramname"><em>item</em></td><td>)</td>
203
+          <td></td>
204
+        </tr>
205
+      </table>
206
+  </td>
207
+  <td class="mlabels-right">
208
+<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span>  </td>
209
+  </tr>
210
+</table>
211
+</div><div class="memdoc">
212
+
213
+<p>When a line of the packets captured is selected from the GUI a summary of the payload in ascii is presented in the summary box. </p>
214
+<dl class="params"><dt>Parameters</dt><dd>
215
+  <table class="params">
216
+    <tr><td class="paramname">item</td><td>item selected in the GUI </td></tr>
217
+  </table>
218
+  </dd>
219
+</dl>
220
+
221
+</div>
222
+</div>
223
+<a class="anchor" id="a2f24448c7c8a017443d7c9e248802c4a"></a>
224
+<div class="memitem">
225
+<div class="memproto">
226
+<table class="mlabels">
227
+  <tr>
228
+  <td class="mlabels-left">
229
+      <table class="memname">
230
+        <tr>
231
+          <td class="memname">void MainWindow::slot_netwManagerFinished </td>
232
+          <td>(</td>
233
+          <td class="paramtype">QNetworkReply *&#160;</td>
234
+          <td class="paramname"><em>reply</em></td><td>)</td>
235
+          <td></td>
236
+        </tr>
237
+      </table>
238
+  </td>
239
+  <td class="mlabels-right">
240
+<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
241
+  </tr>
242
+</table>
243
+</div><div class="memdoc">
244
+
245
+<p>This slot is called when an image is successfuly retreived. The image is then added to the GUI display. </p>
246
+<dl class="params"><dt>Parameters</dt><dd>
247
+  <table class="params">
248
+    <tr><td class="paramname">reply</td><td>object that contains the reply to our request. </td></tr>
249
+  </table>
250
+  </dd>
251
+</dl>
252
+
253
+</div>
254
+</div>
255
+<h2 class="groupheader">Member Data Documentation</h2>
256
+<a class="anchor" id="ae55a34c6c58b0e8b7c853969dfa52f1d"></a>
257
+<div class="memitem">
258
+<div class="memproto">
259
+<table class="mlabels">
260
+  <tr>
261
+  <td class="mlabels-left">
262
+      <table class="memname">
263
+        <tr>
264
+          <td class="memname">QStringList MainWindow::imageList</td>
265
+        </tr>
266
+      </table>
267
+  </td>
268
+  <td class="mlabels-right">
269
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
270
+  </tr>
271
+</table>
272
+</div><div class="memdoc">
273
+<p>List of images / lista de imagenes </p>
274
+
275
+</div>
276
+</div>
277
+<a class="anchor" id="a9ed781aae28b5e872e53e38f140b26eb"></a>
278
+<div class="memitem">
279
+<div class="memproto">
280
+<table class="mlabels">
281
+  <tr>
282
+  <td class="mlabels-left">
283
+      <table class="memname">
284
+        <tr>
285
+          <td class="memname">QMutex MainWindow::mutex</td>
286
+        </tr>
287
+      </table>
288
+  </td>
289
+  <td class="mlabels-right">
290
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
291
+  </tr>
292
+</table>
293
+</div><div class="memdoc">
294
+<p>Protect critical region / protege region critica </p>
295
+
296
+</div>
297
+</div>
298
+<a class="anchor" id="ad2def9b9a717131ec554e32e9fc258c1"></a>
299
+<div class="memitem">
300
+<div class="memproto">
301
+<table class="mlabels">
302
+  <tr>
303
+  <td class="mlabels-left">
304
+      <table class="memname">
305
+        <tr>
306
+          <td class="memname">QNetworkAccessManager* MainWindow::netManager</td>
307
+        </tr>
308
+      </table>
309
+  </td>
310
+  <td class="mlabels-right">
311
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
312
+  </tr>
313
+</table>
314
+</div><div class="memdoc">
315
+<p>to request http images / para solicitar imagenes http </p>
316
+
317
+</div>
318
+</div>
319
+<a class="anchor" id="ac784fe4304c97d6866554bca82d8d8f1"></a>
320
+<div class="memitem">
321
+<div class="memproto">
322
+<table class="mlabels">
323
+  <tr>
324
+  <td class="mlabels-left">
325
+      <table class="memname">
326
+        <tr>
327
+          <td class="memname">int MainWindow::pause</td>
328
+        </tr>
329
+      </table>
330
+  </td>
331
+  <td class="mlabels-right">
332
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
333
+  </tr>
334
+</table>
335
+</div><div class="memdoc">
336
+<p>flag to pause / bandera para pausar </p>
337
+
338
+</div>
339
+</div>
340
+<a class="anchor" id="abfaf76caab7ff83ed2c2d33ed8a10752"></a>
341
+<div class="memitem">
342
+<div class="memproto">
343
+<table class="mlabels">
344
+  <tr>
345
+  <td class="mlabels-left">
346
+      <table class="memname">
347
+        <tr>
348
+          <td class="memname"><a class="el" href="class_sniffer.html">Sniffer</a>* MainWindow::sniff</td>
349
+        </tr>
350
+      </table>
351
+  </td>
352
+  <td class="mlabels-right">
353
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
354
+  </tr>
355
+</table>
356
+</div><div class="memdoc">
357
+<p>pointer to the sniffer class / apuntador a la clase sniffer </p>
358
+
359
+</div>
360
+</div>
361
+<a class="anchor" id="ae5a6ffcdcfd6861b30b6437cc26bd2b5"></a>
362
+<div class="memitem">
363
+<div class="memproto">
364
+<table class="mlabels">
365
+  <tr>
366
+  <td class="mlabels-left">
367
+      <table class="memname">
368
+        <tr>
369
+          <td class="memname">QThread MainWindow::sniff_thread</td>
370
+        </tr>
371
+      </table>
372
+  </td>
373
+  <td class="mlabels-right">
374
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
375
+  </tr>
376
+</table>
377
+</div><div class="memdoc">
378
+<p>thread for the sniffer / hilo para el sniffer </p>
379
+
380
+</div>
381
+</div>
382
+<a class="anchor" id="a2a035505d0e0d67620a0959430d25b28"></a>
383
+<div class="memitem">
384
+<div class="memproto">
385
+<table class="mlabels">
386
+  <tr>
387
+  <td class="mlabels-left">
388
+      <table class="memname">
389
+        <tr>
390
+          <td class="memname">QWaitCondition MainWindow::wait_pause</td>
391
+        </tr>
392
+      </table>
393
+  </td>
394
+  <td class="mlabels-right">
395
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
396
+  </tr>
397
+</table>
398
+</div><div class="memdoc">
399
+<p>to pause the sniffer / para pausar el sniffer </p>
400
+
401
+</div>
402
+</div>
403
+<hr/>The documentation for this class was generated from the following files:<ul>
404
+<li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
405
+<li>mainwindow.cpp</li>
406
+</ul>
407
+</div><!-- contents -->
408
+<!-- start footer part -->
409
+<hr class="footer"/><address class="footer"><small>
410
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
411
+<img class="footer" src="doxygen.png" alt="doxygen"/>
412
+</a> 1.8.9.1
413
+</small></address>
414
+</body>
415
+</html>

BIN
doc/en/html/class_main_window.png View File


+ 119
- 0
doc/en/html/class_sniffer-members.html View File

@@ -0,0 +1,119 @@
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: Member List</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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Sniffer Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="class_sniffer.html">Sniffer</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>device</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
93
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>filter</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6">find_devices</a>(vector&lt; string &gt; &amp;)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2">format_hex_ascii_line</a>(const char *payload, int len, int offset)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c">format_payload</a>(const char *payload, int len)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6">getPacketList</a>()</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0">got_packet</a>(const struct pcap_pkthdr *header, const u_char *packet)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
99
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>mutex</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
100
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>packet_list</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
101
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>pause</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6">print_hex_ascii_line</a>(const u_char *payload, int len, int offset)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910">print_payload</a>(const u_char *payload, int len)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514">process</a>()</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">slot</span></td></tr>
105
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>resultReady</b>(unsigned long index) (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">signal</span></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#ab706811aa2b285e4c0f55491703c105a">setDevice</a>(string)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
107
+  <tr><td class="entry"><a class="el" href="class_sniffer.html#a8039cbd5f487a357321d57337a664d3d">Sniffer</a>()</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a8e5f1474f756be527b4c39a3e9a83893">Sniffer</a>(QWaitCondition *pw, QMutex *mx, int *ps)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
109
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>wait_pause</b> (defined in <a class="el" href="class_sniffer.html">Sniffer</a>)</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
110
+  <tr class="even"><td class="entry"><a class="el" href="class_sniffer.html#a8ad3b97292e2cc274f31d87701f92be2">~Sniffer</a>()</td><td class="entry"><a class="el" href="class_sniffer.html">Sniffer</a></td><td class="entry"></td></tr>
111
+</table></div><!-- contents -->
112
+<!-- start footer part -->
113
+<hr class="footer"/><address class="footer"><small>
114
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
115
+<img class="footer" src="doxygen.png" alt="doxygen"/>
116
+</a> 1.8.9.1
117
+</small></address>
118
+</body>
119
+</html>

+ 524
- 0
doc/en/html/class_sniffer.html View File

@@ -0,0 +1,524 @@
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: Sniffer Class 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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-slots">Public Slots</a> &#124;
87
+<a href="#signals">Signals</a> &#124;
88
+<a href="#pub-methods">Public Member Functions</a> &#124;
89
+<a href="#pri-methods">Private Member Functions</a> &#124;
90
+<a href="#pri-attribs">Private Attributes</a> &#124;
91
+<a href="class_sniffer-members.html">List of all members</a>  </div>
92
+  <div class="headertitle">
93
+<div class="title">Sniffer Class Reference</div>  </div>
94
+</div><!--header-->
95
+<div class="contents">
96
+
97
+<p>The <a class="el" href="class_sniffer.html" title="The Sniffer class is the one that use the pcap library to extract the packet information. It discards any packet that is not Ethernet->IP->(TCP|UDP), and pass up to the GUI the packets that are Ethernet->IP->(TCP|UDP). ">Sniffer</a> class is the one that use the pcap library to extract the packet information. It discards any packet that is not Ethernet-&gt;IP-&gt;(TCP|UDP), and pass up to the GUI the packets that are Ethernet-&gt;IP-&gt;(TCP|UDP).  
98
+ <a href="class_sniffer.html#details">More...</a></p>
99
+
100
+<p><code>#include &lt;<a class="el" href="sniffer_8h_source.html">sniffer.h</a>&gt;</code></p>
101
+<div class="dynheader">
102
+Inheritance diagram for Sniffer:</div>
103
+<div class="dyncontent">
104
+ <div class="center">
105
+  <img src="class_sniffer.png" usemap="#Sniffer_map" alt=""/>
106
+  <map id="Sniffer_map" name="Sniffer_map">
107
+</map>
108
+ </div></div>
109
+<table class="memberdecls">
110
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
111
+Public Slots</h2></td></tr>
112
+<tr class="memitem:a6fc78b66d2f4dce0cc3662dacf171514"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fc78b66d2f4dce0cc3662dacf171514"></a>
113
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514">process</a> ()</td></tr>
114
+<tr class="memdesc:a6fc78b66d2f4dce0cc3662dacf171514"><td class="mdescLeft">&#160;</td><td class="mdescRight">The sniffer is run as a separate thread and the function process is the main function of the thread. It is the sniffer. <br /></td></tr>
115
+<tr class="separator:a6fc78b66d2f4dce0cc3662dacf171514"><td class="memSeparator" colspan="2">&#160;</td></tr>
116
+</table><table class="memberdecls">
117
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
118
+Signals</h2></td></tr>
119
+<tr class="memitem:a7d0fd40379b7e5f49aff18ac20cb1c45"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d0fd40379b7e5f49aff18ac20cb1c45"></a>
120
+void&#160;</td><td class="memItemRight" valign="bottom"><b>resultReady</b> (unsigned long index)</td></tr>
121
+<tr class="separator:a7d0fd40379b7e5f49aff18ac20cb1c45"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+</table><table class="memberdecls">
123
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
124
+Public Member Functions</h2></td></tr>
125
+<tr class="memitem:a8039cbd5f487a357321d57337a664d3d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8039cbd5f487a357321d57337a664d3d"></a>
126
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a8039cbd5f487a357321d57337a664d3d">Sniffer</a> ()</td></tr>
127
+<tr class="memdesc:a8039cbd5f487a357321d57337a664d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, does nothing. <br /></td></tr>
128
+<tr class="separator:a8039cbd5f487a357321d57337a664d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
129
+<tr class="memitem:a8e5f1474f756be527b4c39a3e9a83893"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a8e5f1474f756be527b4c39a3e9a83893">Sniffer</a> (QWaitCondition *pw, QMutex *mx, int *ps)</td></tr>
130
+<tr class="memdesc:a8e5f1474f756be527b4c39a3e9a83893"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the mutexes for the inter communication between the sniffer and the GUI.  <a href="#a8e5f1474f756be527b4c39a3e9a83893">More...</a><br /></td></tr>
131
+<tr class="separator:a8e5f1474f756be527b4c39a3e9a83893"><td class="memSeparator" colspan="2">&#160;</td></tr>
132
+<tr class="memitem:a8ad3b97292e2cc274f31d87701f92be2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ad3b97292e2cc274f31d87701f92be2"></a>
133
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a8ad3b97292e2cc274f31d87701f92be2">~Sniffer</a> ()</td></tr>
134
+<tr class="memdesc:a8ad3b97292e2cc274f31d87701f92be2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor, does nothing. <br /></td></tr>
135
+<tr class="separator:a8ad3b97292e2cc274f31d87701f92be2"><td class="memSeparator" colspan="2">&#160;</td></tr>
136
+<tr class="memitem:a791027d276cfcc5e6849132ecf8e80b6"><td class="memItemLeft" align="right" valign="top">vector&lt; <a class="el" href="classip__packet.html">ip_packet</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6">getPacketList</a> ()</td></tr>
137
+<tr class="memdesc:a791027d276cfcc5e6849132ecf8e80b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the packet list that contains the packets that are Ethernet -&gt; IP -&gt; (TCP|UDP)  <a href="#a791027d276cfcc5e6849132ecf8e80b6">More...</a><br /></td></tr>
138
+<tr class="separator:a791027d276cfcc5e6849132ecf8e80b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
139
+<tr class="memitem:a3dd95c60c5b8554e1bedc22b36ae488c"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c">format_payload</a> (const char *payload, int len)</td></tr>
140
+<tr class="memdesc:a3dd95c60c5b8554e1bedc22b36ae488c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the payload from a byte stream into a string of ascci.  <a href="#a3dd95c60c5b8554e1bedc22b36ae488c">More...</a><br /></td></tr>
141
+<tr class="separator:a3dd95c60c5b8554e1bedc22b36ae488c"><td class="memSeparator" colspan="2">&#160;</td></tr>
142
+<tr class="memitem:a02101b56a75804d1ed39a1c04ba36ab2"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2">format_hex_ascii_line</a> (const char *payload, int len, int offset)</td></tr>
143
+<tr class="memdesc:a02101b56a75804d1ed39a1c04ba36ab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return string with the bytes of a payload line in ascii.  <a href="#a02101b56a75804d1ed39a1c04ba36ab2">More...</a><br /></td></tr>
144
+<tr class="separator:a02101b56a75804d1ed39a1c04ba36ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
145
+<tr class="memitem:a94d7cd87d0f181c3cf2e5ec851e370b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6">find_devices</a> (vector&lt; string &gt; &amp;)</td></tr>
146
+<tr class="memdesc:a94d7cd87d0f181c3cf2e5ec851e370b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the network devices in the computer, and store them in vector devs.  <a href="#a94d7cd87d0f181c3cf2e5ec851e370b6">More...</a><br /></td></tr>
147
+<tr class="separator:a94d7cd87d0f181c3cf2e5ec851e370b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
148
+<tr class="memitem:ab706811aa2b285e4c0f55491703c105a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#ab706811aa2b285e4c0f55491703c105a">setDevice</a> (string)</td></tr>
149
+<tr class="memdesc:ab706811aa2b285e4c0f55491703c105a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the device to capture packets to dev.  <a href="#ab706811aa2b285e4c0f55491703c105a">More...</a><br /></td></tr>
150
+<tr class="separator:ab706811aa2b285e4c0f55491703c105a"><td class="memSeparator" colspan="2">&#160;</td></tr>
151
+</table><table class="memberdecls">
152
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
153
+Private Member Functions</h2></td></tr>
154
+<tr class="memitem:ac05f935a6ec2830d6bf42b607f071910"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910">print_payload</a> (const u_char *payload, int len)</td></tr>
155
+<tr class="memdesc:ac05f935a6ec2830d6bf42b607f071910"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the payload in ascii.  <a href="#ac05f935a6ec2830d6bf42b607f071910">More...</a><br /></td></tr>
156
+<tr class="separator:ac05f935a6ec2830d6bf42b607f071910"><td class="memSeparator" colspan="2">&#160;</td></tr>
157
+<tr class="memitem:a70598d5001a30cc8e801f1262770cdf6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6">print_hex_ascii_line</a> (const u_char *payload, int len, int offset)</td></tr>
158
+<tr class="memdesc:a70598d5001a30cc8e801f1262770cdf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints to std output the a payload in ascii.  <a href="#a70598d5001a30cc8e801f1262770cdf6">More...</a><br /></td></tr>
159
+<tr class="separator:a70598d5001a30cc8e801f1262770cdf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
160
+<tr class="memitem:a0179e32fee6a0f7c2a13f37d64a7fae0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0">got_packet</a> (const struct pcap_pkthdr *header, const u_char *packet)</td></tr>
161
+<tr class="memdesc:a0179e32fee6a0f7c2a13f37d64a7fae0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disects the received packet. Takes out the info needed.  <a href="#a0179e32fee6a0f7c2a13f37d64a7fae0">More...</a><br /></td></tr>
162
+<tr class="separator:a0179e32fee6a0f7c2a13f37d64a7fae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
163
+</table><table class="memberdecls">
164
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
165
+Private Attributes</h2></td></tr>
166
+<tr class="memitem:ad3ad83091913a50effd7468d8d7ca590"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3ad83091913a50effd7468d8d7ca590"></a>
167
+vector&lt; <a class="el" href="classip__packet.html">ip_packet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>packet_list</b></td></tr>
168
+<tr class="separator:ad3ad83091913a50effd7468d8d7ca590"><td class="memSeparator" colspan="2">&#160;</td></tr>
169
+<tr class="memitem:a36e1964fbc960b60a09b425a7cd1c0f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36e1964fbc960b60a09b425a7cd1c0f6"></a>
170
+QWaitCondition *&#160;</td><td class="memItemRight" valign="bottom"><b>wait_pause</b></td></tr>
171
+<tr class="separator:a36e1964fbc960b60a09b425a7cd1c0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
172
+<tr class="memitem:ae0d6a92d2224a8c927afe861d45ab182"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0d6a92d2224a8c927afe861d45ab182"></a>
173
+QMutex *&#160;</td><td class="memItemRight" valign="bottom"><b>mutex</b></td></tr>
174
+<tr class="separator:ae0d6a92d2224a8c927afe861d45ab182"><td class="memSeparator" colspan="2">&#160;</td></tr>
175
+<tr class="memitem:ac35f2e04e7f7668243a75bd9b9b44028"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac35f2e04e7f7668243a75bd9b9b44028"></a>
176
+string&#160;</td><td class="memItemRight" valign="bottom"><b>device</b></td></tr>
177
+<tr class="separator:ac35f2e04e7f7668243a75bd9b9b44028"><td class="memSeparator" colspan="2">&#160;</td></tr>
178
+<tr class="memitem:abb7dd6858499a14bcf002ba86e2d3f7f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb7dd6858499a14bcf002ba86e2d3f7f"></a>
179
+string&#160;</td><td class="memItemRight" valign="bottom"><b>filter</b></td></tr>
180
+<tr class="separator:abb7dd6858499a14bcf002ba86e2d3f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
181
+<tr class="memitem:a2fde6ba65f629b1c74b1fcd1b8d2c022"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fde6ba65f629b1c74b1fcd1b8d2c022"></a>
182
+int *&#160;</td><td class="memItemRight" valign="bottom"><b>pause</b></td></tr>
183
+<tr class="separator:a2fde6ba65f629b1c74b1fcd1b8d2c022"><td class="memSeparator" colspan="2">&#160;</td></tr>
184
+</table>
185
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
186
+<div class="textblock"><p>The <a class="el" href="class_sniffer.html" title="The Sniffer class is the one that use the pcap library to extract the packet information. It discards any packet that is not Ethernet->IP->(TCP|UDP), and pass up to the GUI the packets that are Ethernet->IP->(TCP|UDP). ">Sniffer</a> class is the one that use the pcap library to extract the packet information. It discards any packet that is not Ethernet-&gt;IP-&gt;(TCP|UDP), and pass up to the GUI the packets that are Ethernet-&gt;IP-&gt;(TCP|UDP). </p>
187
+</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
188
+<a class="anchor" id="a8e5f1474f756be527b4c39a3e9a83893"></a>
189
+<div class="memitem">
190
+<div class="memproto">
191
+      <table class="memname">
192
+        <tr>
193
+          <td class="memname">Sniffer::Sniffer </td>
194
+          <td>(</td>
195
+          <td class="paramtype">QWaitCondition *&#160;</td>
196
+          <td class="paramname"><em>pw</em>, </td>
197
+        </tr>
198
+        <tr>
199
+          <td class="paramkey"></td>
200
+          <td></td>
201
+          <td class="paramtype">QMutex *&#160;</td>
202
+          <td class="paramname"><em>mx</em>, </td>
203
+        </tr>
204
+        <tr>
205
+          <td class="paramkey"></td>
206
+          <td></td>
207
+          <td class="paramtype">int *&#160;</td>
208
+          <td class="paramname"><em>ps</em>&#160;</td>
209
+        </tr>
210
+        <tr>
211
+          <td></td>
212
+          <td>)</td>
213
+          <td></td><td></td>
214
+        </tr>
215
+      </table>
216
+</div><div class="memdoc">
217
+
218
+<p>Sets the mutexes for the inter communication between the sniffer and the GUI. </p>
219
+<dl class="params"><dt>Parameters</dt><dd>
220
+  <table class="params">
221
+    <tr><td class="paramname">pw</td><td>used to pause the capture of packets </td></tr>
222
+    <tr><td class="paramname">mx</td><td>used to protect critical region </td></tr>
223
+    <tr><td class="paramname">ps</td><td>flag to pause the packet capture </td></tr>
224
+  </table>
225
+  </dd>
226
+</dl>
227
+
228
+</div>
229
+</div>
230
+<h2 class="groupheader">Member Function Documentation</h2>
231
+<a class="anchor" id="a94d7cd87d0f181c3cf2e5ec851e370b6"></a>
232
+<div class="memitem">
233
+<div class="memproto">
234
+      <table class="memname">
235
+        <tr>
236
+          <td class="memname">void Sniffer::find_devices </td>
237
+          <td>(</td>
238
+          <td class="paramtype">vector&lt; string &gt; &amp;&#160;</td>
239
+          <td class="paramname"><em>devs</em></td><td>)</td>
240
+          <td></td>
241
+        </tr>
242
+      </table>
243
+</div><div class="memdoc">
244
+
245
+<p>Find the network devices in the computer, and store them in vector devs. </p>
246
+<dl class="params"><dt>Parameters</dt><dd>
247
+  <table class="params">
248
+    <tr><td class="paramname">devs</td><td>vector of string for device names </td></tr>
249
+  </table>
250
+  </dd>
251
+</dl>
252
+
253
+</div>
254
+</div>
255
+<a class="anchor" id="a02101b56a75804d1ed39a1c04ba36ab2"></a>
256
+<div class="memitem">
257
+<div class="memproto">
258
+      <table class="memname">
259
+        <tr>
260
+          <td class="memname">string Sniffer::format_hex_ascii_line </td>
261
+          <td>(</td>
262
+          <td class="paramtype">const char *&#160;</td>
263
+          <td class="paramname"><em>payload</em>, </td>
264
+        </tr>
265
+        <tr>
266
+          <td class="paramkey"></td>
267
+          <td></td>
268
+          <td class="paramtype">int&#160;</td>
269
+          <td class="paramname"><em>len</em>, </td>
270
+        </tr>
271
+        <tr>
272
+          <td class="paramkey"></td>
273
+          <td></td>
274
+          <td class="paramtype">int&#160;</td>
275
+          <td class="paramname"><em>offset</em>&#160;</td>
276
+        </tr>
277
+        <tr>
278
+          <td></td>
279
+          <td>)</td>
280
+          <td></td><td></td>
281
+        </tr>
282
+      </table>
283
+</div><div class="memdoc">
284
+
285
+<p>Return string with the bytes of a payload line in ascii. </p>
286
+<dl class="params"><dt>Parameters</dt><dd>
287
+  <table class="params">
288
+    <tr><td class="paramname">payload</td><td>payload of the packet </td></tr>
289
+    <tr><td class="paramname">len</td><td>length of the packet </td></tr>
290
+    <tr><td class="paramname">offset</td><td>offset of packet </td></tr>
291
+  </table>
292
+  </dd>
293
+</dl>
294
+<dl class="section return"><dt>Returns</dt><dd>a string with the bytes of a payload line in ascii </dd></dl>
295
+
296
+</div>
297
+</div>
298
+<a class="anchor" id="a3dd95c60c5b8554e1bedc22b36ae488c"></a>
299
+<div class="memitem">
300
+<div class="memproto">
301
+      <table class="memname">
302
+        <tr>
303
+          <td class="memname">string Sniffer::format_payload </td>
304
+          <td>(</td>
305
+          <td class="paramtype">const char *&#160;</td>
306
+          <td class="paramname"><em>payload</em>, </td>
307
+        </tr>
308
+        <tr>
309
+          <td class="paramkey"></td>
310
+          <td></td>
311
+          <td class="paramtype">int&#160;</td>
312
+          <td class="paramname"><em>len</em>&#160;</td>
313
+        </tr>
314
+        <tr>
315
+          <td></td>
316
+          <td>)</td>
317
+          <td></td><td></td>
318
+        </tr>
319
+      </table>
320
+</div><div class="memdoc">
321
+
322
+<p>Formats the payload from a byte stream into a string of ascci. </p>
323
+<dl class="params"><dt>Parameters</dt><dd>
324
+  <table class="params">
325
+    <tr><td class="paramname">payload</td><td>payload of the packet </td></tr>
326
+    <tr><td class="paramname">len</td><td>length of the packet </td></tr>
327
+  </table>
328
+  </dd>
329
+</dl>
330
+<dl class="section return"><dt>Returns</dt><dd>the payload in a string of ascii </dd></dl>
331
+
332
+</div>
333
+</div>
334
+<a class="anchor" id="a791027d276cfcc5e6849132ecf8e80b6"></a>
335
+<div class="memitem">
336
+<div class="memproto">
337
+      <table class="memname">
338
+        <tr>
339
+          <td class="memname">vector&lt; <a class="el" href="classip__packet.html">ip_packet</a> &gt; * Sniffer::getPacketList </td>
340
+          <td>(</td>
341
+          <td class="paramname"></td><td>)</td>
342
+          <td></td>
343
+        </tr>
344
+      </table>
345
+</div><div class="memdoc">
346
+
347
+<p>Returns the packet list that contains the packets that are Ethernet -&gt; IP -&gt; (TCP|UDP) </p>
348
+<dl class="section return"><dt>Returns</dt><dd>vector of packets </dd></dl>
349
+
350
+</div>
351
+</div>
352
+<a class="anchor" id="a0179e32fee6a0f7c2a13f37d64a7fae0"></a>
353
+<div class="memitem">
354
+<div class="memproto">
355
+<table class="mlabels">
356
+  <tr>
357
+  <td class="mlabels-left">
358
+      <table class="memname">
359
+        <tr>
360
+          <td class="memname">void Sniffer::got_packet </td>
361
+          <td>(</td>
362
+          <td class="paramtype">const struct pcap_pkthdr *&#160;</td>
363
+          <td class="paramname"><em>header</em>, </td>
364
+        </tr>
365
+        <tr>
366
+          <td class="paramkey"></td>
367
+          <td></td>
368
+          <td class="paramtype">const u_char *&#160;</td>
369
+          <td class="paramname"><em>packet</em>&#160;</td>
370
+        </tr>
371
+        <tr>
372
+          <td></td>
373
+          <td>)</td>
374
+          <td></td><td></td>
375
+        </tr>
376
+      </table>
377
+  </td>
378
+  <td class="mlabels-right">
379
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
380
+  </tr>
381
+</table>
382
+</div><div class="memdoc">
383
+
384
+<p>Disects the received packet. Takes out the info needed. </p>
385
+<dl class="params"><dt>Parameters</dt><dd>
386
+  <table class="params">
387
+    <tr><td class="paramname">pcap_pkthdr</td><td>header of the pcap packet </td></tr>
388
+    <tr><td class="paramname">packet</td><td>recieved packet </td></tr>
389
+  </table>
390
+  </dd>
391
+</dl>
392
+
393
+</div>
394
+</div>
395
+<a class="anchor" id="a70598d5001a30cc8e801f1262770cdf6"></a>
396
+<div class="memitem">
397
+<div class="memproto">
398
+<table class="mlabels">
399
+  <tr>
400
+  <td class="mlabels-left">
401
+      <table class="memname">
402
+        <tr>
403
+          <td class="memname">void Sniffer::print_hex_ascii_line </td>
404
+          <td>(</td>
405
+          <td class="paramtype">const u_char *&#160;</td>
406
+          <td class="paramname"><em>payload</em>, </td>
407
+        </tr>
408
+        <tr>
409
+          <td class="paramkey"></td>
410
+          <td></td>
411
+          <td class="paramtype">int&#160;</td>
412
+          <td class="paramname"><em>len</em>, </td>
413
+        </tr>
414
+        <tr>
415
+          <td class="paramkey"></td>
416
+          <td></td>
417
+          <td class="paramtype">int&#160;</td>
418
+          <td class="paramname"><em>offset</em>&#160;</td>
419
+        </tr>
420
+        <tr>
421
+          <td></td>
422
+          <td>)</td>
423
+          <td></td><td></td>
424
+        </tr>
425
+      </table>
426
+  </td>
427
+  <td class="mlabels-right">
428
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
429
+  </tr>
430
+</table>
431
+</div><div class="memdoc">
432
+
433
+<p>Prints to std output the a payload in ascii. </p>
434
+<dl class="params"><dt>Parameters</dt><dd>
435
+  <table class="params">
436
+    <tr><td class="paramname">payload</td><td>payload of the packet </td></tr>
437
+    <tr><td class="paramname">len</td><td>length of the packet </td></tr>
438
+    <tr><td class="paramname">offset</td><td>offset </td></tr>
439
+  </table>
440
+  </dd>
441
+</dl>
442
+
443
+</div>
444
+</div>
445
+<a class="anchor" id="ac05f935a6ec2830d6bf42b607f071910"></a>
446
+<div class="memitem">
447
+<div class="memproto">
448
+<table class="mlabels">
449
+  <tr>
450
+  <td class="mlabels-left">
451
+      <table class="memname">
452
+        <tr>
453
+          <td class="memname">void Sniffer::print_payload </td>
454
+          <td>(</td>
455
+          <td class="paramtype">const u_char *&#160;</td>
456
+          <td class="paramname"><em>payload</em>, </td>
457
+        </tr>
458
+        <tr>
459
+          <td class="paramkey"></td>
460
+          <td></td>
461
+          <td class="paramtype">int&#160;</td>
462
+          <td class="paramname"><em>len</em>&#160;</td>
463
+        </tr>
464
+        <tr>
465
+          <td></td>
466
+          <td>)</td>
467
+          <td></td><td></td>
468
+        </tr>
469
+      </table>
470
+  </td>
471
+  <td class="mlabels-right">
472
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
473
+  </tr>
474
+</table>
475
+</div><div class="memdoc">
476
+
477
+<p>Prints the payload in ascii. </p>
478
+<dl class="params"><dt>Parameters</dt><dd>
479
+  <table class="params">
480
+    <tr><td class="paramname">payload</td><td>payload of the packet </td></tr>
481
+    <tr><td class="paramname">len</td><td>payload length </td></tr>
482
+  </table>
483
+  </dd>
484
+</dl>
485
+
486
+</div>
487
+</div>
488
+<a class="anchor" id="ab706811aa2b285e4c0f55491703c105a"></a>
489
+<div class="memitem">
490
+<div class="memproto">
491
+      <table class="memname">
492
+        <tr>
493
+          <td class="memname">void Sniffer::setDevice </td>
494
+          <td>(</td>
495
+          <td class="paramtype">string&#160;</td>
496
+          <td class="paramname"><em>dev</em></td><td>)</td>
497
+          <td></td>
498
+        </tr>
499
+      </table>
500
+</div><div class="memdoc">
501
+
502
+<p>Sets the device to capture packets to dev. </p>
503
+<dl class="params"><dt>Parameters</dt><dd>
504
+  <table class="params">
505
+    <tr><td class="paramname">dev</td><td>name of the device </td></tr>
506
+  </table>
507
+  </dd>
508
+</dl>
509
+
510
+</div>
511
+</div>
512
+<hr/>The documentation for this class was generated from the following files:<ul>
513
+<li><a class="el" href="sniffer_8h_source.html">sniffer.h</a></li>
514
+<li>sniffer.cpp</li>
515
+</ul>
516
+</div><!-- contents -->
517
+<!-- start footer part -->
518
+<hr class="footer"/><address class="footer"><small>
519
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
520
+<img class="footer" src="doxygen.png" alt="doxygen"/>
521
+</a> 1.8.9.1
522
+</small></address>
523
+</body>
524
+</html>

BIN
doc/en/html/class_sniffer.png View File


+ 113
- 0
doc/en/html/classes.html View File

@@ -0,0 +1,113 @@
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: Class Index</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 class="current"><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
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class Index</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="qindex"><a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
90
+<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
91
+<tr><td rowspan="2" valign="bottom"><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;M&#160;&#160;</div></td></tr></table>
92
+</td><td rowspan="2" valign="bottom"><a name="letter_e"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;e&#160;&#160;</div></td></tr></table>
93
+</td><td valign="top"><a class="el" href="classip__packet.html">ip_packet</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structsniff__ip.html">sniff_ip</a>&#160;&#160;&#160;</td></tr>
94
+<tr><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;s&#160;&#160;</div></td></tr></table>
95
+</td><td valign="top"><a class="el" href="structsniff__tcp.html">sniff_tcp</a>&#160;&#160;&#160;</td></tr>
96
+<tr><td valign="top"><a class="el" href="class_main_window.html">MainWindow</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classethernet__packet.html">ethernet_packet</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="structsniff__udp.html">sniff_udp</a>&#160;&#160;&#160;</td></tr>
97
+<tr><td rowspan="2" valign="bottom"><a name="letter_S"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;S&#160;&#160;</div></td></tr></table>
98
+</td><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;i&#160;&#160;</div></td></tr></table>
99
+</td><td valign="top"><a class="el" href="structsniff__ethernet.html">sniff_ethernet</a>&#160;&#160;&#160;</td><td></td></tr>
100
+<tr><td></td><td></td></tr>
101
+<tr><td valign="top"><a class="el" href="class_sniffer.html">Sniffer</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="classimagepacket.html">imagepacket</a>&#160;&#160;&#160;</td><td></td><td></td></tr>
102
+<tr><td></td><td></td><td></td><td></td></tr>
103
+</table>
104
+<div class="qindex"><a class="qindex" href="#letter_E">E</a>&#160;|&#160;<a class="qindex" href="#letter_I">I</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a>&#160;|&#160;<a class="qindex" href="#letter_S">S</a></div>
105
+</div><!-- contents -->
106
+<!-- start footer part -->
107
+<hr class="footer"/><address class="footer"><small>
108
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
109
+<img class="footer" src="doxygen.png" alt="doxygen"/>
110
+</a> 1.8.9.1
111
+</small></address>
112
+</body>
113
+</html>

+ 109
- 0
doc/en/html/classethernet__packet-members.html View File

@@ -0,0 +1,109 @@
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: Member List</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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">ethernet_packet Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="classethernet__packet.html">ethernet_packet</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet</a></td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
93
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">getEtherDHost</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">getEtherSHost</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">getEtherType</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
97
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2">mac2string</a>(u_char[])</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">setEtherDHost</a>(u_char[])</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
99
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">setEtherSHost</a>(u_char[])</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">setEtherType</a>(u_short)</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
101
+</table></div><!-- contents -->
102
+<!-- start footer part -->
103
+<hr class="footer"/><address class="footer"><small>
104
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
105
+<img class="footer" src="doxygen.png" alt="doxygen"/>
106
+</a> 1.8.9.1
107
+</small></address>
108
+</body>
109
+</html>

+ 341
- 0
doc/en/html/classethernet__packet.html View File

@@ -0,0 +1,341 @@
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: ethernet_packet Class 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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-methods">Public Member Functions</a> &#124;
87
+<a href="#pri-methods">Private Member Functions</a> &#124;
88
+<a href="#pri-attribs">Private Attributes</a> &#124;
89
+<a href="classethernet__packet-members.html">List of all members</a>  </div>
90
+  <div class="headertitle">
91
+<div class="title">ethernet_packet Class Reference</div>  </div>
92
+</div><!--header-->
93
+<div class="contents">
94
+
95
+<p>The <a class="el" href="classethernet__packet.html" title="The ethernet_packet class contains function to change the ethernet information in bytes from the ethe...">ethernet_packet</a> class contains function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings)  
96
+ <a href="classethernet__packet.html#details">More...</a></p>
97
+
98
+<p><code>#include &lt;<a class="el" href="ethernet__packet_8h_source.html">ethernet_packet.h</a>&gt;</code></p>
99
+<div class="dynheader">
100
+Inheritance diagram for ethernet_packet:</div>
101
+<div class="dyncontent">
102
+ <div class="center">
103
+  <img src="classethernet__packet.png" usemap="#ethernet_packet_map" alt=""/>
104
+  <map id="ethernet_packet_map" name="ethernet_packet_map">
105
+<area href="classip__packet.html" title="The ip_packet class contains the information extracted from a packet received using pcap for packets ..." alt="ip_packet" shape="rect" coords="0,56,102,80"/>
106
+</map>
107
+ </div></div>
108
+<table class="memberdecls">
109
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
110
+Public Member Functions</h2></td></tr>
111
+<tr class="memitem:a4986a171f2710d2f7385adc9698be32c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4986a171f2710d2f7385adc9698be32c"></a>
112
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a> ()</td></tr>
113
+<tr class="memdesc:a4986a171f2710d2f7385adc9698be32c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, does nothing. <br /></td></tr>
114
+<tr class="separator:a4986a171f2710d2f7385adc9698be32c"><td class="memSeparator" colspan="2">&#160;</td></tr>
115
+<tr class="memitem:acd600b879a9ea2b3753680c5e8a3ef88"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">setEtherDHost</a> (u_char[])</td></tr>
116
+<tr class="memdesc:acd600b879a9ea2b3753680c5e8a3ef88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives the array of 6 bytes of a destination host.  <a href="#acd600b879a9ea2b3753680c5e8a3ef88">More...</a><br /></td></tr>
117
+<tr class="separator:acd600b879a9ea2b3753680c5e8a3ef88"><td class="memSeparator" colspan="2">&#160;</td></tr>
118
+<tr class="memitem:aab9239c39e891929b316654b77ff9c38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">setEtherSHost</a> (u_char[])</td></tr>
119
+<tr class="memdesc:aab9239c39e891929b316654b77ff9c38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives the array of 6 bytes of a source host.  <a href="#aab9239c39e891929b316654b77ff9c38">More...</a><br /></td></tr>
120
+<tr class="separator:aab9239c39e891929b316654b77ff9c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
121
+<tr class="memitem:ad42d30ecbabfbce466fbbf9153977fc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">setEtherType</a> (u_short)</td></tr>
122
+<tr class="memdesc:ad42d30ecbabfbce466fbbf9153977fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Ethernet type.  <a href="#ad42d30ecbabfbce466fbbf9153977fc8">More...</a><br /></td></tr>
123
+<tr class="separator:ad42d30ecbabfbce466fbbf9153977fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+<tr class="memitem:affa9f0bd4139a1b435e00401da1085f1"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">getEtherDHost</a> ()</td></tr>
125
+<tr class="memdesc:affa9f0bd4139a1b435e00401da1085f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination HA in string format.  <a href="#affa9f0bd4139a1b435e00401da1085f1">More...</a><br /></td></tr>
126
+<tr class="separator:affa9f0bd4139a1b435e00401da1085f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
127
+<tr class="memitem:aa86115cbbf7baab794766ced8b27edb3"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">getEtherSHost</a> ()</td></tr>
128
+<tr class="memdesc:aa86115cbbf7baab794766ced8b27edb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source HA in string format.  <a href="#aa86115cbbf7baab794766ced8b27edb3">More...</a><br /></td></tr>
129
+<tr class="separator:aa86115cbbf7baab794766ced8b27edb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
130
+<tr class="memitem:a29151c42a4d2bbbec4909d7bed7592a6"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">getEtherType</a> ()</td></tr>
131
+<tr class="memdesc:a29151c42a4d2bbbec4909d7bed7592a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Ethernet type.  <a href="#a29151c42a4d2bbbec4909d7bed7592a6">More...</a><br /></td></tr>
132
+<tr class="separator:a29151c42a4d2bbbec4909d7bed7592a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
+</table><table class="memberdecls">
134
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
135
+Private Member Functions</h2></td></tr>
136
+<tr class="memitem:aff594f99384a96d6ff8a8f844e351da2"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2">mac2string</a> (u_char[])</td></tr>
137
+<tr class="memdesc:aff594f99384a96d6ff8a8f844e351da2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to change the array of bytes representing a Hardware Address to its standard string representation.  <a href="#aff594f99384a96d6ff8a8f844e351da2">More...</a><br /></td></tr>
138
+<tr class="separator:aff594f99384a96d6ff8a8f844e351da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
139
+</table><table class="memberdecls">
140
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
141
+Private Attributes</h2></td></tr>
142
+<tr class="memitem:a71a2378751dc74ccce67aec5c56c2db4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsniff__ethernet.html">sniff_ethernet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet</a></td></tr>
143
+<tr class="separator:a71a2378751dc74ccce67aec5c56c2db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
144
+</table>
145
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
146
+<div class="textblock"><p>The <a class="el" href="classethernet__packet.html" title="The ethernet_packet class contains function to change the ethernet information in bytes from the ethe...">ethernet_packet</a> class contains function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings) </p>
147
+</div><h2 class="groupheader">Member Function Documentation</h2>
148
+<a class="anchor" id="affa9f0bd4139a1b435e00401da1085f1"></a>
149
+<div class="memitem">
150
+<div class="memproto">
151
+      <table class="memname">
152
+        <tr>
153
+          <td class="memname">string ethernet_packet::getEtherDHost </td>
154
+          <td>(</td>
155
+          <td class="paramname"></td><td>)</td>
156
+          <td></td>
157
+        </tr>
158
+      </table>
159
+</div><div class="memdoc">
160
+
161
+<p>Returns the destination HA in string format. </p>
162
+<dl class="section return"><dt>Returns</dt><dd>the destination HA in string format </dd></dl>
163
+
164
+</div>
165
+</div>
166
+<a class="anchor" id="aa86115cbbf7baab794766ced8b27edb3"></a>
167
+<div class="memitem">
168
+<div class="memproto">
169
+      <table class="memname">
170
+        <tr>
171
+          <td class="memname">string ethernet_packet::getEtherSHost </td>
172
+          <td>(</td>
173
+          <td class="paramname"></td><td>)</td>
174
+          <td></td>
175
+        </tr>
176
+      </table>
177
+</div><div class="memdoc">
178
+
179
+<p>Returns the source HA in string format. </p>
180
+<dl class="section return"><dt>Returns</dt><dd>the source HA in string format </dd></dl>
181
+
182
+</div>
183
+</div>
184
+<a class="anchor" id="a29151c42a4d2bbbec4909d7bed7592a6"></a>
185
+<div class="memitem">
186
+<div class="memproto">
187
+      <table class="memname">
188
+        <tr>
189
+          <td class="memname">u_short ethernet_packet::getEtherType </td>
190
+          <td>(</td>
191
+          <td class="paramname"></td><td>)</td>
192
+          <td></td>
193
+        </tr>
194
+      </table>
195
+</div><div class="memdoc">
196
+
197
+<p>Returns the Ethernet type. </p>
198
+<dl class="section return"><dt>Returns</dt><dd>the Ethernet type. </dd></dl>
199
+
200
+</div>
201
+</div>
202
+<a class="anchor" id="aff594f99384a96d6ff8a8f844e351da2"></a>
203
+<div class="memitem">
204
+<div class="memproto">
205
+<table class="mlabels">
206
+  <tr>
207
+  <td class="mlabels-left">
208
+      <table class="memname">
209
+        <tr>
210
+          <td class="memname">string ethernet_packet::mac2string </td>
211
+          <td>(</td>
212
+          <td class="paramtype">u_char&#160;</td>
213
+          <td class="paramname"><em>srcmac</em>[]</td><td>)</td>
214
+          <td></td>
215
+        </tr>
216
+      </table>
217
+  </td>
218
+  <td class="mlabels-right">
219
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
220
+  </tr>
221
+</table>
222
+</div><div class="memdoc">
223
+
224
+<p>Function to change the array of bytes representing a Hardware Address to its standard string representation. </p>
225
+<dl class="params"><dt>Parameters</dt><dd>
226
+  <table class="params">
227
+    <tr><td class="paramname">srcmac</td><td>array with an Ethernet address </td></tr>
228
+  </table>
229
+  </dd>
230
+</dl>
231
+<dl class="section return"><dt>Returns</dt><dd>Ethernet address in string format </dd></dl>
232
+
233
+</div>
234
+</div>
235
+<a class="anchor" id="acd600b879a9ea2b3753680c5e8a3ef88"></a>
236
+<div class="memitem">
237
+<div class="memproto">
238
+      <table class="memname">
239
+        <tr>
240
+          <td class="memname">void ethernet_packet::setEtherDHost </td>
241
+          <td>(</td>
242
+          <td class="paramtype">u_char&#160;</td>
243
+          <td class="paramname"><em>dhost</em>[]</td><td>)</td>
244
+          <td></td>
245
+        </tr>
246
+      </table>
247
+</div><div class="memdoc">
248
+
249
+<p>Receives the array of 6 bytes of a destination host. </p>
250
+<dl class="params"><dt>Parameters</dt><dd>
251
+  <table class="params">
252
+    <tr><td class="paramname">dhost</td><td>destination host Ethernet address </td></tr>
253
+  </table>
254
+  </dd>
255
+</dl>
256
+
257
+</div>
258
+</div>
259
+<a class="anchor" id="aab9239c39e891929b316654b77ff9c38"></a>
260
+<div class="memitem">
261
+<div class="memproto">
262
+      <table class="memname">
263
+        <tr>
264
+          <td class="memname">void ethernet_packet::setEtherSHost </td>
265
+          <td>(</td>
266
+          <td class="paramtype">u_char&#160;</td>
267
+          <td class="paramname"><em>shost</em>[]</td><td>)</td>
268
+          <td></td>
269
+        </tr>
270
+      </table>
271
+</div><div class="memdoc">
272
+
273
+<p>Receives the array of 6 bytes of a source host. </p>
274
+<dl class="params"><dt>Parameters</dt><dd>
275
+  <table class="params">
276
+    <tr><td class="paramname">shost</td><td>source host Ethernet address </td></tr>
277
+  </table>
278
+  </dd>
279
+</dl>
280
+
281
+</div>
282
+</div>
283
+<a class="anchor" id="ad42d30ecbabfbce466fbbf9153977fc8"></a>
284
+<div class="memitem">
285
+<div class="memproto">
286
+      <table class="memname">
287
+        <tr>
288
+          <td class="memname">void ethernet_packet::setEtherType </td>
289
+          <td>(</td>
290
+          <td class="paramtype">u_short&#160;</td>
291
+          <td class="paramname"><em>type</em></td><td>)</td>
292
+          <td></td>
293
+        </tr>
294
+      </table>
295
+</div><div class="memdoc">
296
+
297
+<p>Set the Ethernet type. </p>
298
+<dl class="params"><dt>Parameters</dt><dd>
299
+  <table class="params">
300
+    <tr><td class="paramname">type</td><td>Ethernet type </td></tr>
301
+  </table>
302
+  </dd>
303
+</dl>
304
+
305
+</div>
306
+</div>
307
+<h2 class="groupheader">Member Data Documentation</h2>
308
+<a class="anchor" id="a71a2378751dc74ccce67aec5c56c2db4"></a>
309
+<div class="memitem">
310
+<div class="memproto">
311
+<table class="mlabels">
312
+  <tr>
313
+  <td class="mlabels-left">
314
+      <table class="memname">
315
+        <tr>
316
+          <td class="memname"><a class="el" href="structsniff__ethernet.html">sniff_ethernet</a> ethernet_packet::ethernet</td>
317
+        </tr>
318
+      </table>
319
+  </td>
320
+  <td class="mlabels-right">
321
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
322
+  </tr>
323
+</table>
324
+</div><div class="memdoc">
325
+<p>Ethernet header / encabezado Ethernet </p>
326
+
327
+</div>
328
+</div>
329
+<hr/>The documentation for this class was generated from the following files:<ul>
330
+<li><a class="el" href="ethernet__packet_8h_source.html">ethernet_packet.h</a></li>
331
+<li>ethernet_packet.cpp</li>
332
+</ul>
333
+</div><!-- contents -->
334
+<!-- start footer part -->
335
+<hr class="footer"/><address class="footer"><small>
336
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
337
+<img class="footer" src="doxygen.png" alt="doxygen"/>
338
+</a> 1.8.9.1
339
+</small></address>
340
+</body>
341
+</html>

BIN
doc/en/html/classethernet__packet.png View File


+ 105
- 0
doc/en/html/classimagepacket-members.html View File

@@ -0,0 +1,105 @@
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: Member List</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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">imagepacket Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="classimagepacket.html">imagepacket</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">extensions</a></td><td class="entry"><a class="el" href="classimagepacket.html">imagepacket</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
93
+  <tr><td class="entry"><a class="el" href="classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8">getImage</a>()</td><td class="entry"><a class="el" href="classimagepacket.html">imagepacket</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf">imagepacket</a>()</td><td class="entry"><a class="el" href="classimagepacket.html">imagepacket</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imageurl</a></td><td class="entry"><a class="el" href="classimagepacket.html">imagepacket</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae">isImage</a>(string payload)</td><td class="entry"><a class="el" href="classimagepacket.html">imagepacket</a></td><td class="entry"></td></tr>
97
+</table></div><!-- contents -->
98
+<!-- start footer part -->
99
+<hr class="footer"/><address class="footer"><small>
100
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
101
+<img class="footer" src="doxygen.png" alt="doxygen"/>
102
+</a> 1.8.9.1
103
+</small></address>
104
+</body>
105
+</html>

+ 222
- 0
doc/en/html/classimagepacket.html View File

@@ -0,0 +1,222 @@
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: imagepacket Class 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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-methods">Public Member Functions</a> &#124;
87
+<a href="#pri-attribs">Private Attributes</a> &#124;
88
+<a href="classimagepacket-members.html">List of all members</a>  </div>
89
+  <div class="headertitle">
90
+<div class="title">imagepacket Class Reference</div>  </div>
91
+</div><!--header-->
92
+<div class="contents">
93
+
94
+<p>The imagepacket class is used to determine if an http packet is an image request.  
95
+ <a href="classimagepacket.html#details">More...</a></p>
96
+
97
+<p><code>#include &lt;<a class="el" href="imagepacket_8h_source.html">imagepacket.h</a>&gt;</code></p>
98
+<table class="memberdecls">
99
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
100
+Public Member Functions</h2></td></tr>
101
+<tr class="memitem:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e6c08813458b895b4a5d4a372ed3bbf"></a>
102
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf">imagepacket</a> ()</td></tr>
103
+<tr class="memdesc:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a list of known image extensions. <br /></td></tr>
104
+<tr class="separator:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
105
+<tr class="memitem:afcef61bfa0ca4924d84128b22c8ddfae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae">isImage</a> (string payload)</td></tr>
106
+<tr class="memdesc:afcef61bfa0ca4924d84128b22c8ddfae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the http request payload received contains or is a request to an image, and stores the image url.  <a href="#afcef61bfa0ca4924d84128b22c8ddfae">More...</a><br /></td></tr>
107
+<tr class="separator:afcef61bfa0ca4924d84128b22c8ddfae"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+<tr class="memitem:a2af33548136da4eeb6617f4bb9615fd8"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8">getImage</a> ()</td></tr>
109
+<tr class="memdesc:a2af33548136da4eeb6617f4bb9615fd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an image url if found in an http request.  <a href="#a2af33548136da4eeb6617f4bb9615fd8">More...</a><br /></td></tr>
110
+<tr class="separator:a2af33548136da4eeb6617f4bb9615fd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
111
+</table><table class="memberdecls">
112
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
113
+Private Attributes</h2></td></tr>
114
+<tr class="memitem:ad215afe2a7c45c15e7b830b1feb3173b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imageurl</a></td></tr>
115
+<tr class="separator:ad215afe2a7c45c15e7b830b1feb3173b"><td class="memSeparator" colspan="2">&#160;</td></tr>
116
+<tr class="memitem:a59cf09a0e904b2a8240b67d57a64deb7"><td class="memItemLeft" align="right" valign="top">QStringList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">extensions</a></td></tr>
117
+<tr class="separator:a59cf09a0e904b2a8240b67d57a64deb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
118
+</table>
119
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
120
+<div class="textblock"><p>The imagepacket class is used to determine if an http packet is an image request. </p>
121
+</div><h2 class="groupheader">Member Function Documentation</h2>
122
+<a class="anchor" id="a2af33548136da4eeb6617f4bb9615fd8"></a>
123
+<div class="memitem">
124
+<div class="memproto">
125
+      <table class="memname">
126
+        <tr>
127
+          <td class="memname">QString imagepacket::getImage </td>
128
+          <td>(</td>
129
+          <td class="paramname"></td><td>)</td>
130
+          <td></td>
131
+        </tr>
132
+      </table>
133
+</div><div class="memdoc">
134
+
135
+<p>Returns an image url if found in an http request. </p>
136
+<dl class="section return"><dt>Returns</dt><dd>image url if found in an http request Devuelve un url a una imagen si fue encontrada en una solicitud de http </dd>
137
+<dd>
138
+url de una imagen si encontrada en una solicitud de http </dd></dl>
139
+
140
+</div>
141
+</div>
142
+<a class="anchor" id="afcef61bfa0ca4924d84128b22c8ddfae"></a>
143
+<div class="memitem">
144
+<div class="memproto">
145
+      <table class="memname">
146
+        <tr>
147
+          <td class="memname">bool imagepacket::isImage </td>
148
+          <td>(</td>
149
+          <td class="paramtype">string&#160;</td>
150
+          <td class="paramname"><em>payload</em></td><td>)</td>
151
+          <td></td>
152
+        </tr>
153
+      </table>
154
+</div><div class="memdoc">
155
+
156
+<p>Returns true if the http request payload received contains or is a request to an image, and stores the image url. </p>
157
+<dl class="params"><dt>Parameters</dt><dd>
158
+  <table class="params">
159
+    <tr><td class="paramname">payload</td><td>HTTP packet payload </td></tr>
160
+  </table>
161
+  </dd>
162
+</dl>
163
+<dl class="section return"><dt>Returns</dt><dd>true if the http request payload received contains or is a request for an image </dd></dl>
164
+
165
+</div>
166
+</div>
167
+<h2 class="groupheader">Member Data Documentation</h2>
168
+<a class="anchor" id="a59cf09a0e904b2a8240b67d57a64deb7"></a>
169
+<div class="memitem">
170
+<div class="memproto">
171
+<table class="mlabels">
172
+  <tr>
173
+  <td class="mlabels-left">
174
+      <table class="memname">
175
+        <tr>
176
+          <td class="memname">QStringList imagepacket::extensions</td>
177
+        </tr>
178
+      </table>
179
+  </td>
180
+  <td class="mlabels-right">
181
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
182
+  </tr>
183
+</table>
184
+</div><div class="memdoc">
185
+<p>list of image extensions / lista de extensiones de imagenes </p>
186
+
187
+</div>
188
+</div>
189
+<a class="anchor" id="ad215afe2a7c45c15e7b830b1feb3173b"></a>
190
+<div class="memitem">
191
+<div class="memproto">
192
+<table class="mlabels">
193
+  <tr>
194
+  <td class="mlabels-left">
195
+      <table class="memname">
196
+        <tr>
197
+          <td class="memname">QString imagepacket::imageurl</td>
198
+        </tr>
199
+      </table>
200
+  </td>
201
+  <td class="mlabels-right">
202
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
203
+  </tr>
204
+</table>
205
+</div><div class="memdoc">
206
+<p>store the image url / guarda el url de la imagen </p>
207
+
208
+</div>
209
+</div>
210
+<hr/>The documentation for this class was generated from the following files:<ul>
211
+<li><a class="el" href="imagepacket_8h_source.html">imagepacket.h</a></li>
212
+<li>imagepacket.cpp</li>
213
+</ul>
214
+</div><!-- contents -->
215
+<!-- start footer part -->
216
+<hr class="footer"/><address class="footer"><small>
217
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
218
+<img class="footer" src="doxygen.png" alt="doxygen"/>
219
+</a> 1.8.9.1
220
+</small></address>
221
+</body>
222
+</html>

+ 126
- 0
doc/en/html/classip__packet-members.html View File

@@ -0,0 +1,126 @@
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: Member List</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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">ip_packet Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="classip__packet.html">ip_packet</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">d_port</a></td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
93
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">getEtherDHost</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">getEtherSHost</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">getEtherType</a>()</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
97
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b">getIPDAddress</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a1a31307b3e7912ba3a1817041725660e">getIPDPort</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
99
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999">getIPProto</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183">getIPSAddress</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
101
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0">getIPSPort</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a8b774913ecf9d9cda07dd088818ef481">getPayload</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
103
+  <tr><td class="entry"><a class="el" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_dst</a></td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_p</a></td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
105
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90">ip_packet</a>()</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
106
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ip_src</b> (defined in <a class="el" href="classip__packet.html">ip_packet</a>)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
107
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">payload</a></td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">s_port</a></td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
109
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">setEtherDHost</a>(u_char[])</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
110
+  <tr class="even"><td class="entry"><a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">setEtherSHost</a>(u_char[])</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
111
+  <tr><td class="entry"><a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">setEtherType</a>(u_short)</td><td class="entry"><a class="el" href="classethernet__packet.html">ethernet_packet</a></td><td class="entry"></td></tr>
112
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61">setIPDAddress</a>(string)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
113
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a96103b6cecb324c633e5bd74fee281e2">setIPDPort</a>(unsigned short)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
114
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c">setIPProto</a>(char)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
115
+  <tr><td class="entry"><a class="el" href="classip__packet.html#a5542509eb012fbf4f831dfec39f27307">setIPSAddress</a>(string)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
116
+  <tr class="even"><td class="entry"><a class="el" href="classip__packet.html#a33ac2122569abba5eea67bd117e3790e">setIPSPort</a>(unsigned short)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
117
+  <tr><td class="entry"><a class="el" href="classip__packet.html#ac46158915c7d7a4a652ede4246fad8df">setPayload</a>(char *, int)</td><td class="entry"><a class="el" href="classip__packet.html">ip_packet</a></td><td class="entry"></td></tr>
118
+</table></div><!-- contents -->
119
+<!-- start footer part -->
120
+<hr class="footer"/><address class="footer"><small>
121
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
122
+<img class="footer" src="doxygen.png" alt="doxygen"/>
123
+</a> 1.8.9.1
124
+</small></address>
125
+</body>
126
+</html>

+ 576
- 0
doc/en/html/classip__packet.html View File

@@ -0,0 +1,576 @@
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: ip_packet Class 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
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-methods">Public Member Functions</a> &#124;
87
+<a href="#pri-attribs">Private Attributes</a> &#124;
88
+<a href="classip__packet-members.html">List of all members</a>  </div>
89
+  <div class="headertitle">
90
+<div class="title">ip_packet Class Reference</div>  </div>
91
+</div><!--header-->
92
+<div class="contents">
93
+
94
+<p>The <a class="el" href="classip__packet.html" title="The ip_packet class contains the information extracted from a packet received using pcap for packets ...">ip_packet</a> class contains the information extracted from a packet received using pcap for packets that are IP/TCP or IP/UDP. We only save src and dst addresses and ports, and type of Transport protocol. The class hinerates the fields hardware address field because every IP packet is part of a ethernet packet. The remaining packet is stored as payload.  
95
+ <a href="classip__packet.html#details">More...</a></p>
96
+
97
+<p><code>#include &lt;<a class="el" href="ip__packet_8h_source.html">ip_packet.h</a>&gt;</code></p>
98
+<div class="dynheader">
99
+Inheritance diagram for ip_packet:</div>
100
+<div class="dyncontent">
101
+ <div class="center">
102
+  <img src="classip__packet.png" usemap="#ip_packet_map" alt=""/>
103
+  <map id="ip_packet_map" name="ip_packet_map">
104
+<area href="classethernet__packet.html" title="The ethernet_packet class contains function to change the ethernet information in bytes from the ethe..." alt="ethernet_packet" shape="rect" coords="0,0,102,24"/>
105
+</map>
106
+ </div></div>
107
+<table class="memberdecls">
108
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
109
+Public Member Functions</h2></td></tr>
110
+<tr class="memitem:a331b530912b6fa3b2bbc9a6f0dbe6d90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a331b530912b6fa3b2bbc9a6f0dbe6d90"></a>
111
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90">ip_packet</a> ()</td></tr>
112
+<tr class="memdesc:a331b530912b6fa3b2bbc9a6f0dbe6d90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
113
+<tr class="separator:a331b530912b6fa3b2bbc9a6f0dbe6d90"><td class="memSeparator" colspan="2">&#160;</td></tr>
114
+<tr class="memitem:a5542509eb012fbf4f831dfec39f27307"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a5542509eb012fbf4f831dfec39f27307">setIPSAddress</a> (string)</td></tr>
115
+<tr class="memdesc:a5542509eb012fbf4f831dfec39f27307"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the source IP address in std string format.  <a href="#a5542509eb012fbf4f831dfec39f27307">More...</a><br /></td></tr>
116
+<tr class="separator:a5542509eb012fbf4f831dfec39f27307"><td class="memSeparator" colspan="2">&#160;</td></tr>
117
+<tr class="memitem:a6083cc5d06be5bb11c266efbdd961f61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61">setIPDAddress</a> (string)</td></tr>
118
+<tr class="memdesc:a6083cc5d06be5bb11c266efbdd961f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the destination IP address in std string format.  <a href="#a6083cc5d06be5bb11c266efbdd961f61">More...</a><br /></td></tr>
119
+<tr class="separator:a6083cc5d06be5bb11c266efbdd961f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
120
+<tr class="memitem:a661b3d3c30388290ce4f479c6a00b38c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c">setIPProto</a> (char)</td></tr>
121
+<tr class="memdesc:a661b3d3c30388290ce4f479c6a00b38c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the IP protocol to (TCP|UDP)  <a href="#a661b3d3c30388290ce4f479c6a00b38c">More...</a><br /></td></tr>
122
+<tr class="separator:a661b3d3c30388290ce4f479c6a00b38c"><td class="memSeparator" colspan="2">&#160;</td></tr>
123
+<tr class="memitem:a33ac2122569abba5eea67bd117e3790e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a33ac2122569abba5eea67bd117e3790e">setIPSPort</a> (unsigned short)</td></tr>
124
+<tr class="memdesc:a33ac2122569abba5eea67bd117e3790e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the source port.  <a href="#a33ac2122569abba5eea67bd117e3790e">More...</a><br /></td></tr>
125
+<tr class="separator:a33ac2122569abba5eea67bd117e3790e"><td class="memSeparator" colspan="2">&#160;</td></tr>
126
+<tr class="memitem:a96103b6cecb324c633e5bd74fee281e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a96103b6cecb324c633e5bd74fee281e2">setIPDPort</a> (unsigned short)</td></tr>
127
+<tr class="memdesc:a96103b6cecb324c633e5bd74fee281e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the destinaation port.  <a href="#a96103b6cecb324c633e5bd74fee281e2">More...</a><br /></td></tr>
128
+<tr class="separator:a96103b6cecb324c633e5bd74fee281e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
129
+<tr class="memitem:ac46158915c7d7a4a652ede4246fad8df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#ac46158915c7d7a4a652ede4246fad8df">setPayload</a> (char *, int)</td></tr>
130
+<tr class="memdesc:ac46158915c7d7a4a652ede4246fad8df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the payload string of bytes into a string.  <a href="#ac46158915c7d7a4a652ede4246fad8df">More...</a><br /></td></tr>
131
+<tr class="separator:ac46158915c7d7a4a652ede4246fad8df"><td class="memSeparator" colspan="2">&#160;</td></tr>
132
+<tr class="memitem:ac4baa351e90aa90ee8bedd1239d24183"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183">getIPSAddress</a> ()</td></tr>
133
+<tr class="memdesc:ac4baa351e90aa90ee8bedd1239d24183"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source IP address.  <a href="#ac4baa351e90aa90ee8bedd1239d24183">More...</a><br /></td></tr>
134
+<tr class="separator:ac4baa351e90aa90ee8bedd1239d24183"><td class="memSeparator" colspan="2">&#160;</td></tr>
135
+<tr class="memitem:a5396956d60ddb6a1bb1bd2f6f2b4751b"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b">getIPDAddress</a> ()</td></tr>
136
+<tr class="memdesc:a5396956d60ddb6a1bb1bd2f6f2b4751b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination IP address.  <a href="#a5396956d60ddb6a1bb1bd2f6f2b4751b">More...</a><br /></td></tr>
137
+<tr class="separator:a5396956d60ddb6a1bb1bd2f6f2b4751b"><td class="memSeparator" colspan="2">&#160;</td></tr>
138
+<tr class="memitem:a8b774913ecf9d9cda07dd088818ef481"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a8b774913ecf9d9cda07dd088818ef481">getPayload</a> ()</td></tr>
139
+<tr class="memdesc:a8b774913ecf9d9cda07dd088818ef481"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the IP packet payload.  <a href="#a8b774913ecf9d9cda07dd088818ef481">More...</a><br /></td></tr>
140
+<tr class="separator:a8b774913ecf9d9cda07dd088818ef481"><td class="memSeparator" colspan="2">&#160;</td></tr>
141
+<tr class="memitem:a78e1e0e7d107ac449fe224d95bcbd999"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999">getIPProto</a> ()</td></tr>
142
+<tr class="memdesc:a78e1e0e7d107ac449fe224d95bcbd999"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the IP protocol type.  <a href="#a78e1e0e7d107ac449fe224d95bcbd999">More...</a><br /></td></tr>
143
+<tr class="separator:a78e1e0e7d107ac449fe224d95bcbd999"><td class="memSeparator" colspan="2">&#160;</td></tr>
144
+<tr class="memitem:a9697bad155ec10c25151a6c1f5a434b0"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0">getIPSPort</a> ()</td></tr>
145
+<tr class="memdesc:a9697bad155ec10c25151a6c1f5a434b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source port.  <a href="#a9697bad155ec10c25151a6c1f5a434b0">More...</a><br /></td></tr>
146
+<tr class="separator:a9697bad155ec10c25151a6c1f5a434b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
147
+<tr class="memitem:a1a31307b3e7912ba3a1817041725660e"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a1a31307b3e7912ba3a1817041725660e">getIPDPort</a> ()</td></tr>
148
+<tr class="memdesc:a1a31307b3e7912ba3a1817041725660e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination port.  <a href="#a1a31307b3e7912ba3a1817041725660e">More...</a><br /></td></tr>
149
+<tr class="separator:a1a31307b3e7912ba3a1817041725660e"><td class="memSeparator" colspan="2">&#160;</td></tr>
150
+<tr class="inherit_header pub_methods_classethernet__packet"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classethernet__packet')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classethernet__packet.html">ethernet_packet</a></td></tr>
151
+<tr class="memitem:a4986a171f2710d2f7385adc9698be32c inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4986a171f2710d2f7385adc9698be32c"></a>
152
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a> ()</td></tr>
153
+<tr class="memdesc:a4986a171f2710d2f7385adc9698be32c inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, does nothing. <br /></td></tr>
154
+<tr class="separator:a4986a171f2710d2f7385adc9698be32c inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
155
+<tr class="memitem:acd600b879a9ea2b3753680c5e8a3ef88 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">setEtherDHost</a> (u_char[])</td></tr>
156
+<tr class="memdesc:acd600b879a9ea2b3753680c5e8a3ef88 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives the array of 6 bytes of a destination host.  <a href="#acd600b879a9ea2b3753680c5e8a3ef88">More...</a><br /></td></tr>
157
+<tr class="separator:acd600b879a9ea2b3753680c5e8a3ef88 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
158
+<tr class="memitem:aab9239c39e891929b316654b77ff9c38 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">setEtherSHost</a> (u_char[])</td></tr>
159
+<tr class="memdesc:aab9239c39e891929b316654b77ff9c38 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives the array of 6 bytes of a source host.  <a href="#aab9239c39e891929b316654b77ff9c38">More...</a><br /></td></tr>
160
+<tr class="separator:aab9239c39e891929b316654b77ff9c38 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
161
+<tr class="memitem:ad42d30ecbabfbce466fbbf9153977fc8 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">setEtherType</a> (u_short)</td></tr>
162
+<tr class="memdesc:ad42d30ecbabfbce466fbbf9153977fc8 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Ethernet type.  <a href="#ad42d30ecbabfbce466fbbf9153977fc8">More...</a><br /></td></tr>
163
+<tr class="separator:ad42d30ecbabfbce466fbbf9153977fc8 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
164
+<tr class="memitem:affa9f0bd4139a1b435e00401da1085f1 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">getEtherDHost</a> ()</td></tr>
165
+<tr class="memdesc:affa9f0bd4139a1b435e00401da1085f1 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination HA in string format.  <a href="#affa9f0bd4139a1b435e00401da1085f1">More...</a><br /></td></tr>
166
+<tr class="separator:affa9f0bd4139a1b435e00401da1085f1 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
167
+<tr class="memitem:aa86115cbbf7baab794766ced8b27edb3 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">getEtherSHost</a> ()</td></tr>
168
+<tr class="memdesc:aa86115cbbf7baab794766ced8b27edb3 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source HA in string format.  <a href="#aa86115cbbf7baab794766ced8b27edb3">More...</a><br /></td></tr>
169
+<tr class="separator:aa86115cbbf7baab794766ced8b27edb3 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
170
+<tr class="memitem:a29151c42a4d2bbbec4909d7bed7592a6 inherit pub_methods_classethernet__packet"><td class="memItemLeft" align="right" valign="top">u_short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">getEtherType</a> ()</td></tr>
171
+<tr class="memdesc:a29151c42a4d2bbbec4909d7bed7592a6 inherit pub_methods_classethernet__packet"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Ethernet type.  <a href="#a29151c42a4d2bbbec4909d7bed7592a6">More...</a><br /></td></tr>
172
+<tr class="separator:a29151c42a4d2bbbec4909d7bed7592a6 inherit pub_methods_classethernet__packet"><td class="memSeparator" colspan="2">&#160;</td></tr>
173
+</table><table class="memberdecls">
174
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
175
+Private Attributes</h2></td></tr>
176
+<tr class="memitem:a4225b27fe714e0a321e1dd04355e5370"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4225b27fe714e0a321e1dd04355e5370"></a>
177
+string&#160;</td><td class="memItemRight" valign="bottom"><b>ip_src</b></td></tr>
178
+<tr class="separator:a4225b27fe714e0a321e1dd04355e5370"><td class="memSeparator" colspan="2">&#160;</td></tr>
179
+<tr class="memitem:af3a920730b654dc7d26e155d509234fc"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_dst</a></td></tr>
180
+<tr class="separator:af3a920730b654dc7d26e155d509234fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
181
+<tr class="memitem:a6d562e562de60c518542cd250d9986b0"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_p</a></td></tr>
182
+<tr class="separator:a6d562e562de60c518542cd250d9986b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
183
+<tr class="memitem:a51f1c0f6cc53460164467a7e80d849b5"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">d_port</a></td></tr>
184
+<tr class="separator:a51f1c0f6cc53460164467a7e80d849b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
185
+<tr class="memitem:a12b33dcaa7ab59d15f3ce4b8ca6750fd"><td class="memItemLeft" align="right" valign="top">unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">s_port</a></td></tr>
186
+<tr class="separator:a12b33dcaa7ab59d15f3ce4b8ca6750fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
187
+<tr class="memitem:a68c32f352a4f43fd910fb3bba3ddfae0"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">payload</a></td></tr>
188
+<tr class="separator:a68c32f352a4f43fd910fb3bba3ddfae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
189
+</table>
190
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
191
+<div class="textblock"><p>The <a class="el" href="classip__packet.html" title="The ip_packet class contains the information extracted from a packet received using pcap for packets ...">ip_packet</a> class contains the information extracted from a packet received using pcap for packets that are IP/TCP or IP/UDP. We only save src and dst addresses and ports, and type of Transport protocol. The class hinerates the fields hardware address field because every IP packet is part of a ethernet packet. The remaining packet is stored as payload. </p>
192
+</div><h2 class="groupheader">Member Function Documentation</h2>
193
+<a class="anchor" id="a5396956d60ddb6a1bb1bd2f6f2b4751b"></a>
194
+<div class="memitem">
195
+<div class="memproto">
196
+      <table class="memname">
197
+        <tr>
198
+          <td class="memname">string ip_packet::getIPDAddress </td>
199
+          <td>(</td>
200
+          <td class="paramname"></td><td>)</td>
201
+          <td></td>
202
+        </tr>
203
+      </table>
204
+</div><div class="memdoc">
205
+
206
+<p>Returns the destination IP address. </p>
207
+<dl class="section return"><dt>Returns</dt><dd>the destination IP address </dd></dl>
208
+
209
+</div>
210
+</div>
211
+<a class="anchor" id="a1a31307b3e7912ba3a1817041725660e"></a>
212
+<div class="memitem">
213
+<div class="memproto">
214
+      <table class="memname">
215
+        <tr>
216
+          <td class="memname">unsigned short ip_packet::getIPDPort </td>
217
+          <td>(</td>
218
+          <td class="paramname"></td><td>)</td>
219
+          <td></td>
220
+        </tr>
221
+      </table>
222
+</div><div class="memdoc">
223
+
224
+<p>Returns the destination port. </p>
225
+<dl class="section return"><dt>Returns</dt><dd>the destination port</dd></dl>
226
+<p>Devuelve el puerto destino </p><dl class="section return"><dt>Returns</dt><dd>el puerto destino </dd></dl>
227
+
228
+</div>
229
+</div>
230
+<a class="anchor" id="a78e1e0e7d107ac449fe224d95bcbd999"></a>
231
+<div class="memitem">
232
+<div class="memproto">
233
+      <table class="memname">
234
+        <tr>
235
+          <td class="memname">char ip_packet::getIPProto </td>
236
+          <td>(</td>
237
+          <td class="paramname"></td><td>)</td>
238
+          <td></td>
239
+        </tr>
240
+      </table>
241
+</div><div class="memdoc">
242
+
243
+<p>Returns the IP protocol type. </p>
244
+<dl class="section return"><dt>Returns</dt><dd>the IP protocol </dd></dl>
245
+
246
+</div>
247
+</div>
248
+<a class="anchor" id="ac4baa351e90aa90ee8bedd1239d24183"></a>
249
+<div class="memitem">
250
+<div class="memproto">
251
+      <table class="memname">
252
+        <tr>
253
+          <td class="memname">string ip_packet::getIPSAddress </td>
254
+          <td>(</td>
255
+          <td class="paramname"></td><td>)</td>
256
+          <td></td>
257
+        </tr>
258
+      </table>
259
+</div><div class="memdoc">
260
+
261
+<p>Returns the source IP address. </p>
262
+<dl class="section return"><dt>Returns</dt><dd>the source IP address </dd></dl>
263
+
264
+</div>
265
+</div>
266
+<a class="anchor" id="a9697bad155ec10c25151a6c1f5a434b0"></a>
267
+<div class="memitem">
268
+<div class="memproto">
269
+      <table class="memname">
270
+        <tr>
271
+          <td class="memname">unsigned short ip_packet::getIPSPort </td>
272
+          <td>(</td>
273
+          <td class="paramname"></td><td>)</td>
274
+          <td></td>
275
+        </tr>
276
+      </table>
277
+</div><div class="memdoc">
278
+
279
+<p>Returns the source port. </p>
280
+<dl class="section return"><dt>Returns</dt><dd>the source port</dd></dl>
281
+<p>Devuelve el puerto fuente </p><dl class="section return"><dt>Returns</dt><dd>el puerto fuente </dd></dl>
282
+
283
+</div>
284
+</div>
285
+<a class="anchor" id="a8b774913ecf9d9cda07dd088818ef481"></a>
286
+<div class="memitem">
287
+<div class="memproto">
288
+      <table class="memname">
289
+        <tr>
290
+          <td class="memname">string ip_packet::getPayload </td>
291
+          <td>(</td>
292
+          <td class="paramname"></td><td>)</td>
293
+          <td></td>
294
+        </tr>
295
+      </table>
296
+</div><div class="memdoc">
297
+
298
+<p>Returns the IP packet payload. </p>
299
+<dl class="section return"><dt>Returns</dt><dd>the IP packet payload </dd></dl>
300
+
301
+</div>
302
+</div>
303
+<a class="anchor" id="a6083cc5d06be5bb11c266efbdd961f61"></a>
304
+<div class="memitem">
305
+<div class="memproto">
306
+      <table class="memname">
307
+        <tr>
308
+          <td class="memname">void ip_packet::setIPDAddress </td>
309
+          <td>(</td>
310
+          <td class="paramtype">string&#160;</td>
311
+          <td class="paramname"><em>addr</em></td><td>)</td>
312
+          <td></td>
313
+        </tr>
314
+      </table>
315
+</div><div class="memdoc">
316
+
317
+<p>Saves the destination IP address in std string format. </p>
318
+<dl class="params"><dt>Parameters</dt><dd>
319
+  <table class="params">
320
+    <tr><td class="paramname">addr</td><td>destination IP address </td></tr>
321
+  </table>
322
+  </dd>
323
+</dl>
324
+
325
+</div>
326
+</div>
327
+<a class="anchor" id="a96103b6cecb324c633e5bd74fee281e2"></a>
328
+<div class="memitem">
329
+<div class="memproto">
330
+      <table class="memname">
331
+        <tr>
332
+          <td class="memname">void ip_packet::setIPDPort </td>
333
+          <td>(</td>
334
+          <td class="paramtype">unsigned short&#160;</td>
335
+          <td class="paramname"><em>port</em></td><td>)</td>
336
+          <td></td>
337
+        </tr>
338
+      </table>
339
+</div><div class="memdoc">
340
+
341
+<p>Saves the destinaation port. </p>
342
+<dl class="params"><dt>Parameters</dt><dd>
343
+  <table class="params">
344
+    <tr><td class="paramname">port</td><td>destination port </td></tr>
345
+  </table>
346
+  </dd>
347
+</dl>
348
+
349
+</div>
350
+</div>
351
+<a class="anchor" id="a661b3d3c30388290ce4f479c6a00b38c"></a>
352
+<div class="memitem">
353
+<div class="memproto">
354
+      <table class="memname">
355
+        <tr>
356
+          <td class="memname">void ip_packet::setIPProto </td>
357
+          <td>(</td>
358
+          <td class="paramtype">char&#160;</td>
359
+          <td class="paramname"><em>proto</em></td><td>)</td>
360
+          <td></td>
361
+        </tr>
362
+      </table>
363
+</div><div class="memdoc">
364
+
365
+<p>Saves the IP protocol to (TCP|UDP) </p>
366
+<dl class="params"><dt>Parameters</dt><dd>
367
+  <table class="params">
368
+    <tr><td class="paramname">proto</td><td>protocol number (6 | 17) </td></tr>
369
+  </table>
370
+  </dd>
371
+</dl>
372
+
373
+</div>
374
+</div>
375
+<a class="anchor" id="a5542509eb012fbf4f831dfec39f27307"></a>
376
+<div class="memitem">
377
+<div class="memproto">
378
+      <table class="memname">
379
+        <tr>
380
+          <td class="memname">void ip_packet::setIPSAddress </td>
381
+          <td>(</td>
382
+          <td class="paramtype">string&#160;</td>
383
+          <td class="paramname"><em>addr</em></td><td>)</td>
384
+          <td></td>
385
+        </tr>
386
+      </table>
387
+</div><div class="memdoc">
388
+
389
+<p>Saves the source IP address in std string format. </p>
390
+<dl class="params"><dt>Parameters</dt><dd>
391
+  <table class="params">
392
+    <tr><td class="paramname">addr</td><td>source IP address </td></tr>
393
+  </table>
394
+  </dd>
395
+</dl>
396
+
397
+</div>
398
+</div>
399
+<a class="anchor" id="a33ac2122569abba5eea67bd117e3790e"></a>
400
+<div class="memitem">
401
+<div class="memproto">
402
+      <table class="memname">
403
+        <tr>
404
+          <td class="memname">void ip_packet::setIPSPort </td>
405
+          <td>(</td>
406
+          <td class="paramtype">unsigned short&#160;</td>
407
+          <td class="paramname"><em>port</em></td><td>)</td>
408
+          <td></td>
409
+        </tr>
410
+      </table>
411
+</div><div class="memdoc">
412
+
413
+<p>Saves the source port. </p>
414
+<dl class="params"><dt>Parameters</dt><dd>
415
+  <table class="params">
416
+    <tr><td class="paramname">port</td><td>source port </td></tr>
417
+  </table>
418
+  </dd>
419
+</dl>
420
+
421
+</div>
422
+</div>
423
+<a class="anchor" id="ac46158915c7d7a4a652ede4246fad8df"></a>
424
+<div class="memitem">
425
+<div class="memproto">
426
+      <table class="memname">
427
+        <tr>
428
+          <td class="memname">void ip_packet::setPayload </td>
429
+          <td>(</td>
430
+          <td class="paramtype">char *&#160;</td>
431
+          <td class="paramname"><em>pl</em>, </td>
432
+        </tr>
433
+        <tr>
434
+          <td class="paramkey"></td>
435
+          <td></td>
436
+          <td class="paramtype">int&#160;</td>
437
+          <td class="paramname"><em>len</em>&#160;</td>
438
+        </tr>
439
+        <tr>
440
+          <td></td>
441
+          <td>)</td>
442
+          <td></td><td></td>
443
+        </tr>
444
+      </table>
445
+</div><div class="memdoc">
446
+
447
+<p>Saves the payload string of bytes into a string. </p>
448
+<dl class="params"><dt>Parameters</dt><dd>
449
+  <table class="params">
450
+    <tr><td class="paramname">pl</td><td>the packet payload </td></tr>
451
+    <tr><td class="paramname">len</td><td>length of the payload </td></tr>
452
+  </table>
453
+  </dd>
454
+</dl>
455
+
456
+</div>
457
+</div>
458
+<h2 class="groupheader">Member Data Documentation</h2>
459
+<a class="anchor" id="a51f1c0f6cc53460164467a7e80d849b5"></a>
460
+<div class="memitem">
461
+<div class="memproto">
462
+<table class="mlabels">
463
+  <tr>
464
+  <td class="mlabels-left">
465
+      <table class="memname">
466
+        <tr>
467
+          <td class="memname">unsigned short ip_packet::d_port</td>
468
+        </tr>
469
+      </table>
470
+  </td>
471
+  <td class="mlabels-right">
472
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
473
+  </tr>
474
+</table>
475
+</div><div class="memdoc">
476
+<p>destination port / puerto destino </p>
477
+
478
+</div>
479
+</div>
480
+<a class="anchor" id="af3a920730b654dc7d26e155d509234fc"></a>
481
+<div class="memitem">
482
+<div class="memproto">
483
+<table class="mlabels">
484
+  <tr>
485
+  <td class="mlabels-left">
486
+      <table class="memname">
487
+        <tr>
488
+          <td class="memname">string ip_packet::ip_dst</td>
489
+        </tr>
490
+      </table>
491
+  </td>
492
+  <td class="mlabels-right">
493
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
494
+  </tr>
495
+</table>
496
+</div><div class="memdoc">
497
+<p>source and dest address / direccion fuente y destino </p>
498
+
499
+</div>
500
+</div>
501
+<a class="anchor" id="a6d562e562de60c518542cd250d9986b0"></a>
502
+<div class="memitem">
503
+<div class="memproto">
504
+<table class="mlabels">
505
+  <tr>
506
+  <td class="mlabels-left">
507
+      <table class="memname">
508
+        <tr>
509
+          <td class="memname">char ip_packet::ip_p</td>
510
+        </tr>
511
+      </table>
512
+  </td>
513
+  <td class="mlabels-right">
514
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
515
+  </tr>
516
+</table>
517
+</div><div class="memdoc">
518
+<p>type of transport protocol (TCP|UDP) | tipo de protocolo de transporte (TCP|UDP) </p>
519
+
520
+</div>
521
+</div>
522
+<a class="anchor" id="a68c32f352a4f43fd910fb3bba3ddfae0"></a>
523
+<div class="memitem">
524
+<div class="memproto">
525
+<table class="mlabels">
526
+  <tr>
527
+  <td class="mlabels-left">
528
+      <table class="memname">
529
+        <tr>
530
+          <td class="memname">string ip_packet::payload</td>
531
+        </tr>
532
+      </table>
533
+  </td>
534
+  <td class="mlabels-right">
535
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
536
+  </tr>
537
+</table>
538
+</div><div class="memdoc">
539
+<p>Data payload (content of the packet) / carga del paquete </p>
540
+
541
+</div>
542
+</div>
543
+<a class="anchor" id="a12b33dcaa7ab59d15f3ce4b8ca6750fd"></a>
544
+<div class="memitem">
545
+<div class="memproto">
546
+<table class="mlabels">
547
+  <tr>
548
+  <td class="mlabels-left">
549
+      <table class="memname">
550
+        <tr>
551
+          <td class="memname">unsigned short ip_packet::s_port</td>
552
+        </tr>
553
+      </table>
554
+  </td>
555
+  <td class="mlabels-right">
556
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
557
+  </tr>
558
+</table>
559
+</div><div class="memdoc">
560
+<p>source port / puerto fuente </p>
561
+
562
+</div>
563
+</div>
564
+<hr/>The documentation for this class was generated from the following files:<ul>
565
+<li><a class="el" href="ip__packet_8h_source.html">ip_packet.h</a></li>
566
+<li>ip_packet.cpp</li>
567
+</ul>
568
+</div><!-- contents -->
569
+<!-- start footer part -->
570
+<hr class="footer"/><address class="footer"><small>
571
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
572
+<img class="footer" src="doxygen.png" alt="doxygen"/>
573
+</a> 1.8.9.1
574
+</small></address>
575
+</body>
576
+</html>

BIN
doc/en/html/classip__packet.png View File


BIN
doc/en/html/closed.png View File


BIN
doc/en/html/doc.png View File


+ 1449
- 0
doc/en/html/doxygen.css
File diff suppressed because it is too large
View File


BIN
doc/en/html/doxygen.png View File


+ 97
- 0
doc/en/html/dynsections.js View File

@@ -0,0 +1,97 @@
1
+function toggleVisibility(linkObj)
2
+{
3
+ var base = $(linkObj).attr('id');
4
+ var summary = $('#'+base+'-summary');
5
+ var content = $('#'+base+'-content');
6
+ var trigger = $('#'+base+'-trigger');
7
+ var src=$(trigger).attr('src');
8
+ if (content.is(':visible')===true) {
9
+   content.hide();
10
+   summary.show();
11
+   $(linkObj).addClass('closed').removeClass('opened');
12
+   $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
13
+ } else {
14
+   content.show();
15
+   summary.hide();
16
+   $(linkObj).removeClass('closed').addClass('opened');
17
+   $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
18
+ } 
19
+ return false;
20
+}
21
+
22
+function updateStripes()
23
+{
24
+  $('table.directory tr').
25
+       removeClass('even').filter(':visible:even').addClass('even');
26
+}
27
+
28
+function toggleLevel(level)
29
+{
30
+  $('table.directory tr').each(function() {
31
+    var l = this.id.split('_').length-1;
32
+    var i = $('#img'+this.id.substring(3));
33
+    var a = $('#arr'+this.id.substring(3));
34
+    if (l<level+1) {
35
+      i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
36
+      a.html('&#9660;');
37
+      $(this).show();
38
+    } else if (l==level+1) {
39
+      i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
40
+      a.html('&#9658;');
41
+      $(this).show();
42
+    } else {
43
+      $(this).hide();
44
+    }
45
+  });
46
+  updateStripes();
47
+}
48
+
49
+function toggleFolder(id)
50
+{
51
+  // the clicked row
52
+  var currentRow = $('#row_'+id);
53
+
54
+  // all rows after the clicked row
55
+  var rows = currentRow.nextAll("tr");
56
+
57
+  var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
58
+
59
+  // only match elements AFTER this one (can't hide elements before)
60
+  var childRows = rows.filter(function() { return this.id.match(re); });
61
+
62
+  // first row is visible we are HIDING
63
+  if (childRows.filter(':first').is(':visible')===true) {
64
+    // replace down arrow by right arrow for current row
65
+    var currentRowSpans = currentRow.find("span");
66
+    currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
67
+    currentRowSpans.filter(".arrow").html('&#9658;');
68
+    rows.filter("[id^=row_"+id+"]").hide(); // hide all children
69
+  } else { // we are SHOWING
70
+    // replace right arrow by down arrow for current row
71
+    var currentRowSpans = currentRow.find("span");
72
+    currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
73
+    currentRowSpans.filter(".arrow").html('&#9660;');
74
+    // replace down arrows by right arrows for child rows
75
+    var childRowsSpans = childRows.find("span");
76
+    childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
77
+    childRowsSpans.filter(".arrow").html('&#9658;');
78
+    childRows.show(); //show all children
79
+  }
80
+  updateStripes();
81
+}
82
+
83
+
84
+function toggleInherit(id)
85
+{
86
+  var rows = $('tr.inherit.'+id);
87
+  var img = $('tr.inherit_header.'+id+' img');
88
+  var src = $(img).attr('src');
89
+  if (rows.filter(':first').is(':visible')===true) {
90
+    rows.css('display','none');
91
+    $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
92
+  } else {
93
+    rows.css('display','table-row'); // using show() causes jump in firefox
94
+    $(img).attr('src',src.substring(0,src.length-10)+'open.png');
95
+  }
96
+}
97
+

+ 116
- 0
doc/en/html/ethernet__hdr_8h_source.html View File

@@ -0,0 +1,116 @@
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: ethernet_hdr.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">ethernet_hdr.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ETHERNET_HDR_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define ETHERNET_HDR_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;sys/types.h&gt;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">/* Ethernet addresses are 6 bytes */</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define ETHER_ADDR_LEN 6</span></div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Ethernet header */</span></div>
96
+<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structsniff__ethernet.html">   17</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structsniff__ethernet.html">sniff_ethernet</a> {</div>
97
+<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">   18</a></span>&#160;        u_char  <a class="code" href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">ether_dhost</a>[ETHER_ADDR_LEN];    </div>
98
+<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">   19</a></span>&#160;        u_char  <a class="code" href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">ether_shost</a>[ETHER_ADDR_LEN];    </div>
99
+<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">   20</a></span>&#160;        u_short <a class="code" href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">ether_type</a>;                     </div>
100
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;};</div>
101
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
102
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
103
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif // ETHERNET_HDR_H</span></div>
104
+<div class="ttc" id="structsniff__ethernet_html_ae66770fd4e71d27c6a6619670bac2efb"><div class="ttname"><a href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">sniff_ethernet::ether_type</a></div><div class="ttdeci">u_short ether_type</div><div class="ttdef"><b>Definition:</b> ethernet_hdr.h:20</div></div>
105
+<div class="ttc" id="structsniff__ethernet_html"><div class="ttname"><a href="structsniff__ethernet.html">sniff_ethernet</a></div><div class="ttdoc">The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet re...</div><div class="ttdef"><b>Definition:</b> ethernet_hdr.h:17</div></div>
106
+<div class="ttc" id="structsniff__ethernet_html_aefda8dbb54243c93c4d267ada25ba17f"><div class="ttname"><a href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">sniff_ethernet::ether_dhost</a></div><div class="ttdeci">u_char ether_dhost[ETHER_ADDR_LEN]</div><div class="ttdef"><b>Definition:</b> ethernet_hdr.h:18</div></div>
107
+<div class="ttc" id="structsniff__ethernet_html_afe9a93573af998a8652b2c8b1694dd51"><div class="ttname"><a href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">sniff_ethernet::ether_shost</a></div><div class="ttdeci">u_char ether_shost[ETHER_ADDR_LEN]</div><div class="ttdef"><b>Definition:</b> ethernet_hdr.h:19</div></div>
108
+</div><!-- fragment --></div><!-- contents -->
109
+<!-- start footer part -->
110
+<hr class="footer"/><address class="footer"><small>
111
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
112
+<img class="footer" src="doxygen.png" alt="doxygen"/>
113
+</a> 1.8.9.1
114
+</small></address>
115
+</body>
116
+</html>

+ 131
- 0
doc/en/html/ethernet__packet_8h_source.html View File

@@ -0,0 +1,131 @@
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: ethernet_packet.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">ethernet_packet.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ETHERNET_PACKET_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define ETHERNET_PACKET_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;ethernet_hdr.h&quot;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
94
+<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classethernet__packet.html">   14</a></span>&#160;<span class="keyword">class </span><a class="code" href="classethernet__packet.html">ethernet_packet</a></div>
95
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
96
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
97
+<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">   17</a></span>&#160;    <a class="code" href="structsniff__ethernet.html">sniff_ethernet</a> <a class="code" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet</a> ; </div>
98
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <span class="keywordtype">string</span> mac2string(u_char []) ;</div>
99
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
100
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">public</span>:</div>
101
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
102
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="classethernet__packet.html">ethernet_packet</a>();</div>
103
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
104
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">void</span> setEtherDHost(u_char []) ;</div>
105
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
106
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">void</span> setEtherSHost(u_char []) ;</div>
107
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
108
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">void</span> setEtherType(u_short) ;</div>
109
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
110
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordtype">string</span> getEtherDHost() ;</div>
111
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
112
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">string</span> getEtherSHost() ;</div>
113
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
114
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    u_short getEtherType() ;</div>
115
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
116
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;};</div>
117
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
118
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#endif // ETHERNET_PACKET_H</span></div>
119
+<div class="ttc" id="classethernet__packet_html"><div class="ttname"><a href="classethernet__packet.html">ethernet_packet</a></div><div class="ttdoc">The ethernet_packet class contains function to change the ethernet information in bytes from the ethe...</div><div class="ttdef"><b>Definition:</b> ethernet_packet.h:14</div></div>
120
+<div class="ttc" id="structsniff__ethernet_html"><div class="ttname"><a href="structsniff__ethernet.html">sniff_ethernet</a></div><div class="ttdoc">The sniff_ethernet struct defines the header of an ethernet frame, and is used to parse the packet re...</div><div class="ttdef"><b>Definition:</b> ethernet_hdr.h:17</div></div>
121
+<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
122
+<div class="ttc" id="classethernet__packet_html_a71a2378751dc74ccce67aec5c56c2db4"><div class="ttname"><a href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet_packet::ethernet</a></div><div class="ttdeci">sniff_ethernet ethernet</div><div class="ttdef"><b>Definition:</b> ethernet_packet.h:17</div></div>
123
+</div><!-- fragment --></div><!-- contents -->
124
+<!-- start footer part -->
125
+<hr class="footer"/><address class="footer"><small>
126
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
127
+<img class="footer" src="doxygen.png" alt="doxygen"/>
128
+</a> 1.8.9.1
129
+</small></address>
130
+</body>
131
+</html>

+ 107
- 0
doc/en/html/files.html View File

@@ -0,0 +1,107 @@
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: File List</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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 class="current"><a href="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">File List</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
87
+<table class="directory">
88
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="ethernet__hdr_8h_source.html"><span class="icondoc"></span></a><b>ethernet_hdr.h</b></td><td class="desc"></td></tr>
89
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="ethernet__packet_8h_source.html"><span class="icondoc"></span></a><b>ethernet_packet.h</b></td><td class="desc"></td></tr>
90
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="imagepacket_8h_source.html"><span class="icondoc"></span></a><b>imagepacket.h</b></td><td class="desc"></td></tr>
91
+<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="ip__hdr_8h_source.html"><span class="icondoc"></span></a><b>ip_hdr.h</b></td><td class="desc"></td></tr>
92
+<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="ip__packet_8h_source.html"><span class="icondoc"></span></a><b>ip_packet.h</b></td><td class="desc"></td></tr>
93
+<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="mainwindow_8h_source.html"><span class="icondoc"></span></a><b>mainwindow.h</b></td><td class="desc"></td></tr>
94
+<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="sniffer_8h_source.html"><span class="icondoc"></span></a><b>sniffer.h</b></td><td class="desc"></td></tr>
95
+<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="tcp__hdr_8h_source.html"><span class="icondoc"></span></a><b>tcp_hdr.h</b></td><td class="desc"></td></tr>
96
+<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="udp__hdr_8h_source.html"><span class="icondoc"></span></a><b>udp_hdr.h</b></td><td class="desc"></td></tr>
97
+</table>
98
+</div><!-- directory -->
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
103
+<img class="footer" src="doxygen.png" alt="doxygen"/>
104
+</a> 1.8.9.1
105
+</small></address>
106
+</body>
107
+</html>

BIN
doc/en/html/folderclosed.png View File


BIN
doc/en/html/folderopen.png View File


+ 372
- 0
doc/en/html/functions.html View File

@@ -0,0 +1,372 @@
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: Class Members</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 class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li class="current"><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+    </ul>
75
+  </div>
76
+  <div id="navrow4" class="tabs3">
77
+    <ul class="tablist">
78
+      <li><a href="#index_d"><span>d</span></a></li>
79
+      <li><a href="#index_e"><span>e</span></a></li>
80
+      <li><a href="#index_f"><span>f</span></a></li>
81
+      <li><a href="#index_g"><span>g</span></a></li>
82
+      <li><a href="#index_h"><span>h</span></a></li>
83
+      <li><a href="#index_i"><span>i</span></a></li>
84
+      <li><a href="#index_m"><span>m</span></a></li>
85
+      <li><a href="#index_n"><span>n</span></a></li>
86
+      <li><a href="#index_o"><span>o</span></a></li>
87
+      <li><a href="#index_p"><span>p</span></a></li>
88
+      <li><a href="#index_s"><span>s</span></a></li>
89
+      <li><a href="#index_w"><span>w</span></a></li>
90
+      <li class="current"><a href="#index_~"><span>~</span></a></li>
91
+    </ul>
92
+  </div>
93
+</div><!-- top -->
94
+<!-- window showing the filter options -->
95
+<div id="MSearchSelectWindow"
96
+     onmouseover="return searchBox.OnSearchSelectShow()"
97
+     onmouseout="return searchBox.OnSearchSelectHide()"
98
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
99
+</div>
100
+
101
+<!-- iframe showing the search results (closed by default) -->
102
+<div id="MSearchResultsWindow">
103
+<iframe src="javascript:void(0)" frameborder="0" 
104
+        name="MSearchResults" id="MSearchResults">
105
+</iframe>
106
+</div>
107
+
108
+<div class="contents">
109
+<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
110
+
111
+<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
112
+<li>d_port
113
+: <a class="el" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">ip_packet</a>
114
+</li>
115
+</ul>
116
+
117
+
118
+<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
119
+<li>ether_dhost
120
+: <a class="el" href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">sniff_ethernet</a>
121
+</li>
122
+<li>ether_shost
123
+: <a class="el" href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">sniff_ethernet</a>
124
+</li>
125
+<li>ether_type
126
+: <a class="el" href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">sniff_ethernet</a>
127
+</li>
128
+<li>ethernet
129
+: <a class="el" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet_packet</a>
130
+</li>
131
+<li>ethernet_packet()
132
+: <a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a>
133
+</li>
134
+<li>extensions
135
+: <a class="el" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">imagepacket</a>
136
+</li>
137
+</ul>
138
+
139
+
140
+<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
141
+<li>find_devices()
142
+: <a class="el" href="class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6">Sniffer</a>
143
+</li>
144
+<li>format_hex_ascii_line()
145
+: <a class="el" href="class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2">Sniffer</a>
146
+</li>
147
+<li>format_payload()
148
+: <a class="el" href="class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c">Sniffer</a>
149
+</li>
150
+</ul>
151
+
152
+
153
+<h3><a class="anchor" id="index_g"></a>- g -</h3><ul>
154
+<li>getEtherDHost()
155
+: <a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">ethernet_packet</a>
156
+</li>
157
+<li>getEtherSHost()
158
+: <a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">ethernet_packet</a>
159
+</li>
160
+<li>getEtherType()
161
+: <a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">ethernet_packet</a>
162
+</li>
163
+<li>getImage()
164
+: <a class="el" href="classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8">imagepacket</a>
165
+</li>
166
+<li>getIPDAddress()
167
+: <a class="el" href="classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b">ip_packet</a>
168
+</li>
169
+<li>getIPDPort()
170
+: <a class="el" href="classip__packet.html#a1a31307b3e7912ba3a1817041725660e">ip_packet</a>
171
+</li>
172
+<li>getIPProto()
173
+: <a class="el" href="classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999">ip_packet</a>
174
+</li>
175
+<li>getIPSAddress()
176
+: <a class="el" href="classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183">ip_packet</a>
177
+</li>
178
+<li>getIPSPort()
179
+: <a class="el" href="classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0">ip_packet</a>
180
+</li>
181
+<li>getPacketList()
182
+: <a class="el" href="class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6">Sniffer</a>
183
+</li>
184
+<li>getPayload()
185
+: <a class="el" href="classip__packet.html#a8b774913ecf9d9cda07dd088818ef481">ip_packet</a>
186
+</li>
187
+<li>got_packet()
188
+: <a class="el" href="class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0">Sniffer</a>
189
+</li>
190
+</ul>
191
+
192
+
193
+<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
194
+<li>handleResults()
195
+: <a class="el" href="class_main_window.html#a429d5f7a014bccafa259dcd926531159">MainWindow</a>
196
+</li>
197
+</ul>
198
+
199
+
200
+<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
201
+<li>imageList
202
+: <a class="el" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">MainWindow</a>
203
+</li>
204
+<li>imagepacket()
205
+: <a class="el" href="classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf">imagepacket</a>
206
+</li>
207
+<li>imageurl
208
+: <a class="el" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imagepacket</a>
209
+</li>
210
+<li>ip_dst
211
+: <a class="el" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_packet</a>
212
+, <a class="el" href="structsniff__ip.html#ad2db4a1d3fbfb1bcc44e5a26d6c28c2e">sniff_ip</a>
213
+</li>
214
+<li>ip_id
215
+: <a class="el" href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">sniff_ip</a>
216
+</li>
217
+<li>ip_len
218
+: <a class="el" href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">sniff_ip</a>
219
+</li>
220
+<li>ip_off
221
+: <a class="el" href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">sniff_ip</a>
222
+</li>
223
+<li>ip_p
224
+: <a class="el" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_packet</a>
225
+, <a class="el" href="structsniff__ip.html#a49d22326de644e4d1158ef7ae4fb22b7">sniff_ip</a>
226
+</li>
227
+<li>ip_packet()
228
+: <a class="el" href="classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90">ip_packet</a>
229
+</li>
230
+<li>ip_sum
231
+: <a class="el" href="structsniff__ip.html#a263384b09865cda4a03e3451de740c84">sniff_ip</a>
232
+</li>
233
+<li>ip_tos
234
+: <a class="el" href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">sniff_ip</a>
235
+</li>
236
+<li>ip_ttl
237
+: <a class="el" href="structsniff__ip.html#abed391544944e353d09e85030f423ec8">sniff_ip</a>
238
+</li>
239
+<li>ip_vhl
240
+: <a class="el" href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">sniff_ip</a>
241
+</li>
242
+<li>isImage()
243
+: <a class="el" href="classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae">imagepacket</a>
244
+</li>
245
+</ul>
246
+
247
+
248
+<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
249
+<li>mac2string()
250
+: <a class="el" href="classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2">ethernet_packet</a>
251
+</li>
252
+<li>MainWindow()
253
+: <a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>
254
+</li>
255
+<li>mutex
256
+: <a class="el" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">MainWindow</a>
257
+</li>
258
+</ul>
259
+
260
+
261
+<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
262
+<li>netManager
263
+: <a class="el" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">MainWindow</a>
264
+</li>
265
+</ul>
266
+
267
+
268
+<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
269
+<li>on_capture_clicked()
270
+: <a class="el" href="class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf">MainWindow</a>
271
+</li>
272
+<li>on_packetDisplay_itemClicked()
273
+: <a class="el" href="class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17">MainWindow</a>
274
+</li>
275
+<li>on_resetButton_clicked()
276
+: <a class="el" href="class_main_window.html#abdb4cd970167670c0dcbea4a45071892">MainWindow</a>
277
+</li>
278
+</ul>
279
+
280
+
281
+<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
282
+<li>pause
283
+: <a class="el" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">MainWindow</a>
284
+</li>
285
+<li>payload
286
+: <a class="el" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">ip_packet</a>
287
+</li>
288
+<li>print_hex_ascii_line()
289
+: <a class="el" href="class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6">Sniffer</a>
290
+</li>
291
+<li>print_payload()
292
+: <a class="el" href="class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910">Sniffer</a>
293
+</li>
294
+<li>process()
295
+: <a class="el" href="class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514">Sniffer</a>
296
+</li>
297
+</ul>
298
+
299
+
300
+<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
301
+<li>s_port
302
+: <a class="el" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">ip_packet</a>
303
+</li>
304
+<li>setDevice()
305
+: <a class="el" href="class_sniffer.html#ab706811aa2b285e4c0f55491703c105a">Sniffer</a>
306
+</li>
307
+<li>setEtherDHost()
308
+: <a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">ethernet_packet</a>
309
+</li>
310
+<li>setEtherSHost()
311
+: <a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">ethernet_packet</a>
312
+</li>
313
+<li>setEtherType()
314
+: <a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">ethernet_packet</a>
315
+</li>
316
+<li>setIPDAddress()
317
+: <a class="el" href="classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61">ip_packet</a>
318
+</li>
319
+<li>setIPDPort()
320
+: <a class="el" href="classip__packet.html#a96103b6cecb324c633e5bd74fee281e2">ip_packet</a>
321
+</li>
322
+<li>setIPProto()
323
+: <a class="el" href="classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c">ip_packet</a>
324
+</li>
325
+<li>setIPSAddress()
326
+: <a class="el" href="classip__packet.html#a5542509eb012fbf4f831dfec39f27307">ip_packet</a>
327
+</li>
328
+<li>setIPSPort()
329
+: <a class="el" href="classip__packet.html#a33ac2122569abba5eea67bd117e3790e">ip_packet</a>
330
+</li>
331
+<li>setPayload()
332
+: <a class="el" href="classip__packet.html#ac46158915c7d7a4a652ede4246fad8df">ip_packet</a>
333
+</li>
334
+<li>slot_netwManagerFinished()
335
+: <a class="el" href="class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a">MainWindow</a>
336
+</li>
337
+<li>sniff
338
+: <a class="el" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">MainWindow</a>
339
+</li>
340
+<li>sniff_thread
341
+: <a class="el" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">MainWindow</a>
342
+</li>
343
+<li>Sniffer()
344
+: <a class="el" href="class_sniffer.html#a8039cbd5f487a357321d57337a664d3d">Sniffer</a>
345
+</li>
346
+</ul>
347
+
348
+
349
+<h3><a class="anchor" id="index_w"></a>- w -</h3><ul>
350
+<li>wait_pause
351
+: <a class="el" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">MainWindow</a>
352
+</li>
353
+</ul>
354
+
355
+
356
+<h3><a class="anchor" id="index_~"></a>- ~ -</h3><ul>
357
+<li>~MainWindow()
358
+: <a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow</a>
359
+</li>
360
+<li>~Sniffer()
361
+: <a class="el" href="class_sniffer.html#a8ad3b97292e2cc274f31d87701f92be2">Sniffer</a>
362
+</li>
363
+</ul>
364
+</div><!-- contents -->
365
+<!-- start footer part -->
366
+<hr class="footer"/><address class="footer"><small>
367
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
368
+<img class="footer" src="doxygen.png" alt="doxygen"/>
369
+</a> 1.8.9.1
370
+</small></address>
371
+</body>
372
+</html>

+ 280
- 0
doc/en/html/functions_func.html View File

@@ -0,0 +1,280 @@
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: Class Members - Functions</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 class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li class="current"><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+    </ul>
75
+  </div>
76
+  <div id="navrow4" class="tabs3">
77
+    <ul class="tablist">
78
+      <li><a href="#index_e"><span>e</span></a></li>
79
+      <li><a href="#index_f"><span>f</span></a></li>
80
+      <li><a href="#index_g"><span>g</span></a></li>
81
+      <li><a href="#index_h"><span>h</span></a></li>
82
+      <li><a href="#index_i"><span>i</span></a></li>
83
+      <li><a href="#index_m"><span>m</span></a></li>
84
+      <li><a href="#index_o"><span>o</span></a></li>
85
+      <li><a href="#index_p"><span>p</span></a></li>
86
+      <li><a href="#index_s"><span>s</span></a></li>
87
+      <li class="current"><a href="#index_~"><span>~</span></a></li>
88
+    </ul>
89
+  </div>
90
+</div><!-- top -->
91
+<!-- window showing the filter options -->
92
+<div id="MSearchSelectWindow"
93
+     onmouseover="return searchBox.OnSearchSelectShow()"
94
+     onmouseout="return searchBox.OnSearchSelectHide()"
95
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
96
+</div>
97
+
98
+<!-- iframe showing the search results (closed by default) -->
99
+<div id="MSearchResultsWindow">
100
+<iframe src="javascript:void(0)" frameborder="0" 
101
+        name="MSearchResults" id="MSearchResults">
102
+</iframe>
103
+</div>
104
+
105
+<div class="contents">
106
+&#160;
107
+
108
+<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
109
+<li>ethernet_packet()
110
+: <a class="el" href="classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c">ethernet_packet</a>
111
+</li>
112
+</ul>
113
+
114
+
115
+<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
116
+<li>find_devices()
117
+: <a class="el" href="class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6">Sniffer</a>
118
+</li>
119
+<li>format_hex_ascii_line()
120
+: <a class="el" href="class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2">Sniffer</a>
121
+</li>
122
+<li>format_payload()
123
+: <a class="el" href="class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c">Sniffer</a>
124
+</li>
125
+</ul>
126
+
127
+
128
+<h3><a class="anchor" id="index_g"></a>- g -</h3><ul>
129
+<li>getEtherDHost()
130
+: <a class="el" href="classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1">ethernet_packet</a>
131
+</li>
132
+<li>getEtherSHost()
133
+: <a class="el" href="classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3">ethernet_packet</a>
134
+</li>
135
+<li>getEtherType()
136
+: <a class="el" href="classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6">ethernet_packet</a>
137
+</li>
138
+<li>getImage()
139
+: <a class="el" href="classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8">imagepacket</a>
140
+</li>
141
+<li>getIPDAddress()
142
+: <a class="el" href="classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b">ip_packet</a>
143
+</li>
144
+<li>getIPDPort()
145
+: <a class="el" href="classip__packet.html#a1a31307b3e7912ba3a1817041725660e">ip_packet</a>
146
+</li>
147
+<li>getIPProto()
148
+: <a class="el" href="classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999">ip_packet</a>
149
+</li>
150
+<li>getIPSAddress()
151
+: <a class="el" href="classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183">ip_packet</a>
152
+</li>
153
+<li>getIPSPort()
154
+: <a class="el" href="classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0">ip_packet</a>
155
+</li>
156
+<li>getPacketList()
157
+: <a class="el" href="class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6">Sniffer</a>
158
+</li>
159
+<li>getPayload()
160
+: <a class="el" href="classip__packet.html#a8b774913ecf9d9cda07dd088818ef481">ip_packet</a>
161
+</li>
162
+<li>got_packet()
163
+: <a class="el" href="class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0">Sniffer</a>
164
+</li>
165
+</ul>
166
+
167
+
168
+<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
169
+<li>handleResults()
170
+: <a class="el" href="class_main_window.html#a429d5f7a014bccafa259dcd926531159">MainWindow</a>
171
+</li>
172
+</ul>
173
+
174
+
175
+<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
176
+<li>imagepacket()
177
+: <a class="el" href="classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf">imagepacket</a>
178
+</li>
179
+<li>ip_packet()
180
+: <a class="el" href="classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90">ip_packet</a>
181
+</li>
182
+<li>isImage()
183
+: <a class="el" href="classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae">imagepacket</a>
184
+</li>
185
+</ul>
186
+
187
+
188
+<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
189
+<li>mac2string()
190
+: <a class="el" href="classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2">ethernet_packet</a>
191
+</li>
192
+<li>MainWindow()
193
+: <a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>
194
+</li>
195
+</ul>
196
+
197
+
198
+<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
199
+<li>on_capture_clicked()
200
+: <a class="el" href="class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf">MainWindow</a>
201
+</li>
202
+<li>on_packetDisplay_itemClicked()
203
+: <a class="el" href="class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17">MainWindow</a>
204
+</li>
205
+<li>on_resetButton_clicked()
206
+: <a class="el" href="class_main_window.html#abdb4cd970167670c0dcbea4a45071892">MainWindow</a>
207
+</li>
208
+</ul>
209
+
210
+
211
+<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
212
+<li>print_hex_ascii_line()
213
+: <a class="el" href="class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6">Sniffer</a>
214
+</li>
215
+<li>print_payload()
216
+: <a class="el" href="class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910">Sniffer</a>
217
+</li>
218
+<li>process()
219
+: <a class="el" href="class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514">Sniffer</a>
220
+</li>
221
+</ul>
222
+
223
+
224
+<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
225
+<li>setDevice()
226
+: <a class="el" href="class_sniffer.html#ab706811aa2b285e4c0f55491703c105a">Sniffer</a>
227
+</li>
228
+<li>setEtherDHost()
229
+: <a class="el" href="classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88">ethernet_packet</a>
230
+</li>
231
+<li>setEtherSHost()
232
+: <a class="el" href="classethernet__packet.html#aab9239c39e891929b316654b77ff9c38">ethernet_packet</a>
233
+</li>
234
+<li>setEtherType()
235
+: <a class="el" href="classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8">ethernet_packet</a>
236
+</li>
237
+<li>setIPDAddress()
238
+: <a class="el" href="classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61">ip_packet</a>
239
+</li>
240
+<li>setIPDPort()
241
+: <a class="el" href="classip__packet.html#a96103b6cecb324c633e5bd74fee281e2">ip_packet</a>
242
+</li>
243
+<li>setIPProto()
244
+: <a class="el" href="classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c">ip_packet</a>
245
+</li>
246
+<li>setIPSAddress()
247
+: <a class="el" href="classip__packet.html#a5542509eb012fbf4f831dfec39f27307">ip_packet</a>
248
+</li>
249
+<li>setIPSPort()
250
+: <a class="el" href="classip__packet.html#a33ac2122569abba5eea67bd117e3790e">ip_packet</a>
251
+</li>
252
+<li>setPayload()
253
+: <a class="el" href="classip__packet.html#ac46158915c7d7a4a652ede4246fad8df">ip_packet</a>
254
+</li>
255
+<li>slot_netwManagerFinished()
256
+: <a class="el" href="class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a">MainWindow</a>
257
+</li>
258
+<li>Sniffer()
259
+: <a class="el" href="class_sniffer.html#a8039cbd5f487a357321d57337a664d3d">Sniffer</a>
260
+</li>
261
+</ul>
262
+
263
+
264
+<h3><a class="anchor" id="index_~"></a>- ~ -</h3><ul>
265
+<li>~MainWindow()
266
+: <a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow</a>
267
+</li>
268
+<li>~Sniffer()
269
+: <a class="el" href="class_sniffer.html#a8ad3b97292e2cc274f31d87701f92be2">Sniffer</a>
270
+</li>
271
+</ul>
272
+</div><!-- contents -->
273
+<!-- start footer part -->
274
+<hr class="footer"/><address class="footer"><small>
275
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
276
+<img class="footer" src="doxygen.png" alt="doxygen"/>
277
+</a> 1.8.9.1
278
+</small></address>
279
+</body>
280
+</html>

+ 179
- 0
doc/en/html/functions_vars.html View File

@@ -0,0 +1,179 @@
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: Class Members - Variables</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 class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
74
+    </ul>
75
+  </div>
76
+</div><!-- top -->
77
+<!-- window showing the filter options -->
78
+<div id="MSearchSelectWindow"
79
+     onmouseover="return searchBox.OnSearchSelectShow()"
80
+     onmouseout="return searchBox.OnSearchSelectHide()"
81
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
82
+</div>
83
+
84
+<!-- iframe showing the search results (closed by default) -->
85
+<div id="MSearchResultsWindow">
86
+<iframe src="javascript:void(0)" frameborder="0" 
87
+        name="MSearchResults" id="MSearchResults">
88
+</iframe>
89
+</div>
90
+
91
+<div class="contents">
92
+&#160;<ul>
93
+<li>d_port
94
+: <a class="el" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">ip_packet</a>
95
+</li>
96
+<li>ether_dhost
97
+: <a class="el" href="structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f">sniff_ethernet</a>
98
+</li>
99
+<li>ether_shost
100
+: <a class="el" href="structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51">sniff_ethernet</a>
101
+</li>
102
+<li>ether_type
103
+: <a class="el" href="structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb">sniff_ethernet</a>
104
+</li>
105
+<li>ethernet
106
+: <a class="el" href="classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4">ethernet_packet</a>
107
+</li>
108
+<li>extensions
109
+: <a class="el" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">imagepacket</a>
110
+</li>
111
+<li>imageList
112
+: <a class="el" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">MainWindow</a>
113
+</li>
114
+<li>imageurl
115
+: <a class="el" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imagepacket</a>
116
+</li>
117
+<li>ip_dst
118
+: <a class="el" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_packet</a>
119
+, <a class="el" href="structsniff__ip.html#ad2db4a1d3fbfb1bcc44e5a26d6c28c2e">sniff_ip</a>
120
+</li>
121
+<li>ip_id
122
+: <a class="el" href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">sniff_ip</a>
123
+</li>
124
+<li>ip_len
125
+: <a class="el" href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">sniff_ip</a>
126
+</li>
127
+<li>ip_off
128
+: <a class="el" href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">sniff_ip</a>
129
+</li>
130
+<li>ip_p
131
+: <a class="el" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_packet</a>
132
+, <a class="el" href="structsniff__ip.html#a49d22326de644e4d1158ef7ae4fb22b7">sniff_ip</a>
133
+</li>
134
+<li>ip_sum
135
+: <a class="el" href="structsniff__ip.html#a263384b09865cda4a03e3451de740c84">sniff_ip</a>
136
+</li>
137
+<li>ip_tos
138
+: <a class="el" href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">sniff_ip</a>
139
+</li>
140
+<li>ip_ttl
141
+: <a class="el" href="structsniff__ip.html#abed391544944e353d09e85030f423ec8">sniff_ip</a>
142
+</li>
143
+<li>ip_vhl
144
+: <a class="el" href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">sniff_ip</a>
145
+</li>
146
+<li>mutex
147
+: <a class="el" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">MainWindow</a>
148
+</li>
149
+<li>netManager
150
+: <a class="el" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">MainWindow</a>
151
+</li>
152
+<li>pause
153
+: <a class="el" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">MainWindow</a>
154
+</li>
155
+<li>payload
156
+: <a class="el" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">ip_packet</a>
157
+</li>
158
+<li>s_port
159
+: <a class="el" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">ip_packet</a>
160
+</li>
161
+<li>sniff
162
+: <a class="el" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">MainWindow</a>
163
+</li>
164
+<li>sniff_thread
165
+: <a class="el" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">MainWindow</a>
166
+</li>
167
+<li>wait_pause
168
+: <a class="el" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">MainWindow</a>
169
+</li>
170
+</ul>
171
+</div><!-- contents -->
172
+<!-- start footer part -->
173
+<hr class="footer"/><address class="footer"><small>
174
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
175
+<img class="footer" src="doxygen.png" alt="doxygen"/>
176
+</a> 1.8.9.1
177
+</small></address>
178
+</body>
179
+</html>

+ 112
- 0
doc/en/html/hierarchy.html View File

@@ -0,0 +1,112 @@
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: Class Hierarchy</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 class="current"><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
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class Hierarchy</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock">This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory">
90
+<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
91
+<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classethernet__packet.html" target="_self">ethernet_packet</a></td><td class="desc">Function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings) </td></tr>
92
+<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classip__packet.html" target="_self">ip_packet</a></td><td class="desc">Information extracted from a packet received using pcap for packets that are IP/TCP or IP/UDP. We only save src and dst addresses and ports, and type of Transport protocol. The class hinerates the fields hardware address field because every IP packet is part of a ethernet packet. The remaining packet is stored as payload </td></tr>
93
+<tr id="row_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classimagepacket.html" target="_self">imagepacket</a></td><td class="desc">Used to determine if an http packet is an image request </td></tr>
94
+<tr id="row_2_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>QMainWindow</b></td><td class="desc"></td></tr>
95
+<tr id="row_2_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc"></td></tr>
96
+<tr id="row_3_"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_3_" class="arrow" onclick="toggleFolder('3_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>QObject</b></td><td class="desc"></td></tr>
97
+<tr id="row_3_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_sniffer.html" target="_self">Sniffer</a></td><td class="desc">One that use the pcap library to extract the packet information. It discards any packet that is not Ethernet-&gt;IP-&gt;(TCP|UDP), and pass up to the GUI the packets that are Ethernet-&gt;IP-&gt;(TCP|UDP) </td></tr>
98
+<tr id="row_4_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__ethernet.html" target="_self">sniff_ethernet</a></td><td class="desc">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 </td></tr>
99
+<tr id="row_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__ip.html" target="_self">sniff_ip</a></td><td class="desc">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 </td></tr>
100
+<tr id="row_6_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__tcp.html" target="_self">sniff_tcp</a></td><td class="desc">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 TCP header. We use the first two members to extract the src and dst port. Used to extract TCP transport layer information from a packet </td></tr>
101
+<tr id="row_7_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structsniff__udp.html" target="_self">sniff_udp</a></td><td class="desc">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 </td></tr>
102
+</table>
103
+</div><!-- directory -->
104
+</div><!-- contents -->
105
+<!-- start footer part -->
106
+<hr class="footer"/><address class="footer"><small>
107
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
108
+<img class="footer" src="doxygen.png" alt="doxygen"/>
109
+</a> 1.8.9.1
110
+</small></address>
111
+</body>
112
+</html>

+ 123
- 0
doc/en/html/imagepacket_8h_source.html View File

@@ -0,0 +1,123 @@
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: imagepacket.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">imagepacket.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef IMAGEPACKET_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define IMAGEPACKET_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QByteArray&gt;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;QDebug&gt;</span></div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;QFileInfo&gt;</span></div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
96
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
97
+<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classimagepacket.html">   16</a></span>&#160;<span class="keyword">class </span><a class="code" href="classimagepacket.html">imagepacket</a></div>
98
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
99
+<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">   18</a></span>&#160;    QString <a class="code" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imageurl</a> ; </div>
100
+<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">   19</a></span>&#160;    QStringList <a class="code" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">extensions</a> ; </div>
101
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">public</span>:</div>
102
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
103
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="classimagepacket.html">imagepacket</a>();</div>
104
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
105
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordtype">bool</span> isImage(<span class="keywordtype">string</span> payload) ;</div>
106
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
107
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    QString getImage() ;</div>
108
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;};</div>
109
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
110
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#endif // HTTPRESPONSEIMAGE_H</span></div>
111
+<div class="ttc" id="classimagepacket_html"><div class="ttname"><a href="classimagepacket.html">imagepacket</a></div><div class="ttdoc">The imagepacket class is used to determine if an http packet is an image request. ...</div><div class="ttdef"><b>Definition:</b> imagepacket.h:16</div></div>
112
+<div class="ttc" id="classimagepacket_html_a59cf09a0e904b2a8240b67d57a64deb7"><div class="ttname"><a href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">imagepacket::extensions</a></div><div class="ttdeci">QStringList extensions</div><div class="ttdef"><b>Definition:</b> imagepacket.h:19</div></div>
113
+<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
114
+<div class="ttc" id="classimagepacket_html_ad215afe2a7c45c15e7b830b1feb3173b"><div class="ttname"><a href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imagepacket::imageurl</a></div><div class="ttdeci">QString imageurl</div><div class="ttdef"><b>Definition:</b> imagepacket.h:18</div></div>
115
+</div><!-- fragment --></div><!-- contents -->
116
+<!-- start footer part -->
117
+<hr class="footer"/><address class="footer"><small>
118
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
119
+<img class="footer" src="doxygen.png" alt="doxygen"/>
120
+</a> 1.8.9.1
121
+</small></address>
122
+</body>
123
+</html>

+ 89
- 0
doc/en/html/index.html View File

@@ -0,0 +1,89 @@
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: Main Page</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 class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><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><!-- top -->
62
+<!-- window showing the filter options -->
63
+<div id="MSearchSelectWindow"
64
+     onmouseover="return searchBox.OnSearchSelectShow()"
65
+     onmouseout="return searchBox.OnSearchSelectHide()"
66
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
67
+</div>
68
+
69
+<!-- iframe showing the search results (closed by default) -->
70
+<div id="MSearchResultsWindow">
71
+<iframe src="javascript:void(0)" frameborder="0" 
72
+        name="MSearchResults" id="MSearchResults">
73
+</iframe>
74
+</div>
75
+
76
+<div class="header">
77
+  <div class="headertitle">
78
+<div class="title">My Project Documentation</div>  </div>
79
+</div><!--header-->
80
+<div class="contents">
81
+</div><!-- contents -->
82
+<!-- start footer part -->
83
+<hr class="footer"/><address class="footer"><small>
84
+Generated on Wed Jun 24 2015 15:25:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
85
+<img class="footer" src="doxygen.png" alt="doxygen"/>
86
+</a> 1.8.9.1
87
+</small></address>
88
+</body>
89
+</html>

+ 123
- 0
doc/en/html/ip__hdr_8h_source.html View File

@@ -0,0 +1,123 @@
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: ip_hdr.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">ip_hdr.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef IP_HDR_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define IP_HDR_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">/* IP header */</span></div>
90
+<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structsniff__ip.html">    8</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structsniff__ip.html">sniff_ip</a> {</div>
91
+<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">    9</a></span>&#160;        u_char  <a class="code" href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">ip_vhl</a>;                 </div>
92
+<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">   10</a></span>&#160;        u_char  <a class="code" href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">ip_tos</a>;                 </div>
93
+<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">   11</a></span>&#160;        u_short <a class="code" href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">ip_len</a>;                 </div>
94
+<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">   12</a></span>&#160;        u_short <a class="code" href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">ip_id</a>;                  </div>
95
+<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">   13</a></span>&#160;        u_short <a class="code" href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">ip_off</a>;                 </div>
96
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">        #define IP_RF 0x8000            </span></div>
97
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">        #define IP_DF 0x4000            </span></div>
98
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">        #define IP_MF 0x2000            </span></div>
99
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">        #define IP_OFFMASK 0x1fff       </span></div>
100
+<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structsniff__ip.html#abed391544944e353d09e85030f423ec8">   18</a></span>&#160;<span class="preprocessor">        u_char  ip_ttl;                 </span></div>
101
+<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structsniff__ip.html#a49d22326de644e4d1158ef7ae4fb22b7">   19</a></span>&#160;<span class="preprocessor">        u_char  ip_p;                   </span></div>
102
+<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structsniff__ip.html#a263384b09865cda4a03e3451de740c84">   20</a></span>&#160;<span class="preprocessor">        u_short ip_sum;                 </span></div>
103
+<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structsniff__ip.html#ad2db4a1d3fbfb1bcc44e5a26d6c28c2e">   21</a></span>&#160;<span class="preprocessor">        struct  in_addr ip_src,ip_dst;  </span></div>
104
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">};</span></div>
105
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#define IP_HL(ip)               (((ip)-&gt;ip_vhl) &amp; 0x0f)</span></div>
106
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define IP_V(ip)                (((ip)-&gt;ip_vhl) &gt;&gt; 4)</span></div>
107
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
108
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#endif // IP_HDR_H</span></div>
109
+<div class="ttc" id="structsniff__ip_html_a8ced3d6237cb8b0538e73227843b4edb"><div class="ttname"><a href="structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb">sniff_ip::ip_vhl</a></div><div class="ttdeci">u_char ip_vhl</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:9</div></div>
110
+<div class="ttc" id="structsniff__ip_html_aecf13449d60d1e0b7d78a64fcd3e54de"><div class="ttname"><a href="structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de">sniff_ip::ip_off</a></div><div class="ttdeci">u_short ip_off</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:13</div></div>
111
+<div class="ttc" id="structsniff__ip_html_aa4907e31555a52a20bc0eadc46d45044"><div class="ttname"><a href="structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044">sniff_ip::ip_len</a></div><div class="ttdeci">u_short ip_len</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:11</div></div>
112
+<div class="ttc" id="structsniff__ip_html_aa850a52985272f13d6866d14be1ecdf6"><div class="ttname"><a href="structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6">sniff_ip::ip_tos</a></div><div class="ttdeci">u_char ip_tos</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:10</div></div>
113
+<div class="ttc" id="structsniff__ip_html_a9cae00d3f7491ce2bfcb086880b1aa6a"><div class="ttname"><a href="structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a">sniff_ip::ip_id</a></div><div class="ttdeci">u_short ip_id</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:12</div></div>
114
+<div class="ttc" id="structsniff__ip_html"><div class="ttname"><a href="structsniff__ip.html">sniff_ip</a></div><div class="ttdoc">The sniff_ip struct defines the packet header of a tcp internet packet. Used to extract IP layer info...</div><div class="ttdef"><b>Definition:</b> ip_hdr.h:8</div></div>
115
+</div><!-- fragment --></div><!-- contents -->
116
+<!-- start footer part -->
117
+<hr class="footer"/><address class="footer"><small>
118
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
119
+<img class="footer" src="doxygen.png" alt="doxygen"/>
120
+</a> 1.8.9.1
121
+</small></address>
122
+</body>
123
+</html>

+ 148
- 0
doc/en/html/ip__packet_8h_source.html View File

@@ -0,0 +1,148 @@
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: ip_packet.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">ip_packet.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef IP_PACKET_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define IP_PACKET_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;ethernet_packet.h&quot;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;netinet/in.h&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;arpa/inet.h&gt;</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
95
+<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classip__packet.html">   18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classip__packet.html">ip_packet</a> : <span class="keyword">public</span> <a class="code" href="classethernet__packet.html">ethernet_packet</a></div>
96
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div>
97
+<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">   20</a></span>&#160;    <span class="keywordtype">string</span> ip_src,<a class="code" href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_dst</a>;   </div>
98
+<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">   21</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_p</a> ;             </div>
99
+<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">   22</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">d_port</a> ; </div>
100
+<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">   23</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">s_port</a> ; </div>
101
+<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">   24</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">payload</a> ;        </div>
102
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">public</span>:</div>
103
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
104
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="classip__packet.html">ip_packet</a>();</div>
105
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
106
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> setIPSAddress(<span class="keywordtype">string</span>) ;</div>
107
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
108
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">void</span> setIPDAddress(<span class="keywordtype">string</span>) ;</div>
109
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
110
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> setIPProto(<span class="keywordtype">char</span>) ;</div>
111
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
112
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> setIPSPort(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>) ;</div>
113
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
114
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">void</span> setIPDPort(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>) ;</div>
115
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
116
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordtype">void</span> setPayload(<span class="keywordtype">char</span> *, <span class="keywordtype">int</span>) ;</div>
117
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
118
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">string</span> getIPSAddress() ;</div>
119
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
120
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordtype">string</span> getIPDAddress() ;</div>
121
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
122
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">string</span> getPayload() ;</div>
123
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
124
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordtype">char</span> getIPProto() ;</div>
125
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
126
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getIPSPort() ;</div>
127
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
128
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> getIPDPort() ;</div>
129
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;};</div>
130
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
131
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#endif // IP_PACKET_H</span></div>
132
+<div class="ttc" id="classethernet__packet_html"><div class="ttname"><a href="classethernet__packet.html">ethernet_packet</a></div><div class="ttdoc">The ethernet_packet class contains function to change the ethernet information in bytes from the ethe...</div><div class="ttdef"><b>Definition:</b> ethernet_packet.h:14</div></div>
133
+<div class="ttc" id="classip__packet_html_af3a920730b654dc7d26e155d509234fc"><div class="ttname"><a href="classip__packet.html#af3a920730b654dc7d26e155d509234fc">ip_packet::ip_dst</a></div><div class="ttdeci">string ip_dst</div><div class="ttdef"><b>Definition:</b> ip_packet.h:20</div></div>
134
+<div class="ttc" id="classip__packet_html"><div class="ttname"><a href="classip__packet.html">ip_packet</a></div><div class="ttdoc">The ip_packet class contains the information extracted from a packet received using pcap for packets ...</div><div class="ttdef"><b>Definition:</b> ip_packet.h:18</div></div>
135
+<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
136
+<div class="ttc" id="classip__packet_html_a12b33dcaa7ab59d15f3ce4b8ca6750fd"><div class="ttname"><a href="classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd">ip_packet::s_port</a></div><div class="ttdeci">unsigned short s_port</div><div class="ttdef"><b>Definition:</b> ip_packet.h:23</div></div>
137
+<div class="ttc" id="classip__packet_html_a6d562e562de60c518542cd250d9986b0"><div class="ttname"><a href="classip__packet.html#a6d562e562de60c518542cd250d9986b0">ip_packet::ip_p</a></div><div class="ttdeci">char ip_p</div><div class="ttdef"><b>Definition:</b> ip_packet.h:21</div></div>
138
+<div class="ttc" id="classip__packet_html_a68c32f352a4f43fd910fb3bba3ddfae0"><div class="ttname"><a href="classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0">ip_packet::payload</a></div><div class="ttdeci">string payload</div><div class="ttdef"><b>Definition:</b> ip_packet.h:24</div></div>
139
+<div class="ttc" id="classip__packet_html_a51f1c0f6cc53460164467a7e80d849b5"><div class="ttname"><a href="classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5">ip_packet::d_port</a></div><div class="ttdeci">unsigned short d_port</div><div class="ttdef"><b>Definition:</b> ip_packet.h:22</div></div>
140
+</div><!-- fragment --></div><!-- contents -->
141
+<!-- start footer part -->
142
+<hr class="footer"/><address class="footer"><small>
143
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
144
+<img class="footer" src="doxygen.png" alt="doxygen"/>
145
+</a> 1.8.9.1
146
+</small></address>
147
+</body>
148
+</html>

+ 68
- 0
doc/en/html/jquery.js
File diff suppressed because it is too large
View File


+ 165
- 0
doc/en/html/mainwindow_8h_source.html View File

@@ -0,0 +1,165 @@
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: mainwindow.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
64
+    </ul>
65
+  </div>
66
+</div><!-- top -->
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+<div class="header">
82
+  <div class="headertitle">
83
+<div class="title">mainwindow.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef MAINWINDOW_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define MAINWINDOW_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QMainWindow&gt;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QTableWidget&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;QPixmap&gt;</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;sniffer.h&quot;</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;QThread&gt;</span></div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;QWaitCondition&gt;</span></div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;QMutex&gt;</span></div>
96
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
97
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div>
98
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;QNetworkAccessManager&gt;</span></div>
99
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;QNetworkReply&gt;</span></div>
100
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;QUrl&gt;</span></div>
101
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;QListWidgetItem&gt;</span></div>
102
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;QIcon&gt;</span></div>
103
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;imagepacket.h&quot;</span></div>
104
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
105
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
106
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
107
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_ui.html">Ui</a> {</div>
108
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">class </span><a class="code" href="class_main_window.html">MainWindow</a>;</div>
109
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;}</div>
110
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
111
+<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_main_window.html">   26</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_main_window.html">MainWindow</a> : <span class="keyword">public</span> QMainWindow</div>
112
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
113
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    Q_OBJECT</div>
114
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
115
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">public</span>:</div>
116
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
117
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_main_window.html">MainWindow</a>(QWidget *parent = 0);</div>
118
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
119
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    ~<a class="code" href="class_main_window.html">MainWindow</a>();</div>
120
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
121
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">private</span> slots:</div>
122
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
123
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">void</span> on_capture_clicked();</div>
124
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
125
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">void</span> on_packetDisplay_itemClicked(QTableWidgetItem *item);</div>
126
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
127
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordtype">void</span> on_resetButton_clicked();</div>
128
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
129
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">public</span> slots:</div>
130
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
131
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordtype">void</span> handleResults(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> index) ;</div>
132
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
133
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordtype">void</span> slot_netwManagerFinished(QNetworkReply *reply) ;</div>
134
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">private</span>:</div>
135
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    Ui::MainWindow *ui;</div>
136
+<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">  103</a></span>&#160;    <a class="code" href="class_sniffer.html">Sniffer</a> *<a class="code" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">sniff</a> ; </div>
137
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">  104</a></span>&#160;    QThread <a class="code" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">sniff_thread</a> ; </div>
138
+<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">  105</a></span>&#160;    QWaitCondition <a class="code" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">wait_pause</a> ; </div>
139
+<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">  106</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">pause</a> ;                 </div>
140
+<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">  107</a></span>&#160;    QMutex <a class="code" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">mutex</a> ;              </div>
141
+<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">  108</a></span>&#160;    QStringList <a class="code" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">imageList</a> ;     </div>
142
+<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">  109</a></span>&#160;    QNetworkAccessManager *<a class="code" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">netManager</a> ; </div>
143
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;};</div>
144
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
145
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#endif // MAINWINDOW_H</span></div>
146
+<div class="ttc" id="class_main_window_html_a2a035505d0e0d67620a0959430d25b28"><div class="ttname"><a href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">MainWindow::wait_pause</a></div><div class="ttdeci">QWaitCondition wait_pause</div><div class="ttdef"><b>Definition:</b> mainwindow.h:105</div></div>
147
+<div class="ttc" id="namespace_ui_html"><div class="ttname"><a href="namespace_ui.html">Ui</a></div><div class="ttdef"><b>Definition:</b> mainwindow.h:22</div></div>
148
+<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
149
+<div class="ttc" id="class_main_window_html_a9ed781aae28b5e872e53e38f140b26eb"><div class="ttname"><a href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">MainWindow::mutex</a></div><div class="ttdeci">QMutex mutex</div><div class="ttdef"><b>Definition:</b> mainwindow.h:107</div></div>
150
+<div class="ttc" id="class_main_window_html_ad2def9b9a717131ec554e32e9fc258c1"><div class="ttname"><a href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">MainWindow::netManager</a></div><div class="ttdeci">QNetworkAccessManager * netManager</div><div class="ttdef"><b>Definition:</b> mainwindow.h:109</div></div>
151
+<div class="ttc" id="class_main_window_html_abfaf76caab7ff83ed2c2d33ed8a10752"><div class="ttname"><a href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">MainWindow::sniff</a></div><div class="ttdeci">Sniffer * sniff</div><div class="ttdef"><b>Definition:</b> mainwindow.h:103</div></div>
152
+<div class="ttc" id="class_main_window_html_ae5a6ffcdcfd6861b30b6437cc26bd2b5"><div class="ttname"><a href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">MainWindow::sniff_thread</a></div><div class="ttdeci">QThread sniff_thread</div><div class="ttdef"><b>Definition:</b> mainwindow.h:104</div></div>
153
+<div class="ttc" id="class_main_window_html"><div class="ttname"><a href="class_main_window.html">MainWindow</a></div><div class="ttdef"><b>Definition:</b> mainwindow.h:26</div></div>
154
+<div class="ttc" id="class_main_window_html_ac784fe4304c97d6866554bca82d8d8f1"><div class="ttname"><a href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">MainWindow::pause</a></div><div class="ttdeci">int pause</div><div class="ttdef"><b>Definition:</b> mainwindow.h:106</div></div>
155
+<div class="ttc" id="class_sniffer_html"><div class="ttname"><a href="class_sniffer.html">Sniffer</a></div><div class="ttdoc">The Sniffer class is the one that use the pcap library to extract the packet information. It discards any packet that is not Ethernet->IP->(TCP|UDP), and pass up to the GUI the packets that are Ethernet->IP->(TCP|UDP). </div><div class="ttdef"><b>Definition:</b> sniffer.h:40</div></div>
156
+<div class="ttc" id="class_main_window_html_ae55a34c6c58b0e8b7c853969dfa52f1d"><div class="ttname"><a href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">MainWindow::imageList</a></div><div class="ttdeci">QStringList imageList</div><div class="ttdef"><b>Definition:</b> mainwindow.h:108</div></div>
157
+</div><!-- fragment --></div><!-- contents -->
158
+<!-- start footer part -->
159
+<hr class="footer"/><address class="footer"><small>
160
+Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
161
+<img class="footer" src="doxygen.png" alt="doxygen"/>
162
+</a> 1.8.9.1
163
+</small></address>
164
+</body>
165
+</html>

BIN
doc/en/html/nav_f.png View File


BIN
doc/en/html/nav_g.png View File


BIN
doc/en/html/nav_h.png View File


BIN
doc/en/html/open.png View File


+ 26
- 0
doc/en/html/search/all_0.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_0.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['d_5fport',['d_port',['../classip__packet.html#a51f1c0f6cc53460164467a7e80d849b5',1,'ip_packet']]]
4
+];

+ 26
- 0
doc/en/html/search/all_1.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 9
- 0
doc/en/html/search/all_1.js View File

@@ -0,0 +1,9 @@
1
+var searchData=
2
+[
3
+  ['ether_5fdhost',['ether_dhost',['../structsniff__ethernet.html#aefda8dbb54243c93c4d267ada25ba17f',1,'sniff_ethernet']]],
4
+  ['ether_5fshost',['ether_shost',['../structsniff__ethernet.html#afe9a93573af998a8652b2c8b1694dd51',1,'sniff_ethernet']]],
5
+  ['ether_5ftype',['ether_type',['../structsniff__ethernet.html#ae66770fd4e71d27c6a6619670bac2efb',1,'sniff_ethernet']]],
6
+  ['ethernet',['ethernet',['../classethernet__packet.html#a71a2378751dc74ccce67aec5c56c2db4',1,'ethernet_packet']]],
7
+  ['ethernet_5fpacket',['ethernet_packet',['../classethernet__packet.html',1,'ethernet_packet'],['../classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c',1,'ethernet_packet::ethernet_packet()']]],
8
+  ['extensions',['extensions',['../classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7',1,'imagepacket']]]
9
+];

+ 26
- 0
doc/en/html/search/all_2.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/all_2.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['find_5fdevices',['find_devices',['../class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6',1,'Sniffer']]],
4
+  ['format_5fhex_5fascii_5fline',['format_hex_ascii_line',['../class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2',1,'Sniffer']]],
5
+  ['format_5fpayload',['format_payload',['../class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c',1,'Sniffer']]]
6
+];

+ 26
- 0
doc/en/html/search/all_3.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 15
- 0
doc/en/html/search/all_3.js View File

@@ -0,0 +1,15 @@
1
+var searchData=
2
+[
3
+  ['getetherdhost',['getEtherDHost',['../classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1',1,'ethernet_packet']]],
4
+  ['getethershost',['getEtherSHost',['../classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3',1,'ethernet_packet']]],
5
+  ['getethertype',['getEtherType',['../classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6',1,'ethernet_packet']]],
6
+  ['getimage',['getImage',['../classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8',1,'imagepacket']]],
7
+  ['getipdaddress',['getIPDAddress',['../classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b',1,'ip_packet']]],
8
+  ['getipdport',['getIPDPort',['../classip__packet.html#a1a31307b3e7912ba3a1817041725660e',1,'ip_packet']]],
9
+  ['getipproto',['getIPProto',['../classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999',1,'ip_packet']]],
10
+  ['getipsaddress',['getIPSAddress',['../classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183',1,'ip_packet']]],
11
+  ['getipsport',['getIPSPort',['../classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0',1,'ip_packet']]],
12
+  ['getpacketlist',['getPacketList',['../class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6',1,'Sniffer']]],
13
+  ['getpayload',['getPayload',['../classip__packet.html#a8b774913ecf9d9cda07dd088818ef481',1,'ip_packet']]],
14
+  ['got_5fpacket',['got_packet',['../class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0',1,'Sniffer']]]
15
+];

+ 26
- 0
doc/en/html/search/all_4.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_4.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['handleresults',['handleResults',['../class_main_window.html#a429d5f7a014bccafa259dcd926531159',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/all_5.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_5.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 17
- 0
doc/en/html/search/all_5.js View File

@@ -0,0 +1,17 @@
1
+var searchData=
2
+[
3
+  ['imagelist',['imageList',['../class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d',1,'MainWindow']]],
4
+  ['imagepacket',['imagepacket',['../classimagepacket.html',1,'imagepacket'],['../classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf',1,'imagepacket::imagepacket()']]],
5
+  ['imageurl',['imageurl',['../classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b',1,'imagepacket']]],
6
+  ['ip_5fdst',['ip_dst',['../structsniff__ip.html#ad2db4a1d3fbfb1bcc44e5a26d6c28c2e',1,'sniff_ip::ip_dst()'],['../classip__packet.html#af3a920730b654dc7d26e155d509234fc',1,'ip_packet::ip_dst()']]],
7
+  ['ip_5fid',['ip_id',['../structsniff__ip.html#a9cae00d3f7491ce2bfcb086880b1aa6a',1,'sniff_ip']]],
8
+  ['ip_5flen',['ip_len',['../structsniff__ip.html#aa4907e31555a52a20bc0eadc46d45044',1,'sniff_ip']]],
9
+  ['ip_5foff',['ip_off',['../structsniff__ip.html#aecf13449d60d1e0b7d78a64fcd3e54de',1,'sniff_ip']]],
10
+  ['ip_5fp',['ip_p',['../structsniff__ip.html#a49d22326de644e4d1158ef7ae4fb22b7',1,'sniff_ip::ip_p()'],['../classip__packet.html#a6d562e562de60c518542cd250d9986b0',1,'ip_packet::ip_p()']]],
11
+  ['ip_5fpacket',['ip_packet',['../classip__packet.html',1,'ip_packet'],['../classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90',1,'ip_packet::ip_packet()']]],
12
+  ['ip_5fsum',['ip_sum',['../structsniff__ip.html#a263384b09865cda4a03e3451de740c84',1,'sniff_ip']]],
13
+  ['ip_5ftos',['ip_tos',['../structsniff__ip.html#aa850a52985272f13d6866d14be1ecdf6',1,'sniff_ip']]],
14
+  ['ip_5fttl',['ip_ttl',['../structsniff__ip.html#abed391544944e353d09e85030f423ec8',1,'sniff_ip']]],
15
+  ['ip_5fvhl',['ip_vhl',['../structsniff__ip.html#a8ced3d6237cb8b0538e73227843b4edb',1,'sniff_ip']]],
16
+  ['isimage',['isImage',['../classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae',1,'imagepacket']]]
17
+];

+ 26
- 0
doc/en/html/search/all_6.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_6.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/all_6.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['mac2string',['mac2string',['../classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2',1,'ethernet_packet']]],
4
+  ['mainwindow',['MainWindow',['../class_main_window.html',1,'MainWindow'],['../class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db',1,'MainWindow::MainWindow()']]],
5
+  ['mutex',['mutex',['../class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb',1,'MainWindow']]]
6
+];

+ 26
- 0
doc/en/html/search/all_7.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_7.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_7.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['netmanager',['netManager',['../class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/all_8.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_8.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/all_8.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['on_5fcapture_5fclicked',['on_capture_clicked',['../class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf',1,'MainWindow']]],
4
+  ['on_5fpacketdisplay_5fitemclicked',['on_packetDisplay_itemClicked',['../class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17',1,'MainWindow']]],
5
+  ['on_5fresetbutton_5fclicked',['on_resetButton_clicked',['../class_main_window.html#abdb4cd970167670c0dcbea4a45071892',1,'MainWindow']]]
6
+];

+ 26
- 0
doc/en/html/search/all_9.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_9.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 8
- 0
doc/en/html/search/all_9.js View File

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['pause',['pause',['../class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1',1,'MainWindow']]],
4
+  ['payload',['payload',['../classip__packet.html#a68c32f352a4f43fd910fb3bba3ddfae0',1,'ip_packet']]],
5
+  ['print_5fhex_5fascii_5fline',['print_hex_ascii_line',['../class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6',1,'Sniffer']]],
6
+  ['print_5fpayload',['print_payload',['../class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910',1,'Sniffer']]],
7
+  ['process',['process',['../class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514',1,'Sniffer']]]
8
+];

+ 26
- 0
doc/en/html/search/all_a.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_a.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 22
- 0
doc/en/html/search/all_a.js View File

@@ -0,0 +1,22 @@
1
+var searchData=
2
+[
3
+  ['s_5fport',['s_port',['../classip__packet.html#a12b33dcaa7ab59d15f3ce4b8ca6750fd',1,'ip_packet']]],
4
+  ['setdevice',['setDevice',['../class_sniffer.html#ab706811aa2b285e4c0f55491703c105a',1,'Sniffer']]],
5
+  ['setetherdhost',['setEtherDHost',['../classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88',1,'ethernet_packet']]],
6
+  ['setethershost',['setEtherSHost',['../classethernet__packet.html#aab9239c39e891929b316654b77ff9c38',1,'ethernet_packet']]],
7
+  ['setethertype',['setEtherType',['../classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8',1,'ethernet_packet']]],
8
+  ['setipdaddress',['setIPDAddress',['../classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61',1,'ip_packet']]],
9
+  ['setipdport',['setIPDPort',['../classip__packet.html#a96103b6cecb324c633e5bd74fee281e2',1,'ip_packet']]],
10
+  ['setipproto',['setIPProto',['../classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c',1,'ip_packet']]],
11
+  ['setipsaddress',['setIPSAddress',['../classip__packet.html#a5542509eb012fbf4f831dfec39f27307',1,'ip_packet']]],
12
+  ['setipsport',['setIPSPort',['../classip__packet.html#a33ac2122569abba5eea67bd117e3790e',1,'ip_packet']]],
13
+  ['setpayload',['setPayload',['../classip__packet.html#ac46158915c7d7a4a652ede4246fad8df',1,'ip_packet']]],
14
+  ['slot_5fnetwmanagerfinished',['slot_netwManagerFinished',['../class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a',1,'MainWindow']]],
15
+  ['sniff',['sniff',['../class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752',1,'MainWindow']]],
16
+  ['sniff_5fethernet',['sniff_ethernet',['../structsniff__ethernet.html',1,'']]],
17
+  ['sniff_5fip',['sniff_ip',['../structsniff__ip.html',1,'']]],
18
+  ['sniff_5ftcp',['sniff_tcp',['../structsniff__tcp.html',1,'']]],
19
+  ['sniff_5fthread',['sniff_thread',['../class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5',1,'MainWindow']]],
20
+  ['sniff_5fudp',['sniff_udp',['../structsniff__udp.html',1,'']]],
21
+  ['sniffer',['Sniffer',['../class_sniffer.html',1,'Sniffer'],['../class_sniffer.html#a8039cbd5f487a357321d57337a664d3d',1,'Sniffer::Sniffer()'],['../class_sniffer.html#a8e5f1474f756be527b4c39a3e9a83893',1,'Sniffer::Sniffer(QWaitCondition *pw, QMutex *mx, int *ps)']]]
22
+];

+ 26
- 0
doc/en/html/search/all_b.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_b.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_b.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['wait_5fpause',['wait_pause',['../class_main_window.html#a2a035505d0e0d67620a0959430d25b28',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/all_c.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_c.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_c.js View File

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['_7emainwindow',['~MainWindow',['../class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7',1,'MainWindow']]],
4
+  ['_7esniffer',['~Sniffer',['../class_sniffer.html#a8ad3b97292e2cc274f31d87701f92be2',1,'Sniffer']]]
5
+];

+ 26
- 0
doc/en/html/search/classes_0.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/classes_0.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['ethernet_5fpacket',['ethernet_packet',['../classethernet__packet.html',1,'']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_1.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/classes_1.js View File

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['imagepacket',['imagepacket',['../classimagepacket.html',1,'']]],
4
+  ['ip_5fpacket',['ip_packet',['../classip__packet.html',1,'']]]
5
+];

+ 26
- 0
doc/en/html/search/classes_2.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/classes_2.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['mainwindow',['MainWindow',['../class_main_window.html',1,'']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_3.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 8
- 0
doc/en/html/search/classes_3.js View File

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['sniff_5fethernet',['sniff_ethernet',['../structsniff__ethernet.html',1,'']]],
4
+  ['sniff_5fip',['sniff_ip',['../structsniff__ip.html',1,'']]],
5
+  ['sniff_5ftcp',['sniff_tcp',['../structsniff__tcp.html',1,'']]],
6
+  ['sniff_5fudp',['sniff_udp',['../structsniff__udp.html',1,'']]],
7
+  ['sniffer',['Sniffer',['../class_sniffer.html',1,'']]]
8
+];

BIN
doc/en/html/search/close.png View File


+ 26
- 0
doc/en/html/search/functions_0.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_0.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['ethernet_5fpacket',['ethernet_packet',['../classethernet__packet.html#a4986a171f2710d2f7385adc9698be32c',1,'ethernet_packet']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_1.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/functions_1.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['find_5fdevices',['find_devices',['../class_sniffer.html#a94d7cd87d0f181c3cf2e5ec851e370b6',1,'Sniffer']]],
4
+  ['format_5fhex_5fascii_5fline',['format_hex_ascii_line',['../class_sniffer.html#a02101b56a75804d1ed39a1c04ba36ab2',1,'Sniffer']]],
5
+  ['format_5fpayload',['format_payload',['../class_sniffer.html#a3dd95c60c5b8554e1bedc22b36ae488c',1,'Sniffer']]]
6
+];

+ 26
- 0
doc/en/html/search/functions_2.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 15
- 0
doc/en/html/search/functions_2.js View File

@@ -0,0 +1,15 @@
1
+var searchData=
2
+[
3
+  ['getetherdhost',['getEtherDHost',['../classethernet__packet.html#affa9f0bd4139a1b435e00401da1085f1',1,'ethernet_packet']]],
4
+  ['getethershost',['getEtherSHost',['../classethernet__packet.html#aa86115cbbf7baab794766ced8b27edb3',1,'ethernet_packet']]],
5
+  ['getethertype',['getEtherType',['../classethernet__packet.html#a29151c42a4d2bbbec4909d7bed7592a6',1,'ethernet_packet']]],
6
+  ['getimage',['getImage',['../classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8',1,'imagepacket']]],
7
+  ['getipdaddress',['getIPDAddress',['../classip__packet.html#a5396956d60ddb6a1bb1bd2f6f2b4751b',1,'ip_packet']]],
8
+  ['getipdport',['getIPDPort',['../classip__packet.html#a1a31307b3e7912ba3a1817041725660e',1,'ip_packet']]],
9
+  ['getipproto',['getIPProto',['../classip__packet.html#a78e1e0e7d107ac449fe224d95bcbd999',1,'ip_packet']]],
10
+  ['getipsaddress',['getIPSAddress',['../classip__packet.html#ac4baa351e90aa90ee8bedd1239d24183',1,'ip_packet']]],
11
+  ['getipsport',['getIPSPort',['../classip__packet.html#a9697bad155ec10c25151a6c1f5a434b0',1,'ip_packet']]],
12
+  ['getpacketlist',['getPacketList',['../class_sniffer.html#a791027d276cfcc5e6849132ecf8e80b6',1,'Sniffer']]],
13
+  ['getpayload',['getPayload',['../classip__packet.html#a8b774913ecf9d9cda07dd088818ef481',1,'ip_packet']]],
14
+  ['got_5fpacket',['got_packet',['../class_sniffer.html#a0179e32fee6a0f7c2a13f37d64a7fae0',1,'Sniffer']]]
15
+];

+ 26
- 0
doc/en/html/search/functions_3.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_3.js View File

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['handleresults',['handleResults',['../class_main_window.html#a429d5f7a014bccafa259dcd926531159',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_4.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/functions_4.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['imagepacket',['imagepacket',['../classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf',1,'imagepacket']]],
4
+  ['ip_5fpacket',['ip_packet',['../classip__packet.html#a331b530912b6fa3b2bbc9a6f0dbe6d90',1,'ip_packet']]],
5
+  ['isimage',['isImage',['../classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae',1,'imagepacket']]]
6
+];

+ 26
- 0
doc/en/html/search/functions_5.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_5.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/functions_5.js View File

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['mac2string',['mac2string',['../classethernet__packet.html#aff594f99384a96d6ff8a8f844e351da2',1,'ethernet_packet']]],
4
+  ['mainwindow',['MainWindow',['../class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db',1,'MainWindow']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_6.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_6.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/functions_6.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['on_5fcapture_5fclicked',['on_capture_clicked',['../class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf',1,'MainWindow']]],
4
+  ['on_5fpacketdisplay_5fitemclicked',['on_packetDisplay_itemClicked',['../class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17',1,'MainWindow']]],
5
+  ['on_5fresetbutton_5fclicked',['on_resetButton_clicked',['../class_main_window.html#abdb4cd970167670c0dcbea4a45071892',1,'MainWindow']]]
6
+];

+ 26
- 0
doc/en/html/search/functions_7.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_7.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/functions_7.js View File

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['print_5fhex_5fascii_5fline',['print_hex_ascii_line',['../class_sniffer.html#a70598d5001a30cc8e801f1262770cdf6',1,'Sniffer']]],
4
+  ['print_5fpayload',['print_payload',['../class_sniffer.html#ac05f935a6ec2830d6bf42b607f071910',1,'Sniffer']]],
5
+  ['process',['process',['../class_sniffer.html#a6fc78b66d2f4dce0cc3662dacf171514',1,'Sniffer']]]
6
+];

+ 26
- 0
doc/en/html/search/functions_8.html View File

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_8.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 15
- 0
doc/en/html/search/functions_8.js View File

@@ -0,0 +1,15 @@
1
+var searchData=
2
+[
3
+  ['setdevice',['setDevice',['../class_sniffer.html#ab706811aa2b285e4c0f55491703c105a',1,'Sniffer']]],
4
+  ['setetherdhost',['setEtherDHost',['../classethernet__packet.html#acd600b879a9ea2b3753680c5e8a3ef88',1,'ethernet_packet']]],
5
+  ['setethershost',['setEtherSHost',['../classethernet__packet.html#aab9239c39e891929b316654b77ff9c38',1,'ethernet_packet']]],
6
+  ['setethertype',['setEtherType',['../classethernet__packet.html#ad42d30ecbabfbce466fbbf9153977fc8',1,'ethernet_packet']]],
7
+  ['setipdaddress',['setIPDAddress',['../classip__packet.html#a6083cc5d06be5bb11c266efbdd961f61',1,'ip_packet']]],
8
+  ['setipdport',['setIPDPort',['../classip__packet.html#a96103b6cecb324c633e5bd74fee281e2',1,'ip_packet']]],
9
+  ['setipproto',['setIPProto',['../classip__packet.html#a661b3d3c30388290ce4f479c6a00b38c',1,'ip_packet']]],
10
+  ['setipsaddress',['setIPSAddress',['../classip__packet.html#a5542509eb012fbf4f831dfec39f27307',1,'ip_packet']]],
11
+  ['setipsport',['setIPSPort',['../classip__packet.html#a33ac2122569abba5eea67bd117e3790e',1,'ip_packet']]],
12
+  ['setpayload',['setPayload',['../classip__packet.html#ac46158915c7d7a4a652ede4246fad8df',1,'ip_packet']]],
13
+  ['slot_5fnetwmanagerfinished',['slot_netwManagerFinished',['../class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a',1,'MainWindow']]],
14
+  ['sniffer',['Sniffer',['../class_sniffer.html#a8039cbd5f487a357321d57337a664d3d',1,'Sniffer::Sniffer()'],['../class_sniffer.html#a8e5f1474f756be527b4c39a3e9a83893',1,'Sniffer::Sniffer(QWaitCondition *pw, QMutex *mx, int *ps)']]]
15
+];

+ 0
- 0
doc/en/html/search/functions_9.html View File


Some files were not shown because too many files changed in this diff