35 #ifndef EMANEDOWNSTREAMPACKET_HEADER_ 36 #define EMANEDOWNSTREAMPACKET_HEADER_ 99 void prepend(
const void * buf,
size_t size);
154 std::list<std::tuple<EMANE::NEMId,EMANE::EventId, Serialization>>;
164 class Implementation;
165 std::unique_ptr<Implementation> pImpl_;
169 #endif // EMANEDOWNSTREAMPACKET_HEADER_
const PacketInfo & getPacketInfo() const
void attachEvent(NEMId nemId, const Event &event)
Event interface is the base for all events.
void prepend(const void *buf, size_t size)
std::vector< iovec > VectorIO
Store source, destination, creation time and priority information for a packet.
DownstreamPacket & operator=(const DownstreamPacket &pkt)
Specialized packet the allows downstream processing to add layer specific headers as the packet trave...
std::list< std::tuple< EMANE::NEMId, EMANE::EventId, Serialization > > EventSerializations
DownstreamPacket(const PacketInfo &info, const void *buf, size_t size)
const EventSerializations & getEventSerializations() const
Utils::VectorIO getVectorIO() const
void prependLengthPrefixFraming(std::uint16_t u16Length)
void prependLengthPrefixFramingLong(std::uint32_t u32Length)