IPV6(3)
π IPV6 π
okay bestie, so this is the ipv6 page, from the ipv6 1.1 manual (yes she has a version number, she's iconic like that β¨). Pull up a chair, grab a boba, and let's talk about decoding IPv6 packets with the packet.internet.ipv6 module π¦
β¨ NAME β¨
packet.internet.ipv6 β the IPv6 module, periodt π
πΈ DESCRIPTION πΈ
This module decodes the IP version 6 layer. That's it, that's the job, and she does it flawlessly no cap π
β οΈ heads up bestie: extension headers are not supported. Not a vibe, just the truth. Don't come for her about it π
π CLASSES π
class IPv6(packet.internet.ipv4.IPv4)
the IPv6 object herself, main character energy fr fr π
π« Usage:
from packet.internet.ipv6 import IPv6
x = IPv6(pktt)
literally two lines and you're living your best life π
π§ Object definition:
IPv6(
version = int,
traffic_class = int,
flow_label = int,
total_size = int,
protocol = int,
hop_limit = int,
src = IPv6Addr(),
dst = IPv6Addr(),
psize = int, # payload data size
data = string, # raw data of payload if protocol
# is not supported
)
look at all those fields, she's got range π and yes, psize is the payload data size, while data holds the raw data of payload if the protocol is not supported β iykyk π
π«Ά Methods defined here:
__init__(self, pktt)
the constructor π
she initializes the object's private data. so what's that pktt thing?
pkttβ the packet trace object (packet.pktt.Pktt), so that this layer can access the parent layers. it's giving "who's your daddy" but make it packet parsing π
β SEE ALSO β
go read these next, bestie, they're all part of the same friend group π«Ά
baseobj(3)packet.internet.ipv4(3)packet.internet.ipv6addr(3)packet.transport.tcp(3)packet.transport.udp(3)
π BUGS π
No known bugs. she's perfect, she's flawless, she ate and left no crumbs π₯
π AUTHOR π
Jorge Mora (mora@netapp.com) β the icon, the legend, the moment π
and that's the whole page bestie!! this was NFStest 3.2, dated 21 March 2023, and honestly? she slayed π β¨ bye bye, go decode some packets π¦π
π¦ where this page comes from
- debian trixie: nfstest 3.2-3
- fedora 43: NFStest 3.2-14.fc43 Β· GPL-2.0-or-later
- fedora 44: NFStest 3.2-16.fc44 Β· GPL-2.0-or-later
- ubuntu noble: nfstest 3.2-2
- ubuntu questing: nfstest 3.2-3
- ubuntu resolute: nfstest 3.2-3build1
- ubuntu stonking: nfstest 3.2-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms