#include <TunnelEncaps.hh>
Public Member Functions | |
| Cookie & | srcCookie () |
| Cookie & | dstCookie () |
| u_int32_t & | address () |
| Port & | port () |
| u_int8_t & | ttl () |
| u_int8_t & | command () |
| u_int32_t & | auxAddress () |
Private Member Functions | |
| char * | byteOffset (int charIndex) |
Definition at line 30 of file TunnelEncaps.hh.
| Cookie& TunnelEncapsulationTrailer::srcCookie | ( | ) | [inline] |
Definition at line 44 of file TunnelEncaps.hh.
References byteOffset().
00045 { return *(Cookie*)byteOffset(0); }
| Cookie& TunnelEncapsulationTrailer::dstCookie | ( | ) | [inline] |
Definition at line 46 of file TunnelEncaps.hh.
References byteOffset().
00047 { return *(Cookie*)byteOffset(2); }
| u_int32_t& TunnelEncapsulationTrailer::address | ( | ) | [inline] |
Definition at line 48 of file TunnelEncaps.hh.
References byteOffset().
Referenced by Groupsock::outputToAllMembersExcept().
00049 { return *(u_int32_t*)byteOffset(4); }
| Port& TunnelEncapsulationTrailer::port | ( | ) | [inline] |
Definition at line 50 of file TunnelEncaps.hh.
References byteOffset().
Referenced by Groupsock::outputToAllMembersExcept().
00051 { return *(Port*)byteOffset(8); }
| u_int8_t& TunnelEncapsulationTrailer::ttl | ( | ) | [inline] |
Definition at line 52 of file TunnelEncaps.hh.
References byteOffset().
Referenced by Groupsock::outputToAllMembersExcept().
00053 { return *(u_int8_t*)byteOffset(10); }
| u_int8_t& TunnelEncapsulationTrailer::command | ( | ) | [inline] |
Definition at line 54 of file TunnelEncaps.hh.
References byteOffset().
Referenced by Groupsock::outputToAllMembersExcept().
00055 { return *(u_int8_t*)byteOffset(11); }
| u_int32_t& TunnelEncapsulationTrailer::auxAddress | ( | ) | [inline] |
Definition at line 57 of file TunnelEncaps.hh.
References byteOffset().
Referenced by Groupsock::outputToAllMembersExcept().
00058 { return *(u_int32_t*)byteOffset(-4); }
| char* TunnelEncapsulationTrailer::byteOffset | ( | int | charIndex | ) | [inline, private] |
Definition at line 61 of file TunnelEncaps.hh.
Referenced by address(), auxAddress(), command(), dstCookie(), port(), srcCookie(), and ttl().
1.5.2