Packet-related compounds. More...
Classes | |
struct | match |
struct | metadata |
Meta-information for a network packet . More... | |
struct | stream |
Packet stream. More... | |
struct | packet |
Network packet. More... | |
Enumerations | |
enum | type { LOOP = 0, EN10MB = 1, EN3MB = 2, AX25 = 3, PRONET = 4, CHAOS = 5, IEEE802 = 6, ARCNET = 7, SLIP = 8, PPP = 9, FDDI = 10, IEEE802_11 = 105, PRISM_HEADER = 119, IEEE802_11_RADIO = 127, IEEE802_11_RADIO_AVS = 163 } |
Functions | |
template<class S > | |
bool | operator== (const packet< S > &rhs, const match &lhs) |
template<class B > | |
std::ostream & | operator<< (std::ostream &os, const stream< B > &s) |
template<class Source > | |
std::ostream & | operator<< (std::ostream &, const packet< Source > &) |
Packet-related compounds.
enum wpl::pkt::type |
Packet type.
Protocol identifiers for packet. Used by stream::type() to know what data packet::bytes() returns. Uses the same constants as pcap files.