Capabilities
NAME
Net::BGP::Parameter::Capabilities - BGP Capabilities Parameter
SYNOPSIS
# We create capabilities parameters using the parent class.
use Net::BGP::Parameter;
my $msg = Net::BGP::Parameter.from-raw( $raw );
DESCRIPTION
Capabilities BGP parameter type
Constructors
from-raw
Constructs a new object for a given raw binary buffer.
from-hash
Allows a Capabilities parameter to be built from a hash. The hash should
contain only parameter-value
.
Methods
parameter-name
Returns a string that describes what parameter type the command represents,
which is always Capabilities
.
parameter-code
Contains an integer that corresponds to the parameter-name
, a value of 2
.
parameter-length
Returns an integer that corresponds to the parameter value's length.
parameter-value
Returns a buffer that corresponds to the parameter value.
raw
Contains the raw (wire format) data for this parameter.
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright © 2018-2020 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.