Net::F...Problem(3pm)

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

πŸ’– NAME πŸ’–

ok so bestie, meet Net::Frame::Layer::ICMPv6::ParameterProblem β€” it's the ICMPv6 ParameterProblem type object from the Net::Frame::Layer::ICMPv6 fam. she's the one who shows up when a router is like "umm excuse me, something in your packet was Not It" 🫢

This page lives in the User Contributed Perl Documentation section, and yeah the man name gets truncated to Net::F...Problem(3pm) because Unix is dramatic like that πŸ’…


✨ SYNOPSIS ✨

okok here's the whole vibe, copy-paste ready:

use Net::Frame::Layer::ICMPv6::ParameterProblem;

my $layer = Net::Frame::Layer::ICMPv6::ParameterProblem->new(
   pointer => 0,
   payload => '',
);
$layer->pack;

print 'RAW: '.$layer->dump."\n";

# Read a raw layer
my $layer = Net::Frame::Layer::ICMPv6::ParameterProblem->new(raw => $raw);

print $layer->print."\n";
print 'PAYLOAD: '.unpack('H*', $layer->payload)."\n"
   if $layer->payload;

like. build it, pack it, dump it, read it back, print it. that's the whole arc, no notes πŸ”₯


🌸 DESCRIPTION 🌸

This module implements the encoding and decoding of the ICMPv6 ParameterProblem object. that's literally her whole job and she eats every time πŸ’–

Also peep Net::Frame::Layer for other attributes and methods β€” she inherits a LOT from her parent and she's not shy about it ✨


πŸŽ€ ATTRIBUTES πŸŽ€

  • pointer β€” Identifies the octet offset within the invoking packet where the error was detected. so like, "the problem is at this byte, bestie, go look" πŸ‘€

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. (hi yes the defaults are pointer => 0 and payload => '', they're literally 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. See Net::Frame::Layer for more information.

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

πŸ¦‹ CONSTANTS πŸ¦‹

No constants here. nothing. empty. a whole lot of nothing, bestie 😭 (this is not a tragedy, it's just the truth)


🌈 SEE ALSO 🌈

  • Net::Frame::Layer::ICMPv6
  • Net::Frame::Layer

go read those too, they're the rest of the friend group 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Patrice <GomoR> Auffret β€” icon behavior, honestly ✨


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. that's the whole legal tea, periodt πŸ“œ


ok that's the page!! πŸ’– this was documented with perl v5.30.0 and dated 2019-12-26, so when you're out here reading it just know it's giving vintage-but-still-slay. mwah, go pack some packets bestie πŸŽ€πŸ¦‹βœ¨