#include <IPDatagram_m.h>
IPDatagram.msg by opp_msgc.
message IPDatagram
{
properties:
omitGetVerb = true;
fields:
short version = 4;
short headerLength = IP_HEADER_BYTES;
IPAddress srcAddress;
IPAddress destAddress;
int transportProtocol enum(IPProtocolId) = IP_PROT_NONE;
short timeToLive;
int identification;
bool moreFragments;
bool dontFragment;
int fragmentOffset;
unsigned char diffServCodePoint;
int optionCode enum(IPOption) = IPOPTION_NO_OPTION;
IPRecordRouteOption recordRoute;
IPTimestampOption timestampOption;
IPSourceRoutingOption sourceRoutingOption;
};
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
00281 {return const_cast<IPDatagram*>(this)->destAddress();}
|
|
|
|
|
|
|
|
|
|
|
|
00268 {return new IPDatagram(*this);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00300 {return const_cast<IPDatagram*>(this)->recordRoute();}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00306 {return const_cast<IPDatagram*>(this)->sourceRoutingOption();}
|
|
|
|
|
|
00278 {return const_cast<IPDatagram*>(this)->srcAddress();}
|
|
|
|
|
|
00303 {return const_cast<IPDatagram*>(this)->timestampOption();}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.0