Msg File src/inet/common/RawPacket.msg
Name | Type | Description |
---|---|---|
RawPacket | packet |
Packet that carries raw network bytes. Used with emulation-related features. |
Source code
// // (C) 2005 Vojtech Janota // (C) 2010 Zoltan Bojthe // // This library is free software, you can redistribute it // and/or modify // it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; // either version 2 of the License, or any later version. // The library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // cplusplus {{ #include "inet/common/INETDefs.h" #include "inet/common/ByteArray.h" }} import inet.common.ByteArray; namespace inet; // // Packet that carries raw network bytes. // Used with emulation-related features. // packet RawPacket { @customize(true); ByteArray byteArray; }