Expand description
NLRI prefix types and codec (IPv4, IPv6, Add-Path).
Structs§
- Ipv4
Nlri Entry - An IPv4 NLRI entry with an optional Add-Path path ID (RFC 7911).
- Ipv4
Prefix - An IPv4 prefix (network address + prefix length).
- Ipv6
Prefix - An IPv6 prefix (network address + prefix length).
- Nlri
Entry - A generic NLRI entry (IPv4 or IPv6) with an optional Add-Path path ID.
Enums§
- Prefix
- A prefix that can be either IPv4 or IPv6.
Functions§
- decode_
ipv6_ nlri - Decode a sequence of IPv6 NLRI prefixes from wire format.
- decode_
ipv6_ nlri_ addpath - Decode a sequence of Add-Path IPv6 NLRI entries (RFC 7911 §3).
- decode_
nlri - Decode a sequence of NLRI prefixes from wire format (RFC 4271 §4.3).
- decode_
nlri_ addpath - Decode a sequence of Add-Path IPv4 NLRI entries (RFC 7911 §3).
- decode_
nlri_ addpath_ generic - Decode Add-Path IPv4 NLRI entries into generic
NlriEntry(forMP_REACH/MP_UNREACH). - encode_
ipv6_ nlri - Encode a sequence of IPv6 NLRI prefixes into wire format.
- encode_
ipv6_ nlri_ addpath - Encode a sequence of Add-Path IPv6 NLRI entries into wire format.
- encode_
nlri - Encode a sequence of NLRI prefixes into wire format.
- encode_
nlri_ addpath - Encode a sequence of Add-Path IPv4 NLRI entries into wire format.