[−][src]Crate ospf_parser
OSPFv2 and OSPFv3 Parser
A parser for the Open Shortest Path First version 2 (OSPFv2) and OSPF for IPv6 (also known as OSPFv3) routing protocols, implemented with the nom parser combinator framework in pure Rust.
The code is available on Github and is part of the Rusticata project.
Re-exports
pub extern crate nom; |
Structs
OspfASExternalLinkAdvertisement | AS external link advertisements |
OspfDatabaseDescriptionPacket | The Database Description packet |
OspfExternalTosRoute | |
OspfHelloPacket | The Hello packet |
OspfHellov3Packet | The Hello packet (v3) |
OspfLinkStateAcknowledgmentPacket | The Link State Acknowledgment packet |
OspfLinkStateAdvertisementHeader | The Link State Advertisement header |
OspfLinkStateRequest | |
OspfLinkStateRequestPacket | The Link State Request packet |
OspfLinkStateType | |
OspfLinkStateUpdatePacket | The Link State Update packet |
OspfNSSAExternalLinkAdvertisement | NSSA AS-External LSA (type 7, rfc1587, rfc3101) |
OspfNetworkLinksAdvertisement | Network links advertisements |
OspfOpaqueLinkAdvertisement | The Opaque LSA (RFC5250) |
OspfPacketType | |
OspfRouterLink | OSPF router link (i.e., interface) |
OspfRouterLinkType | |
OspfRouterLinksAdvertisement | Router links advertisements |
OspfRouterTOS | OSPF Router Type Of Service (TOS) |
OspfSummaryLinkAdvertisement | Summary link advertisements |
OspfTosRoute | |
Ospfv2PacketHeader | The OSPF packet header |
Ospfv3ASExternalLSA | AS-External-LSAs |
Ospfv3DatabaseDescriptionPacket | The Database Description packet (v3) |
Ospfv3IPv6AddressPrefix | |
Ospfv3InterAreaPrefixLSA | Inter-Area-Prefix-LSAs (v3) |
Ospfv3InterAreaRouterLSA | Inter-Area-Router-LSAs (v3) |
Ospfv3IntraAreaPrefixLSA | Intra-Area-Prefix-LSAs |
Ospfv3LinkLSA | Link-LSAs |
Ospfv3LinkStateAcknowledgmentPacket | The Link State Acknowledgment packet |
Ospfv3LinkStateAdvertisementHeader | The Link State Advertisement header |
Ospfv3LinkStateRequestPacket | The Link State Request packet (v3) |
Ospfv3LinkStateType | |
Ospfv3LinkStateUpdatePacket | The Link State Update packet |
Ospfv3NetworkLSA | Network links advertisements (v3) |
Ospfv3PacketHeader | The OSPF v3 packet header |
Ospfv3RouterLSA | Router links advertisements (v3) |
Ospfv3RouterLink | OSPF router link (i.e., interface) |
Ospfv3RouterLinkType |
Enums
OspfLinkStateAdvertisement | Link state advertisements |
Ospfv2Packet | An OSPF version 2 packet |
Ospfv3LinkStateAdvertisement | Link state advertisements (v3) |
Ospfv3Packet | An OSPF version 3 packet |
Functions
parse_ospfv2_database_description_packet | |
parse_ospfv2_hello_packet | |
parse_ospfv2_link_state_request_packet | |
parse_ospfv2_packet | |
parse_ospfv2_packet_header | |
parse_ospfv3_packet |
Type Definitions
IResult | Holds the result of parsing functions |