Net::F...6::Echo(3pm)

πŸ“¦
version 1.11 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ‘‘ 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:

  • raw
  • payload
  • nextLayer

πŸ’… 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 😭

  • layer
  • computeLengths
  • computeChecksums
  • pack
  • unpack
  • encapsulate
  • getLength
  • getPayloadLength
  • print
  • dump

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::ICMPv6
  • Net::Frame::Layer

🧚 AUTHOR 🧚

Patrice <GomoR> Auffret β€” the icon, the legend, the moment πŸ’–


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 πŸ’‹