FQDN
NAME
Net::BGP::Message::Capability::FQDN - BGP FQDN Capability Object
SYNOPSIS
use Net::BGP::Capability::FQDN;
my $cap = Net::BGP::Capability::FQDN.from-raw( $raw );
# or …
my $cap = Net::BGP::Capability::FQDN.from-hash(
%{ hostname => 'foo', domain => 'example.com' }
);
DESCRIPTION
BGP FQDN 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 class looks only for
capability-code
, hostname
, and domain
. Capability code should represent
the desired capability code (73). Hostname and domain should be a string
containing the payload data.
Methods
capability-code
Capability code of the object.
capability-name
The capability name of the object.
hostname
The hostname of the object.
domain
The domain 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 © 2020 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.