Net::F...nreach(3pm)
π Net::Frame::Layer::ICMPv6::DestUnreach β the manual page, but make it a group chat π
okay so bestie, you found the page for Net::F...nreach(3pm) β that's the truncated little nickname for Net::Frame::Layer::ICMPv6::DestUnreach, living in the User Contributed Perl Documentation section. she's an ICMPv6 DestUnreach type object and she's lowkey iconic. let's get into it π
β¨ NAME β¨
Net::Frame::Layer::ICMPv6::DestUnreach β the ICMPv6 DestUnreach type object. that's her. that's the whole name. no notes π«Ά
πΈ SYNOPSIS πΈ
here's the vibe, literally just copy-paste energy:
use Net::Frame::Layer::ICMPv6::DestUnreach;
my $layer = Net::Frame::Layer::ICMPv6::DestUnreach->new(
unused => 0,
payload => '',
);
$layer->pack;
print 'RAW: '.$layer->dump."\n";
# Read a raw layer
my $layer = Net::Frame::Layer::ICMPv6::DestUnreach->new(raw => $raw);
print $layer->print."\n";
print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n"
if $layer->payload;
see how easy? make a layer, pack it, dump it, print it, boom. and if you already have raw bytes lying around, you can just hand them over with raw => $raw and she'll decode them for you. main character behavior fr fr π
π¦ DESCRIPTION π¦
so like, this module does the encoding and decoding of the ICMPv6 DestUnreach object. that's it, that's the job, and she does it flawlessly. no cap.
also hiiii, go check out Net::Frame::Layer for the other attributes and methods, because a lot of what you get here is inherited from there. iykyk π
π ATTRIBUTES π
unused
the zero value field. she's literally zero. she's there, she's zero, she's doing her part β¨
the following are inherited attributes, so go read Net::Frame::Layer for the full tea:
rawpayloadnextLayer
π METHODS π
new
new (hash)
the object constructor, bestie. you can pass in attributes and they'll overwrite the default ones. peep the SYNOPSIS above for what the default values look like π
the following are inherited methods. some of them may be overridden in this layer, and some others may not be meaningful in this layer at all β so like, don't come for her if one of them doesn't do anything cute here. go read Net::Frame::Layer for more info:
layercomputeLengthscomputeChecksumspackunpackencapsulategetLengthgetPayloadLengthprintdump
π CONSTANTS π
No constants here.
that's it. nothing. empty. a whole lot of nothing. she said "no constants" and meant it π
π SEE ALSO π
go look at these next, they're the family:
- Net::Frame::Layer::ICMPv6
- Net::Frame::Layer
π AUTHOR π
Patrice <GomoR> Auffret
π§ COPYRIGHT AND LICENSE π§
Copyright (c) 2006-2019, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
and that's the whole page, bestie!! π«Ά this one came from perl v5.30.0 and was dated 2019-12-26, and yeah the page header/footer just calls her Net::F...nreach(3pm) because even man pages gotta truncate sometimes π love that for her. slay, go write some ICMPv6 β¨π
π¦ 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