NAME
Net::Frame::Layer::IGMP::v3Query - IGMP version 3 Query Message
SYNOPSIS
use Net::Frame::Simple;
use Net::Frame::Layer::IGMP qw(:consts);
my $layer = Net::Frame::Layer::IGMP::v3Query->new(
resv => 0,
sFlag => 0,
qrv => 2,
qqic => 125,
numSources => 0,
sourceAddress => [],
);
#
# Read a raw layer
#
my $layer = Net::Frame::Layer::IGMP::v3Query->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 IGMP version 3 Query message.
RFC: ftp://ftp.rfc-editor.org/in-notes/rfc3376.txt
See also Net::Frame::Layer for other attributes and methods.
ATTRIBUTES
- resv
-
Reserved.
- sFlag
-
Suppress router-side processing.
- qrv
-
Querier's robustness variable.
- qqic
-
Querier's query interval code.
- numSources
-
Number of sources present in query.
- sourceAddress
-
Array of numSources IP unicast addresses.
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
AUTHOR
Michael Vincent
COPYRIGHT AND LICENSE
Copyright (c) 2013, Michael Vincent
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.