NAME
Net::Frame::Layer::ICMPv6::MLD::Report - Multicast Listener Discovery layer object
SYNOPSIS
use Net::Frame::Simple;
use Net::Frame::Layer::ICMPv6::MLD qw(:consts);
# v2 Report
my $layer = Net::Frame::Layer::ICMPv6::MLD::Report->new(
reserved => 0,
numGroupRecs => 0,
);
#
# Read a raw layer
#
my $layer = Net::Frame::Layer::ICMPv6::MLD::Report->new(raw => $raw);
print $layer->print."\n";
print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n"
if $layer->payload;
DESCRIPTION
This modules implements the encoding and decoding of the MLD layer.
RFC: ftp://ftp.rfc-editor.org/in-notes/rfc3810.txt
See also Net::Frame::Layer for other attributes and methods.
ATTRIBUTES
- reserved
-
Ignored - set to 0.
- numGroupRecs
-
How many multicast address records are present in this report.
The following are inherited attributes. See Net::Frame::Layer for more information.
- raw
- payload
- nextLayer
METHODS
- new
- new (hash)
-
Object constructor. You can pass attributes that will overwrite default ones. See SYNOPSIS for default values.
The following are inherited methods. Some of them may be overriden in this layer, and some others may not be meaningful in this layer. See Net::Frame::Layer for more information.
- layer
- computeLengths
- pack
- unpack
- encapsulate
- getLength
- getPayloadLength
- dump
SEE ALSO
Net::Frame::Layer, Net::Frame::Layer::ICMPv6
AUTHOR
Michael Vincent
COPYRIGHT AND LICENSE
Copyright (c) 2017, Michael Vincent
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.