ERF(3)
β¨ ERF(3) β¨
okay bestie, welcome to erf version 1.0 β this is the ERF manual page and honestly? it ate. let's get into it π
NAME π
packet.link.erf β the ERF module. that's it, that's the name, she's lowkey iconic π
DESCRIPTION π¦
Decode Extensible Record Format layer.
Reference: ERF Types Reference Guide, EDM11-01 - Version 21.
no cap, that's the whole vibe. onto the classes π
CLASSES πΈ
class ERF(baseobj.BaseObj) π
Extensible record format object. she's giving main character energy fr fr.
Usage:
from packet.link.erf import ERF
x = ERF(pktt)
Object definition:
ERF(
timestamp = int64, # The time of arrival, an ERF 64-bit timestamp
rtype = int, # ERF type
flags = int, # ERF flags
rlen = int, # Record length
lctr = int, # Loss counter/color field
wlen = int, # Wire length
psize = int, # Payload data size
)
Methods defined here:
__init__(self, pktt)
Constructor. Initialize object's private data. it's literally the setup era of this object's life π
- pktt: Packet trace object (
packet.pktt.Pktt) so this layer has access to the parent layers.
__str__(self)
String representation of object.
The representation depends on the verbose level set by debug_repr().
- If set to
0the generic object representation is returned. - If set to
1the representation of the object is condensed:
'rtype=21 rlen=312 wlen=290 '
- If set to
2the representation of the object also includes the type of payload:
'rtype: 21(InfiniBand), rlen: 312, wlen: 290 '
periodt. that's the whole glow-up from level 0 to level 2 β¨
class ERF_TS(builtins.int) π¦
ERF Time Stamp. she's a builtins.int at heart, just with extra sparkle β¨
Methods defined here:
__str__(self)
Return str(self). simple, effective, no notes π
SEE ALSO π
go read those next bestie, iykyk π«Ά
BUGS π
No known bugs. we love a flawless queen with zero drama πβ¨
AUTHOR π
Jorge Mora (mora@netapp.com)
okay that's the page!!NFStest 3.2, dated21 March 2023β shoutout to theerfera, and shoutout to you for reading all the way to the bottom ππ slay, bye!! πβπ
π¦ 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