Logo Search packages:      
Sourcecode: paris-traceroute version File versions  Download package

MPLSHeader Class Reference

#include <Header.h>

Inheritance diagram for MPLSHeader:

Header

List of all members.


Detailed Description

ICMP MPLS Extention header. draft-ietf-mpls-icmp-02.txt (obsolete but still used by LSRs)

Definition at line 180 of file Header.h.


Public Types

enum  type {
  IP4, UDP, TCP, ICMP,
  MPLS
}

Public Member Functions

void dump ()
void dumpRaw ()
uint8 getExp ()
int getHeaderLength ()
int getHeaderType ()
uint32 * getLabelStack ()
int getNbrLabels ()
bool getStackBit ()
uint8 getTTL ()
 MPLSHeader (const uint8 *data, int length, int offset)
void pack (uint8 *data, int len, int offs)

Static Public Member Functions

static int compareStacks (uint32 *stack1, int size1, uint32 *stack2, int size2)

Private Attributes

uint8 * header
int header_len
uint32 * labels
int nbrLabels
uint8 ttl

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index