class Protocol

Routing protocol information. More...

Definition#include <protocol.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Protocol holds information related to a specific routing protocol that is supplying information to the RIB.

 Protocol (string name, int proto_type, int genid)

Protocol

Protocol constuctor

Parameters:
namethe canonical name for the routing protocol.
proto_typeeither IGP or EGP
genidthe generation id for the protocol (if the protocol goes down and comes up, the genid should be incremented).

int  proto_type ()

proto_type

[const]

Returns: the protocol type: either IGP or EGP

const string&  name ()

name

[const]

Returns: the canonical name of the routing protocol

void  increment_genid ()

increment_genid


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:35:00 2003, using kdoc 2.0a54+XORP.