Skip to main content

decode_capability_value

Function decode_capability_value 

Source
pub fn decode_capability_value(raw: &[u8]) -> Option<Vec<OrfCapEntry>>
Expand description

Decode the ORF capability value. Returns None on a structural error or an unrecognized AFI/SAFI, so the caller can preserve the capability as Capability::Unknown for a lossless round-trip (mirroring Add-Path).