Crate ospf_parser[][src]

Expand description

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

AS external link advertisements

The Database Description packet

The Hello packet

The Hello packet (v3)

The Link State Acknowledgment packet

The Link State Advertisement header

The Link State Request packet

The Link State Update packet

NSSA AS-External LSA (type 7, rfc1587, rfc3101)

Network links advertisements

The Opaque LSA (RFC5250)

OSPF router link (i.e., interface)

Router links advertisements

OSPF Router Type Of Service (TOS)

Summary link advertisements

The OSPF packet header

AS-External-LSAs

The Database Description packet (v3)

Inter-Area-Prefix-LSAs (v3)

Inter-Area-Router-LSAs (v3)

Intra-Area-Prefix-LSAs

Link-LSAs

The Link State Acknowledgment packet

The Link State Advertisement header

The Link State Request packet (v3)

The Link State Update packet

Network links advertisements (v3)

The OSPF v3 packet header

Router links advertisements (v3)

OSPF router link (i.e., interface)

Enums

Link state advertisements

An OSPF version 2 packet

Link state advertisements (v3)

An OSPF version 3 packet

Functions

Type Definitions

Holds the result of parsing functions