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