|
INET Framework for OMNeT++/OMNEST
|
#include <ctype.h>#include <functional>#include <stdio.h>#include "inet/networklayer/contract/ipv4/IPv4Address.h"#include "inet/networklayer/common/L3AddressResolver.h"Classes | |
| struct | inet::ospf::AuthenticationKeyType |
| struct | inet::ospf::IPv4AddressRange |
| struct | inet::ospf::HostRouteParameters |
| struct | inet::ospf::LSAKeyType |
| class | inet::ospf::LSAKeyType_Less |
| struct | inet::ospf::DesignatedRouterID |
Namespaces | |
| inet | |
| Copyright (c) 2005 Jan Ringo�, www.ringos.cz. | |
| inet::ospf | |
Macros | |
| #define | LS_REFRESH_TIME 1800 |
| #define | MIN_LS_INTERVAL 5 |
| #define | MIN_LS_ARRIVAL 1 |
| #define | MAX_AGE 3600 |
| #define | CHECK_AGE 300 |
| #define | MAX_AGE_DIFF 900 |
| #define | LS_INFINITY 16777215 |
| #define | DEFAULT_DESTINATION_ADDRESS 0 |
| #define | DEFAULT_DESTINATION_MASK 0 |
| #define | INITIAL_SEQUENCE_NUMBER -2147483647 |
| #define | MAX_SEQUENCE_NUMBER 2147483647 |
| #define | VIRTUAL_LINK_TTL 32 |
| #define | IPV4_DATAGRAM_LENGTH 65536 |
| #define | OSPF_HEADER_LENGTH 24 |
| #define | OSPF_LSA_HEADER_LENGTH 20 |
| #define | OSPF_HELLO_HEADER_LENGTH 20 |
| #define | OSPF_DD_HEADER_LENGTH 8 |
| #define | OSPF_REQUEST_LENGTH 12 |
| #define | OSPF_ROUTERLSA_HEADER_LENGTH 4 |
| #define | OSPF_LINK_HEADER_LENGTH 12 |
| #define | OSPF_TOS_LENGTH 4 |
| #define | OSPF_NETWORKLSA_MASK_LENGTH 4 |
| #define | OSPF_NETWORKLSA_ADDRESS_LENGTH 4 |
| #define | OSPF_SUMMARYLSA_HEADER_LENGTH 8 |
| #define | OSPF_ASEXTERNALLSA_HEADER_LENGTH 16 |
| #define | OSPF_ASEXTERNALLSA_TOS_INFO_LENGTH 12 |
| #define | OSPF_EXTERNAL_ROUTES_LEARNED_BY_BGP 179 |
| #define | OSPF_BGP_DEFAULT_COST 1 |
Typedefs | |
| typedef unsigned long | inet::ospf::Metric |
| typedef IPv4Address | inet::ospf::RouterID |
| typedef IPv4Address | inet::ospf::AreaID |
| typedef IPv4Address | inet::ospf::LinkStateID |
Enumerations | |
| enum | inet::ospf::AuthenticationType { inet::ospf::NULL_TYPE = 0, inet::ospf::SIMPLE_PASSWORD_TYPE = 1, inet::ospf::CRYTOGRAPHIC_TYPE = 2 } |
Functions | |
| const RouterID | inet::ospf::NULL_ROUTERID (0, 0, 0, 0) |
| const AreaID | inet::ospf::BACKBONE_AREAID (0, 0, 0, 0) |
| const LinkStateID | inet::ospf::NULL_LINKSTATEID (0, 0, 0, 0) |
| const IPv4Address | inet::ospf::NULL_IPV4ADDRESS (0, 0, 0, 0) |
| const IPv4AddressRange | inet::ospf::NULL_IPV4ADDRESSRANGE (IPv4Address(0, 0, 0, 0), IPv4Address(0, 0, 0, 0)) |
| IPv4Address | inet::ospf::operator& (IPv4Address address, IPv4Address mask) |
| IPv4Address | inet::ospf::operator| (IPv4Address address, IPv4Address match) |
| bool | inet::ospf::isSameNetwork (IPv4Address address1, IPv4Address mask1, IPv4Address address2, IPv4Address mask2) |
| bool | inet::ospf::operator== (DesignatedRouterID leftID, DesignatedRouterID rightID) |
| bool | inet::ospf::operator!= (DesignatedRouterID leftID, DesignatedRouterID rightID) |
| IPv4Address | inet::ospf::ipv4AddressFromAddressString (const char *charForm) |
| IPv4Address | inet::ospf::ipv4NetmaskFromAddressString (const char *charForm) |
| char | inet::ospf::hexCharToByte (char hex) |
| char | inet::ospf::hexPairToByte (char upperHex, char lowerHex) |
Variables | |
| const DesignatedRouterID | inet::ospf::NULL_DESIGNATEDROUTERID |
| #define CHECK_AGE 300 |
Referenced by inet::ospf::Area::ageDatabase(), and inet::ospf::Router::ageDatabase().
| #define DEFAULT_DESTINATION_ADDRESS 0 |
| #define DEFAULT_DESTINATION_MASK 0 |
| #define INITIAL_SEQUENCE_NUMBER -2147483647 |
Referenced by inet::ospf::Area::ageDatabase(), inet::ospf::Router::ageDatabase(), inet::ospf::Area::getUniqueLinkStateID(), inet::ospf::Router::getUniqueLinkStateID(), inet::ospf::Router::originateASExternalLSA(), inet::ospf::Area::originateNetworkLSA(), inet::ospf::Area::originateRouterLSA(), inet::ospf::Area::originateSummaryLSA(), and inet::ospf::Router::updateExternalRoute().
| #define IPV4_DATAGRAM_LENGTH 65536 |
| #define LS_INFINITY 16777215 |
| #define LS_REFRESH_TIME 1800 |
Referenced by inet::ospf::Area::ageDatabase(), and inet::ospf::Router::ageDatabase().
| #define MAX_AGE 3600 |
Referenced by inet::ospf::Area::ageDatabase(), inet::ospf::Router::ageDatabase(), inet::ospf::Area::calculateInterAreaRoutes(), inet::ospf::Area::calculateShortestPathTree(), inet::ospf::InterfaceState::changeState(), inet::ospf::NeighborState::changeState(), inet::ospf::Neighbor::createDatabaseSummary(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::RouterLSA::differsFrom(), inet::ospf::NetworkLSA::differsFrom(), inet::ospf::SummaryLSA::differsFrom(), inet::ospf::ASExternalLSA::differsFrom(), inet::ospf::Router::getPreferredEntry(), inet::ospf::Router::installASExternalLSA(), inet::ospf::Router::notifyAboutRoutingTableChanges(), inet::ospf::operator<(), inet::ospf::operator==(), inet::ospf::HelloHandler::processPacket(), inet::ospf::LinkStateUpdateHandler::processPacket(), inet::ospf::Area::recheckSummaryLSAs(), inet::ospf::Router::removeExternalRoute(), and inet::ospf::Neighbor::retransmitUpdatePacket().
| #define MAX_AGE_DIFF 900 |
Referenced by inet::ospf::operator<(), and inet::ospf::operator==().
| #define MAX_SEQUENCE_NUMBER 2147483647 |
Referenced by inet::ospf::Area::ageDatabase(), inet::ospf::Router::ageDatabase(), inet::ospf::InterfaceState::changeState(), inet::ospf::NeighborState::changeState(), inet::ospf::Area::getUniqueLinkStateID(), inet::ospf::Router::getUniqueLinkStateID(), inet::ospf::HelloHandler::processPacket(), and inet::ospf::LinkStateUpdateHandler::processPacket().
| #define MIN_LS_ARRIVAL 1 |
| #define MIN_LS_INTERVAL 5 |
| #define OSPF_ASEXTERNALLSA_HEADER_LENGTH 16 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_ASEXTERNALLSA_TOS_INFO_LENGTH 12 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_BGP_DEFAULT_COST 1 |
| #define OSPF_DD_HEADER_LENGTH 8 |
Referenced by inet::ospf::Neighbor::sendDatabaseDescriptionPacket().
| #define OSPF_EXTERNAL_ROUTES_LEARNED_BY_BGP 179 |
| #define OSPF_HEADER_LENGTH 24 |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::createUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Interface::sendHelloPacket(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().
| #define OSPF_HELLO_HEADER_LENGTH 20 |
Referenced by inet::ospf::Interface::sendHelloPacket().
| #define OSPF_LINK_HEADER_LENGTH 12 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_LSA_HEADER_LENGTH 20 |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::calculateLSASize(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), and inet::ospf::Interface::sendLSAcknowledgement().
| #define OSPF_NETWORKLSA_ADDRESS_LENGTH 4 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_NETWORKLSA_MASK_LENGTH 4 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_REQUEST_LENGTH 12 |
Referenced by inet::ospf::Neighbor::sendLinkStateRequestPacket().
| #define OSPF_ROUTERLSA_HEADER_LENGTH 4 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_SUMMARYLSA_HEADER_LENGTH 8 |
Referenced by inet::ospf::calculateLSASize().
| #define OSPF_TOS_LENGTH 4 |
Referenced by inet::ospf::calculateLSASize().
| #define VIRTUAL_LINK_TTL 32 |
Referenced by inet::ospf::LinkStateUpdateHandler::acknowledgeLSA(), inet::ospf::Interface::floodLSA(), inet::ospf::InterfaceStateDesignatedRouter::processEvent(), inet::ospf::InterfaceStatePointToPoint::processEvent(), inet::ospf::InterfaceStateWaiting::processEvent(), inet::ospf::InterfaceStateBackup::processEvent(), inet::ospf::NeighborStateDown::processEvent(), inet::ospf::LinkStateRequestHandler::processPacket(), inet::ospf::LinkStateUpdateHandler::processPacket(), inet::ospf::Neighbor::retransmitDatabaseDescriptionPacket(), inet::ospf::Neighbor::retransmitUpdatePacket(), inet::ospf::Neighbor::sendDatabaseDescriptionPacket(), inet::ospf::Interface::sendDelayedAcknowledgements(), inet::ospf::Neighbor::sendLinkStateRequestPacket(), and inet::ospf::Interface::sendLSAcknowledgement().