Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

hdr_mpls Struct Reference

#include <classifier-addr-mpls.h>

Collaboration diagram for hdr_mpls:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int & label ()
int & bflag ()
int & ttl ()

Static Public Member Functions

int & offset ()
hdr_mplsaccess (const Packet *p)

Public Attributes

int label_
int bflag_
int ttl_
hdr_mplsnexthdr_
hdr_mplstop_

Static Public Attributes

int offset_

Member Function Documentation

hdr_mpls* hdr_mpls::access const Packet p  )  [inline, static]
 

Definition at line 82 of file classifier-addr-mpls.h.

References Packet::access(), and offset_.

Referenced by MPLSAddressClassifier::GetShimHeader().

00082                                                         {
00083                 return (hdr_mpls*)p->access(offset_);
00084         }

Here is the call graph for this function:

int& hdr_mpls::bflag  )  [inline]
 

Definition at line 76 of file classifier-addr-mpls.h.

References bflag_.

00076 { return bflag_; }

int& hdr_mpls::label  )  [inline]
 

Definition at line 75 of file classifier-addr-mpls.h.

References label_.

00075 { return label_; }

int& hdr_mpls::offset  )  [inline, static]
 

Definition at line 81 of file classifier-addr-mpls.h.

References offset_.

00081 { return offset_; }

int& hdr_mpls::ttl  )  [inline]
 

Definition at line 77 of file classifier-addr-mpls.h.

References ttl_.

00077 { return ttl_;   }


Member Data Documentation

int hdr_mpls::bflag_
 

Definition at line 70 of file classifier-addr-mpls.h.

Referenced by bflag(), MPLSAddressClassifier::DelAllShimHeader(), MPLSAddressClassifier::GetShimHeader(), and MPLSAddressClassifier::push().

int hdr_mpls::label_
 

Definition at line 69 of file classifier-addr-mpls.h.

Referenced by MPLSAddressClassifier::checkTTL(), MPLSAddressClassifier::do_reroute(), MPLSAddressClassifier::GetShimHeader(), label(), MPLSAddressClassifier::processLabelP(), MPLSAddressClassifier::push(), and MPLSAddressClassifier::swap().

hdr_mpls* hdr_mpls::nexthdr_
 

Definition at line 72 of file classifier-addr-mpls.h.

Referenced by MPLSAddressClassifier::GetShimHeader(), MPLSAddressClassifier::pop(), and MPLSAddressClassifier::push().

int hdr_mpls::offset_ [static]
 

Definition at line 57 of file classifier-addr-mpls.cc.

Referenced by access(), offset(), and shimhdreaderClass::shimhdreaderClass().

hdr_mpls* hdr_mpls::top_
 

Definition at line 73 of file classifier-addr-mpls.h.

Referenced by MPLSAddressClassifier::GetShimHeader(), MPLSAddressClassifier::pop(), and MPLSAddressClassifier::push().

int hdr_mpls::ttl_
 

Definition at line 71 of file classifier-addr-mpls.h.

Referenced by MPLSAddressClassifier::checkTTL(), MPLSAddressClassifier::convertL2toL2(), MPLSAddressClassifier::GetShimHeader(), MPLSAddressClassifier::push(), and ttl().


The documentation for this struct was generated from the following files:
Generated on Tue Apr 20 12:50:38 2004 for NS2.26SourcesOriginal by doxygen 1.3.3