1ERF(3) erf 1.0 ERF(3)
2
3
4
6 packet.link.erf - ERF module
7
9 Decode Extensible Record Format layer Reference: ERF Types Reference
10 Guide, EDM11-01 - Version 21
11
13 class ERF(baseobj.BaseObj)
14 Extensible record format object
15
16 Usage:
17 from packet.link.erf import ERF
18
19 x = ERF(pktt)
20
21 Object definition:
22
23 ERF(
24 timestamp = int64, # The time of arrival, an ERF 64-bit timestamp
25 rtype = int, # ERF type
26 flags = int, # ERF flags
27 rlen = int, # Record length
28 lctr = int, # Loss counter/color field
29 wlen = int, # Wire length
30 psize = int, # Payload data size
31 )
32
33
34 Methods defined here:
35 ---------------------
36
37 __init__(self, pktt)
38 Constructor
39
40 Initialize object's private data.
41
42
43 pktt: Packet trace object (packet.pktt.Pktt) so this layer has
44 access to the parent layers.
45
46 __str__(self)
47 String representation of object
48
49 The representation depends on the verbose level set by debug_repr().
50 If set to 0 the generic object representation is returned.
51 If set to 1 the representation of the object is condensed:
52 'rtype=21 rlen=312 wlen=290 '
53
54 If set to 2 the representation of the object also includes the type
55 of payload:
56 'rtype: 21(InfiniBand), rlen: 312, wlen: 290 '
57
58 class ERF_TS(builtins.int)
59 ERF Time Stamp
60
61
62 Methods defined here:
63 ---------------------
64
65 __str__(self)
66 Return str(self).
67
69 baseobj(3), packet.transport.ib(3)
70
71
73 No known bugs.
74
76 Jorge Mora (mora@netapp.com)
77
78
79
80NFStest 3.2 21 March 2023 ERF(3)