Net::F...6::Echo(3pm)
π Net::Frame::Layer::ICMPv6::Echo β the manual page, but make it a vibe
okay bestie, you found the docs for Net::Frame::Layer::ICMPv6::Echo from the User Contributed Perl Documentation section (3pm, obviously π
). It's the ICMPv6 Echo type object, and it's genuinely not that deep β let's get into it π¦
β¨ NAME β¨
Net::Frame::Layer::ICMPv6::Echo β it's an ICMPv6 Echo type object. that's the whole name. that's the whole vibe. periodt π
πΈ SYNOPSIS πΈ
here's how you actually use it, copy-paste friendly, no gatekeeping:
use Net::Frame::Layer::ICMPv6::Echo;
my $layer = Net::Frame::Layer::ICMPv6::Echo->new(
identifier => getRandom16bitsInt(),
sequenceNumber => getRandom16bitsInt(),
payload => '',
);
$layer->pack;
print 'RAW: '.$layer->dump."\n";
# Read a raw layer
my $layer = Net::Frame::Layer::ICMPv6::Echo->new(raw => $raw);
print $layer->print."\n";
print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n"
if $layer->payload;
look at you go, constructing layers and dumping raw bytes like the main character you are π₯
π DESCRIPTION π
so this module does the encoding and decoding of the ICMPv6 Echo object. both directions, no cap. it's giving "I handle my own business" energy β¨
also: peep Net::Frame::Layer for other attributes and methods β that's your bestie module right there π«Ά
π ATTRIBUTES π
identifierβ the identification number. yeah. that one. πsequenceNumberβ the sequence number. iconic. π
and then there's the inherited squad β these come from elsewhere, so check Net::Frame::Layer for the full tea:
rawpayloadnextLayer
π METHODS π
new
new (hash)
Object constructor, obviously. you can pass attributes in and they'll overwrite the default ones β so if the defaults aren't your thing, just say so. check SYNOPSIS above for what the default values actually are π
and now the inherited methods. heads up: some of these might be overridden in this layer, and some of them might not even be meaningful here. it's not a bug, it's just how inheritance works, bestie π
layercomputeLengthscomputeChecksumspackunpackencapsulategetLengthgetPayloadLengthprintdump
Net::Frame::Layer has the full lore on all of those π
β CONSTANTS β
No constants here.
that's it. that's the section. empty. nothing. a whole vibe of absence π
π SEE ALSO π
go read these too, they're the extended universe:
Net::Frame::Layer::ICMPv6Net::Frame::Layer
π§ AUTHOR π§
Patrice <GomoR> Auffret β the icon, the legend, the moment π
π COPYRIGHT AND LICENSE π
Copyright (c) 2006-2019, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See the LICENSE.Artistic file in the source distribution archive for the full legal situation, bestie β read it, it's good for you π«Ά
and that's the whole page!! you made it to the end, so here's the sign-off: this little doc dropped as part of perl v5.30.0, dated 2019-12-26 πΈ slay, go write some ICMPv6 packets, and remember β pack before you print. mwah π
π¦ where this page comes from
- debian bookworm: libnet-frame-layer-icmpv6-perl 1.11-1 Β· Artistic-1.0-Perl
- debian trixie: libnet-frame-layer-icmpv6-perl 1.11-1 Β· Artistic-1.0-Perl
- ubuntu jammy: libnet-frame-layer-icmpv6-perl 1.11-1 Β· Artistic-1.0-Perl
- ubuntu noble: libnet-frame-layer-icmpv6-perl 1.11-1 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms