Categorygithub.com/mdlayher/ospf3
modulepackage
0.0.0-20210202181236-684ef0b70007
Repository: https://github.com/mdlayher/ospf3.git
Documentation: pkg.go.dev

# README

ospf3 Test Status Go Reference Go Report Card

Package ospf3 implements OSPFv3 (OSPF for IPv6) as described in RFC5340. MIT Licensed.

# Functions

Listen creates a *Conn using the specified network interface.
MarshalPacket turns a Packet into OSPFv3 packet bytes.
ParsePacket parses an OSPFv3 Header and trailing Packet from bytes.

# Constants

Possible OSPFv3 options bits.
Possible FloodingScope values.
Possible LSType values.
Possible FloodingScope values.
Possible OSPFv3 options bits.
Possible OSPFv3 options bits.
Possible OSPFv3 options bits.
Possible DDFlags values.
Possible LSType values.
Possible LSType values.
Possible LSType values.
Possible OSPFv3 options bits.
Possible FloodingScope values.
Possible LSType values.
Possible DDFlags values.
Possible DDFlags values.
Possible OSPFv3 options bits.
Possible LSType values.
Possible LSType values.
Possible OSPFv3 options bits.
Possible LSType values.
Possible OSPFv3 options bits.

# Variables

AllDRouters is the IPv6 multicast group address that the Designated Router and Backup Designated Router running OSPFv3 must participate in.
AllSPFRouters is the IPv6 multicast group address that all routers running OSPFv3 should participate in.

# Structs

A Conn can send and receive OSPFv3 packets which implement the Packet interface.
A DatabaseDescription is an OSPFv3 Database Description packet as described in RFC5340, appendix A.3.3.
A Header is the OSPFv3 packet header as described in RFC5340, appendix A.3.1.
A Hello is an OSPFv3 Hello packet as described in RFC5340, appendix A.3.2.
A LinkStateAcknowledgement is an OSPFv3 Link State Acknowledgement packet as described in RFC5340, appendix A.3.6.
A LinkStateRequest is an OSPFv3 Link State Request packet as described in RFC5340, appendix A.3.4.
An LSA is an OSPFv3 Link State Advertisement as described in RFC5340, section 4.4.
An LSAHeader is an OSPFv3 Link State Advertisement header as described in RFC5340, appendix A.4.2.

# Interfaces

A Packet is an OSPFv3 packet.

# Type aliases

DDFlags are flags which may appear in an OSPFv3 Database Description packet as described in RFC5340, appendix A.3.3.
A FloodingScope is an OSPFv3 LSA flooding scope as described in RFC 5340, appendix A.4.2.1.
An ID is a four byte identifier typically used for OSPFv3 router and/or area IDs in a dotted-decimal IPv4 format.
An LSType is the type of an OSPFv3 Link State Advertisement as described in RFC5340, appendix A.4.2.1.
Options is a bitmask of OSPFv3 options as described in RFC5340, appendix A.2.