Changeset View
Changeset View
Standalone View
Standalone View
plugins/process/network/helper/Packet.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
73 | TimeStamp::MicroSeconds timeStamp() const; | 73 | TimeStamp::MicroSeconds timeStamp() const; | ||
74 | unsigned int size() const; | 74 | unsigned int size() const; | ||
75 | NetworkProtocolType networkProtocol() const; | 75 | NetworkProtocolType networkProtocol() const; | ||
76 | TransportProtocolType transportProtocol() const; | 76 | TransportProtocolType transportProtocol() const; | ||
77 | Address sourceAddress() const; | 77 | Address sourceAddress() const; | ||
78 | Address destinationAddress() const; | 78 | Address destinationAddress() const; | ||
79 | 79 | | |||
80 | private: | 80 | private: | ||
81 | void parseIPv4(const uint8_t *data); | 81 | void parseIPv4(const uint8_t* data, int32_t dataLength); | ||
82 | void parseIPv6(const uint8_t *data); | 82 | void parseIPv6(const uint8_t* data, int32_t dataLength); | ||
83 | void parseTransport(uint8_t type, const uint8_t *data); | 83 | void parseTransport(uint8_t type, const uint8_t *data, int32_t dataLength); | ||
84 | 84 | | |||
85 | TimeStamp::MicroSeconds m_timeStamp; | 85 | TimeStamp::MicroSeconds m_timeStamp; | ||
86 | unsigned int m_size = 0; | 86 | unsigned int m_size = 0; | ||
87 | 87 | | |||
88 | NetworkProtocolType m_networkProtocol = NetworkProtocolType::Unknown; | 88 | NetworkProtocolType m_networkProtocol = NetworkProtocolType::Unknown; | ||
89 | TransportProtocolType m_transportProtocol = TransportProtocolType::Unknown; | 89 | TransportProtocolType m_transportProtocol = TransportProtocolType::Unknown; | ||
90 | 90 | | |||
91 | Address m_sourceAddress; | 91 | Address m_sourceAddress; | ||
Show All 19 Lines |