1SLLV1(3) sllv1 1.0 SLLV1(3)
2
3
4
6 packet.link.sllv1 - ERF module
7
9 Decode Linux "cooked" v1 capture encapsulation layer
10
12 class SLLv1(baseobj.BaseObj)
13 Extensible record format object
14
15 Usage:
16 from packet.link.sllv1 import SLLv1
17
18 x = SLLv1(pktt)
19
20 Object definition:
21
22 SLLv1(
23 ptype = int, # Packet type
24 dtype = int, # Device type
25 alen = int, # Address length
26 saddr = int, # Source Address
27 etype = int, # Protocol type
28 psize = int, # Payload data size
29 )
30
31
32 Methods defined here:
33 ---------------------
34
35 __init__(self, pktt)
36 Constructor
37
38 Initialize object's private data.
39
40
41 pktt: Packet trace object (packet.pktt.Pktt) so this layer has
42 access to the parent layers.
43
44 __str__(self)
45 String representation of object
46
47 The representation depends on the verbose level set by debug_repr().
48 If set to 0 the generic object representation is returned.
49 If set to 1 the representation of the object is condensed:
50 "SLLv1 ptype: 4, dtype: 65534, alen: 0, saddr: b'', etype: 0x86dd, psize: 116"
51
53 baseobj(3), packet.internet.ipv4(3), packet.internet.ipv6(3),
54 packet.link.macaddr(3)
55
56
58 No known bugs.
59
61 Jorge Mora (mora@netapp.com)
62
63
64
65NFStest 3.2 21 March 2023 SLLV1(3)