35#ifndef EthernetProtocolDecoder_h
36#define EthernetProtocolDecoder_h
38#include "../scopehal/PacketDecoder.h"
62 TYPE_LINK_INTERRUPTION,
77 return (m_data ==
rhs.m_data) && (m_type ==
rhs.m_type);
87 virtual std::string
GetText(
size_t)
override;
88 virtual std::string
GetColor(
size_t)
override;
90 void PreCacheColors();
99 virtual std::vector<std::string> GetHeaders()
override;
105 std::vector<uint8_t>&
bytes,
106 std::vector<uint64_t>&
starts,
107 std::vector<uint64_t>&
ends,
124 void BytesToFramesUnitTimescale(
133 std::vector<std::string> m_headers;
Definition AcceleratorBuffer.h:204
Part of an Ethernet frame (speed doesn't matter)
Definition EthernetProtocolDecoder.h:44
Definition EthernetProtocolDecoder.h:94
virtual std::string GetDecodedField(Packet *pack, size_t i) override
Transition helper until we deprecate the old header API to get the decoded text of the Nth header.
Definition EthernetProtocolDecoder.cpp:438
Definition PacketDecoder.h:88
Definition PacketDecoder.h:40