Multicast Routing Modelling In OMNeT++
Classes | Typedefs | Enumerations
MulticastIPRoute.h File Reference

File contains implementation of multicast route. More...

#include <omnetpp.h>
#include "IPAddress.h"
#include "InterfaceEntry.h"
#include "PIMTimer_m.h"

Go to the source code of this file.

Classes

struct  inInterface
 Structure of incoming interface. More...
struct  outInterface
 Structure of outgoing interface. More...
class  MulticastIPRoute
 Class represents one entry of MulticastRoutingTable. More...

Typedefs

typedef std::vector< outInterfaceInterfaceVector

Enumerations

enum  flag {
  D, S, C, P,
  A
}
enum  intState { Densemode = 1, Sparsemode = 2, Forward, Pruned }
enum  AssertState { NoInfo = 0, Winner = 1, Loser = 2 }

Detailed Description

File contains implementation of multicast route.

Author:
Veronika Rybova
Date:
10.10.2011

Definition in file MulticastIPRoute.h.


Class Documentation

struct inInterface

Structure of incoming interface.

E.g.: GigabitEthernet1/4, RPF nbr 10.10.51.145

Definition at line 53 of file MulticastIPRoute.h.

Class Members
InterfaceEntry * intPtr Pointer to interface
int intId Interface ID
IPAddress nextHop RF neighbor
struct outInterface

Structure of outgoing interface.

E.g.: Ethernet0, Forward/Sparse, 5:29:15/0:02:57

Definition at line 64 of file MulticastIPRoute.h.

Class Members
InterfaceEntry * intPtr Pointer to interface
int intId Interface ID
intState forwarding Forward or Pruned
intState mode Dense, Sparse, ...
PIMpt * pruneTimer Pointer to PIM Prune Timer
AssertState assert Assert state.

Typedef Documentation

typedef std::vector<outInterface> InterfaceVector

Vector of outgoing interfaces.

Definition at line 77 of file MulticastIPRoute.h.


Enumeration Type Documentation

enum flag

Route flags. Added to each route.

Enumerator:
D 

Dense

S 

Sparse

C 

Connected

P 

Pruned

A 

Source is directly connected

Definition at line 19 of file MulticastIPRoute.h.

{
        D,                              
        S,                              
        C,                              
        P,                              
        A                               
};
enum intState

States of each outgoing interface. E.g.: Forward/Dense.

Definition at line 31 of file MulticastIPRoute.h.

{
        Densemode = 1,
        Sparsemode = 2,
        Forward,
        Pruned
};

Assert States of each outgoing interface.

Definition at line 42 of file MulticastIPRoute.h.

{
        NoInfo = 0,
        Winner = 1,
        Loser = 2
};