123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- \hypertarget{classethernet__packet}{}\section{Referencia de la Clase ethernet\+\_\+packet}
- \label{classethernet__packet}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}}
-
-
- The \hyperlink{classethernet__packet}{ethernet\+\_\+packet} class contains function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings)
-
-
-
-
- {\ttfamily \#include $<$ethernet\+\_\+packet.\+h$>$}
-
- Diagrama de herencias de ethernet\+\_\+packet\begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[height=2.000000cm]{classethernet__packet}
- \end{center}
- \end{figure}
- \subsection*{Métodos públicos}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{classethernet__packet_a4986a171f2710d2f7385adc9698be32c}{}\hyperlink{classethernet__packet_a4986a171f2710d2f7385adc9698be32c}{ethernet\+\_\+packet} ()\label{classethernet__packet_a4986a171f2710d2f7385adc9698be32c}
-
- \begin{DoxyCompactList}\small\item\em Constructor, no hace nada. \end{DoxyCompactList}\item
- void \hyperlink{classethernet__packet_acd600b879a9ea2b3753680c5e8a3ef88}{set\+Ether\+D\+Host} (u\+\_\+char\mbox{[}$\,$\mbox{]})
- \begin{DoxyCompactList}\small\item\em Recibe el arreglo de 6 bytes de un computadora destino. \end{DoxyCompactList}\item
- void \hyperlink{classethernet__packet_aab9239c39e891929b316654b77ff9c38}{set\+Ether\+S\+Host} (u\+\_\+char\mbox{[}$\,$\mbox{]})
- \begin{DoxyCompactList}\small\item\em Recibe el arreglo de 6 bytes de la computadora de origen. \end{DoxyCompactList}\item
- void \hyperlink{classethernet__packet_ad42d30ecbabfbce466fbbf9153977fc8}{set\+Ether\+Type} (u\+\_\+short)
- \begin{DoxyCompactList}\small\item\em Ajusta el tipo de Ethernet. \end{DoxyCompactList}\item
- string \hyperlink{classethernet__packet_affa9f0bd4139a1b435e00401da1085f1}{get\+Ether\+D\+Host} ()
- \begin{DoxyCompactList}\small\item\em Devuelve la direccion de hardware destino en formato de caracteres. \end{DoxyCompactList}\item
- string \hyperlink{classethernet__packet_aa86115cbbf7baab794766ced8b27edb3}{get\+Ether\+S\+Host} ()
- \begin{DoxyCompactList}\small\item\em Devuelve la direccion de hardware fuente en formato de caracteres. \end{DoxyCompactList}\item
- u\+\_\+short \hyperlink{classethernet__packet_a29151c42a4d2bbbec4909d7bed7592a6}{get\+Ether\+Type} ()
- \begin{DoxyCompactList}\small\item\em Devuelve el tipo de Ethernet. \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Métodos privados}
- \begin{DoxyCompactItemize}
- \item
- string \hyperlink{classethernet__packet_aff594f99384a96d6ff8a8f844e351da2}{mac2string} (u\+\_\+char\mbox{[}$\,$\mbox{]})
- \begin{DoxyCompactList}\small\item\em Funcion para cambiar el arreglo de bytes que representa una direccion de hardware a su representacion estándar de caracteres. \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Atributos privados}
- \begin{DoxyCompactItemize}
- \item
- \hyperlink{structsniff__ethernet}{sniff\+\_\+ethernet} \hyperlink{classethernet__packet_a71a2378751dc74ccce67aec5c56c2db4}{ethernet}
- \end{DoxyCompactItemize}
-
-
- \subsection{Descripción detallada}
- The \hyperlink{classethernet__packet}{ethernet\+\_\+packet} class contains function to change the ethernet information in bytes from the ethernet packet header to human readable data types (strings)
-
- \subsection{Documentación de las funciones miembro}
- \hypertarget{classethernet__packet_affa9f0bd4139a1b435e00401da1085f1}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!get\+Ether\+D\+Host@{get\+Ether\+D\+Host}}
- \index{get\+Ether\+D\+Host@{get\+Ether\+D\+Host}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{get\+Ether\+D\+Host}]{\setlength{\rightskip}{0pt plus 5cm}string ethernet\+\_\+packet\+::get\+Ether\+D\+Host (
- \begin{DoxyParamCaption}
- {}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_affa9f0bd4139a1b435e00401da1085f1}
-
-
- Devuelve la direccion de hardware destino en formato de caracteres.
-
- \begin{DoxyReturn}{Devuelve}
- la direccion de hardware destino en formato de caracteres
- \end{DoxyReturn}
- \hypertarget{classethernet__packet_aa86115cbbf7baab794766ced8b27edb3}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!get\+Ether\+S\+Host@{get\+Ether\+S\+Host}}
- \index{get\+Ether\+S\+Host@{get\+Ether\+S\+Host}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{get\+Ether\+S\+Host}]{\setlength{\rightskip}{0pt plus 5cm}string ethernet\+\_\+packet\+::get\+Ether\+S\+Host (
- \begin{DoxyParamCaption}
- {}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_aa86115cbbf7baab794766ced8b27edb3}
-
-
- Devuelve la direccion de hardware fuente en formato de caracteres.
-
- \begin{DoxyReturn}{Devuelve}
- la direccion de hardware fuente en formato de caracteres
- \end{DoxyReturn}
- \hypertarget{classethernet__packet_a29151c42a4d2bbbec4909d7bed7592a6}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!get\+Ether\+Type@{get\+Ether\+Type}}
- \index{get\+Ether\+Type@{get\+Ether\+Type}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{get\+Ether\+Type}]{\setlength{\rightskip}{0pt plus 5cm}u\+\_\+short ethernet\+\_\+packet\+::get\+Ether\+Type (
- \begin{DoxyParamCaption}
- {}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_a29151c42a4d2bbbec4909d7bed7592a6}
-
-
- Devuelve el tipo de Ethernet.
-
- \begin{DoxyReturn}{Devuelve}
- el tipo de Ethernet
- \end{DoxyReturn}
- \hypertarget{classethernet__packet_aff594f99384a96d6ff8a8f844e351da2}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!mac2string@{mac2string}}
- \index{mac2string@{mac2string}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{mac2string}]{\setlength{\rightskip}{0pt plus 5cm}string ethernet\+\_\+packet\+::mac2string (
- \begin{DoxyParamCaption}
- \item[{u\+\_\+char}]{srcmac\mbox{[}$\,$\mbox{]}}
- \end{DoxyParamCaption}
- )\hspace{0.3cm}{\ttfamily [private]}}\label{classethernet__packet_aff594f99384a96d6ff8a8f844e351da2}
-
-
- Funcion para cambiar el arreglo de bytes que representa una direccion de hardware a su representacion estándar de caracteres.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em srcmac} & arreglo con una direccion Ethernet \\
- \hline
- \end{DoxyParams}
- \hypertarget{classethernet__packet_acd600b879a9ea2b3753680c5e8a3ef88}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!set\+Ether\+D\+Host@{set\+Ether\+D\+Host}}
- \index{set\+Ether\+D\+Host@{set\+Ether\+D\+Host}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{set\+Ether\+D\+Host}]{\setlength{\rightskip}{0pt plus 5cm}void ethernet\+\_\+packet\+::set\+Ether\+D\+Host (
- \begin{DoxyParamCaption}
- \item[{u\+\_\+char}]{dhost\mbox{[}$\,$\mbox{]}}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_acd600b879a9ea2b3753680c5e8a3ef88}
-
-
- Recibe el arreglo de 6 bytes de un computadora destino.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em dhost} & direccion Ethernet de computadora destino \\
- \hline
- \end{DoxyParams}
- \hypertarget{classethernet__packet_aab9239c39e891929b316654b77ff9c38}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!set\+Ether\+S\+Host@{set\+Ether\+S\+Host}}
- \index{set\+Ether\+S\+Host@{set\+Ether\+S\+Host}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{set\+Ether\+S\+Host}]{\setlength{\rightskip}{0pt plus 5cm}void ethernet\+\_\+packet\+::set\+Ether\+S\+Host (
- \begin{DoxyParamCaption}
- \item[{u\+\_\+char}]{shost\mbox{[}$\,$\mbox{]}}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_aab9239c39e891929b316654b77ff9c38}
-
-
- Recibe el arreglo de 6 bytes de la computadora de origen.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em shost} & direccion de Ethernet de computadora de origen \\
- \hline
- \end{DoxyParams}
- \hypertarget{classethernet__packet_ad42d30ecbabfbce466fbbf9153977fc8}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!set\+Ether\+Type@{set\+Ether\+Type}}
- \index{set\+Ether\+Type@{set\+Ether\+Type}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{set\+Ether\+Type}]{\setlength{\rightskip}{0pt plus 5cm}void ethernet\+\_\+packet\+::set\+Ether\+Type (
- \begin{DoxyParamCaption}
- \item[{u\+\_\+short}]{type}
- \end{DoxyParamCaption}
- )}\label{classethernet__packet_ad42d30ecbabfbce466fbbf9153977fc8}
-
-
- Ajusta el tipo de Ethernet.
-
-
- \begin{DoxyParams}{Parámetros}
- {\em type} & tipo de Ethernet \\
- \hline
- \end{DoxyParams}
-
-
- \subsection{Documentación de los datos miembro}
- \hypertarget{classethernet__packet_a71a2378751dc74ccce67aec5c56c2db4}{}\index{ethernet\+\_\+packet@{ethernet\+\_\+packet}!ethernet@{ethernet}}
- \index{ethernet@{ethernet}!ethernet\+\_\+packet@{ethernet\+\_\+packet}}
- \subsubsection[{ethernet}]{\setlength{\rightskip}{0pt plus 5cm}{\bf sniff\+\_\+ethernet} ethernet\+\_\+packet\+::ethernet\hspace{0.3cm}{\ttfamily [private]}}\label{classethernet__packet_a71a2378751dc74ccce67aec5c56c2db4}
- Ethernet header / encabezado Ethernet
-
- La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
- \item
- ethernet\+\_\+packet.\+h\item
- ethernet\+\_\+packet.\+cpp\end{DoxyCompactItemize}
|