Msg File src/inet/physicallayer/apskradio/packetlevel/ApskPhyHeader.msg
Name | Type | Description |
---|---|---|
ApskPhyHeader | class | (no description) |
Source code
// // Copyright (C) OpenSim Ltd // // This program 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 (at your option) any later version. // // This program 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. // // You should have received a copy of the GNU Lesser General Public License // along with this program; if not, see <http://www.gnu.org/licenses/>. // import inet.common.INETDefs; import inet.common.Protocol; import inet.common.packet.chunk.Chunk; import inet.transportlayer.common.CrcMode; namespace inet; class ApskPhyHeader extends FieldsChunk { chunkLength = B(6); b headerLengthField; b payloadLengthField; uint16_t crc = 0; CrcMode crcMode = CRC_MODE_UNDEFINED; const Protocol *payloadProtocol @toString("->str()") = nullptr; // specifies a protocol (internal class with an artificial identifier) }