#include <ArpPacket.h>


Public Member Functions | |
| ArpPacket () | |
| ~ArpPacket () | |
| bool | parsePacket () |
| void | assemblePacket () |
| string | toString () |
| unsigned int | getMinProtocolSize () |
| unsigned short | getHardwaretype () |
| unsigned short | getProtocoltype () |
| unsigned char | getHardwareaddrlen () |
| unsigned char | getProtocoladdrlen () |
| unsigned short | getOpcode () |
| MAC_ADDR | getSourcemac () |
| IP_ADDR | getSourceip () |
| MAC_ADDR | getDestmac () |
| IP_ADDR | getDestip () |
| void | setHardwaretype (unsigned short hwtype) |
| void | setProtocoltype (unsigned short prototype) |
| void | setHardwareaddrlen (unsigned char hwlen) |
| void | setProtocoladdrlen (unsigned char protolen) |
| void | setOpcode (unsigned short opcode) |
| void | setSourcemac (MAC_ADDR sourcemac) |
| void | setSourceip (IP_ADDR sourceip) |
| void | setDestmac (MAC_ADDR destmac) |
| void | setDestip (IP_ADDR destip) |
Static Public Attributes | |
| static AnonPrimitive * | anonHardwaretype = NULL |
| static AnonPrimitive * | anonProtocoltype = NULL |
| static AnonPrimitive * | anonHardwareaddrlen = NULL |
| static AnonPrimitive * | anonProtoaddrlen = NULL |
| static AnonPrimitive * | anonOpcode = NULL |
| static AnonPrimitive * | anonSourcemac = NULL |
| static AnonPrimitive * | anonSourceip = NULL |
| static AnonPrimitive * | anonDestmac = NULL |
| static AnonPrimitive * | anonDestip = NULL |
Private Attributes | |
| ARP_HEADER | header |
| ArpPacket::ArpPacket | ( | ) |
| ArpPacket::~ArpPacket | ( | ) |
| bool ArpPacket::parsePacket | ( | ) | [virtual] |
Implements Packet.
| void ArpPacket::assemblePacket | ( | ) | [virtual] |
Implements Packet.
| string ArpPacket::toString | ( | ) | [virtual] |
Implements Packet.
| unsigned int ArpPacket::getMinProtocolSize | ( | ) | [virtual] |
Implements Packet.
| unsigned short ArpPacket::getHardwaretype | ( | ) |
| unsigned short ArpPacket::getProtocoltype | ( | ) |
| unsigned char ArpPacket::getHardwareaddrlen | ( | ) |
| unsigned char ArpPacket::getProtocoladdrlen | ( | ) |
| unsigned short ArpPacket::getOpcode | ( | ) |
| MAC_ADDR ArpPacket::getSourcemac | ( | ) |
| IP_ADDR ArpPacket::getSourceip | ( | ) |
| MAC_ADDR ArpPacket::getDestmac | ( | ) |
| IP_ADDR ArpPacket::getDestip | ( | ) |
| void ArpPacket::setHardwaretype | ( | unsigned short | hwtype | ) |
| void ArpPacket::setProtocoltype | ( | unsigned short | prototype | ) |
| void ArpPacket::setHardwareaddrlen | ( | unsigned char | hwlen | ) |
| void ArpPacket::setProtocoladdrlen | ( | unsigned char | protolen | ) |
| void ArpPacket::setOpcode | ( | unsigned short | opcode | ) |
| void ArpPacket::setSourcemac | ( | MAC_ADDR | sourcemac | ) |
| void ArpPacket::setSourceip | ( | IP_ADDR | sourceip | ) |
| void ArpPacket::setDestmac | ( | MAC_ADDR | destmac | ) |
| void ArpPacket::setDestip | ( | IP_ADDR | destip | ) |
AnonPrimitive * ArpPacket::anonHardwaretype = NULL [static] |
AnonPrimitive * ArpPacket::anonProtocoltype = NULL [static] |
AnonPrimitive * ArpPacket::anonHardwareaddrlen = NULL [static] |
AnonPrimitive * ArpPacket::anonProtoaddrlen = NULL [static] |
AnonPrimitive * ArpPacket::anonOpcode = NULL [static] |
AnonPrimitive * ArpPacket::anonSourcemac = NULL [static] |
AnonPrimitive * ArpPacket::anonSourceip = NULL [static] |
AnonPrimitive * ArpPacket::anonDestmac = NULL [static] |
AnonPrimitive * ArpPacket::anonDestip = NULL [static] |
ARP_HEADER ArpPacket::header [private] |
1.5.5