ASN32
NAME
Net::BGP::Message::Capability::ASN32 - BGP Four Octet ASN Capability Object
SYNOPSIS
use Net::BGP::Capability::ASN32;
my $cap = Net::BGP::Capability::ASN32.from-raw( $raw );
# or …
my $cap = Net::BGP::Capability::ASN32.from-hash( %{ asn => 65550 } );
DESCRIPTION
BGP Four Octet ASN Capability Object
Constructors
from-raw
Constructs a new object for a given raw binary buffer.
from-hash
Constructs a new object for a given hash. This parent class looks only for
the key of capability-code
and cvalue
. Capability code should represent
the desired capability code. Value should be a buf8
containing the payload
data (value
in RFC standards).
Methods
asn
ASN present in the capability object.
capability-code
Capability code of the object.
capability-name
The capability name of the object.
raw
Returns the raw (wire format) data for this capability.
payload
The raw byte buffer (buf8
) corresponding to the RFC definition of value
.
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright © 2018-2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.