INET Framework for OMNeT++/OMNEST
|
Class generated from inet/networklayer/arp/ipv4/ARPPacket.msg:62
by nedtool.
More...
#include <ARPPacket_m.h>
Public Member Functions | |
ARPPacket (const char *name=nullptr, short kind=0) | |
ARPPacket (const ARPPacket &other) | |
virtual | ~ARPPacket () |
ARPPacket & | operator= (const ARPPacket &other) |
virtual ARPPacket * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual int | getOpcode () const |
virtual void | setOpcode (int opcode) |
virtual MACAddress & | getSrcMACAddress () |
virtual const MACAddress & | getSrcMACAddress () const |
virtual void | setSrcMACAddress (const MACAddress &srcMACAddress) |
virtual MACAddress & | getDestMACAddress () |
virtual const MACAddress & | getDestMACAddress () const |
virtual void | setDestMACAddress (const MACAddress &destMACAddress) |
virtual IPv4Address & | getSrcIPAddress () |
virtual const IPv4Address & | getSrcIPAddress () const |
virtual void | setSrcIPAddress (const IPv4Address &srcIPAddress) |
virtual IPv4Address & | getDestIPAddress () |
virtual const IPv4Address & | getDestIPAddress () const |
virtual void | setDestIPAddress (const IPv4Address &destIPAddress) |
Protected Member Functions | |
bool | operator== (const ARPPacket &) |
Protected Attributes | |
int | opcode |
MACAddress | srcMACAddress |
MACAddress | destMACAddress |
IPv4Address | srcIPAddress |
IPv4Address | destIPAddress |
Private Member Functions | |
void | copy (const ARPPacket &other) |
Class generated from inet/networklayer/arp/ipv4/ARPPacket.msg:62
by nedtool.
// // ARP packet. This is a specialized version: prepared for IEEE 802 hardware // addresses and IPv4. Packet fields are therefore represented by C++ classes // MACAddress and IPv4Address. Also, some ARP protocol header fields are // not modelled explicitly (their values are implied): // - hardwareType (not needed for modelling); // - protocol type (0x800 IPv4) // - hardware address length (6) // - protocol address length (4) // packet ARPPacket { int opcode @enum(ARPOpcode); MACAddress srcMACAddress; MACAddress destMACAddress; IPv4Address srcIPAddress; IPv4Address destIPAddress; }
inet::ARPPacket::ARPPacket | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::ARPPacket::ARPPacket | ( | const ARPPacket & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
|
inlinevirtual |
Referenced by getDestIPAddress().
|
virtual |
|
inlinevirtual |
Referenced by getDestMACAddress().
|
virtual |
|
virtual |
|
inlinevirtual |
Referenced by getSrcIPAddress().
|
virtual |
|
inlinevirtual |
Referenced by getSrcMACAddress().
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::serializer::ARPSerializer::deserialize().
|
virtual |
Referenced by inet::serializer::ARPSerializer::deserialize().
|
virtual |
Referenced by inet::serializer::ARPSerializer::deserialize().
|
virtual |
Referenced by inet::serializer::ARPSerializer::deserialize().
|
virtual |
Referenced by inet::serializer::ARPSerializer::deserialize().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |