WvEncap Class Reference

#include <wvaddr.h>

List of all members.


Detailed Description

Common packet encapsulation types, with the ability to convert a Linux ARPHRD_* value or (struct sockaddr) sa_family value.

(Those two use the same set of values.)

Definition at line 68 of file wvaddr.h.


Public Types

enum  CapType {
  Unknown = 0, Loopback, Ethertap, Ethernet,
  ARCnet, SLIP, CSLIP, PPP,
  IPsec, IPv4, Unix, NUM_ENCAP_TYPES
}

Public Member Functions

 WvEncap (CapType _cap=Unknown)
 WvEncap (int extype)
 operator CapType () const
 operator WvString () const

Public Attributes

CapType cap

Member Enumeration Documentation

enum WvEncap::CapType

Enumerator:
Unknown 
Loopback 
Ethertap 
Ethernet 
ARCnet 
SLIP 
CSLIP 
PPP 
IPsec 
IPv4 
Unix 
NUM_ENCAP_TYPES 

Definition at line 75 of file wvaddr.h.


The documentation for this class was generated from the following files:
Generated on Fri Oct 5 18:20:36 2007 for WvStreams by  doxygen 1.5.3