34 #ifndef EMANEUPSTREAMPACKET_HEADER_ 35 #define EMANEUPSTREAMPACKET_HEADER_ 109 size_t strip(
size_t size);
127 const void *
get()
const;
144 class Implementation;
145 std::unique_ptr<Implementation> pImpl_;
149 #endif // EMANEDOWNSTREAMPACKET_HEADER_
A Packet class that allows upstream processing to strip layer headers as the packet travels up the st...
UpstreamPacket(const PacketInfo &info, const void *buf, size_t len)
std::uint16_t stripLengthPrefixFraming()
size_t strip(size_t size)
std::vector< iovec > VectorIO
Store source, destination, creation time and priority information for a packet.
const PacketInfo & getPacketInfo() const
UpstreamPacket & operator=(const UpstreamPacket &pkt)