Net::F...:TooBig(3pm)
π Net::F...:TooBig β the ICMPv6 TooBig type object bestie π
okay so this page lives in the User Contributed Perl Documentation section of your manual (the 3pm kind, you know the vibe), and it's all about one very specific little layer: the ICMPv6 TooBig type object. yes. it's giving "packet too big for this link, bestie, please frag". let's get into it π¦
β¨ NAME β¨
Net::Frame::Layer::ICMPv6::TooBig β the ICMPv6 TooBig type object. that's it, that's the whole job description π
πΈ SYNOPSIS πΈ
here's the whole thing in action, no cap:
use Net::Frame::Layer::ICMPv6::TooBig;
my $layer = Net::Frame::Layer::ICMPv6::TooBig->new(
mtu => 0,
payload => '',
);
$layer->pack;
print 'RAW: '.$layer->dump."\n";
# Read a raw layer
my $layer = Net::Frame::Layer::ICMPv6::TooBig->new(raw => $raw);
print $layer->print."\n";
print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n"
if $layer->payload;
likeβ¦ you either build one from scratch and pack it, or you hand it some raw bytes and it decodes them for you. both paths ate, honestly π
π DESCRIPTION π
this module implements the encoding and decoding of the ICMPv6 TooBig object. that's the whole main character arc right there.
also, go peek at Net::Frame::Layer for the other attributes and methods β it's the parent that's carrying all the extra lore. iykyk.
π ATTRIBUTES π
mtuβ Maximum Transmission Unit of the next-hop link. it's literally how big the next hop is willing to go before it starts complaining. π
the following are the inherited attributes, so don't come for this module, they're family traits. see Net::Frame::Layer for more info:
rawpayloadnextLayer
π₯ METHODS π₯
new
new (hash)
Object constructor. π«Ά you can pass attributes and they'll overwrite the default ones β so rude, so iconic. see SYNOPSIS for the default values, they're right up there.
the following are inherited methods. some of them may be overridden in this layer, and some others may not be meaningful in this layer (yeah, they're just along for the ride, don't judge them). see Net::Frame::Layer for more information:
layercomputeLengthscomputeChecksumspackunpackencapsulategetLengthgetPayloadLengthprintdump
β CONSTANTS β
No constants here. truly nothing. the void. empty. a clean girl aesthetic. β¨
π SEE ALSO π
Net::Frame::Layer::ICMPv6Net::Frame::Layer
go read them, bestie, they're the rest of the friend group π
π AUTHOR π
Patrice <GomoR> Auffret β absolute legend, we stan.
π 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. read the license fr fr, it's the rules π
and that's a wrap, babes π§ this whole page was documented by perl v5.30.0 and dated 2019-12-26, and the manual page it lives in is Net::F...:TooBig(3pm) β yes the name got truncated in the header, we don't talk about it π 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