wpl::pkt Namespace Reference

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 > &)

Detailed Description

Packet-related compounds.


Enumeration Type Documentation

Packet type.

Protocol identifiers for packet. Used by stream::type() to know what data packet::bytes() returns. Uses the same constants as pcap files.

Enumerator:
LOOP 

BSD loopback encapsulation.

EN10MB 

Ethernet (10Mb).

EN3MB 

Experimental Ethernet (3Mb).

AX25 

Amateur Radio AX.25.

PRONET 

Proteon ProNET Token Ring.

CHAOS 

Chaos.

IEEE802 

IEEE 802 Networks.

ARCNET 

ARCNET, with BSD-style header.

SLIP 

Serial Line IP.

PPP 

Point-to-point Protocol.

FDDI 

FDDI.

IEEE802_11 

IEEE 802.11 wireless.

PRISM_HEADER 

Prism PHY-layer information.

IEEE802_11_RADIO 

Radiotap header.

IEEE802_11_RADIO_AVS 

AVS header.


Generated by  doxygen 1.6.2