1MPA(3) mpa 1.1 MPA(3)
2
3
4
6 packet.transport.mpa - MPA module
7
9 Decode MPA layer.
10
11 RFC 5044 Marker PDU Aligned Framing for TCP Specification
12
14 class FrameType(packet.utils.Enum)
15 enum OpCode
16
17
18 class MPA(baseobj.BaseObj)
19 MPA object
20
21 Usage:
22 from packet.transport.mpa import MPA
23
24 x = MPA(pktt)
25
26 Object definition:
27
28 MPA(
29 [
30 # MPA Full Operation Phase
31 psize = int, # Length of ULPDU
32 pad = int, # Length of Padding bytes
33 crc = int, # CRC 32 check value
34 ] | [
35 # Connection Setup
36 ftype = int, # Frame type
37 marker = int, # Marker usage required
38 use_crc = int, # CRC usage
39 reject = int, # Rejected connection
40 revision = int, # Revision of MPA
41 psize = int, # Size of private data
42 data = bytes, # Private data
43 ]
44 )
45
46
47 Methods defined here:
48 ---------------------
49
50 __init__(self, pktt)
51 Constructor
52
53 Initialize object's private data.
54
55
56 pktt: Packet trace object (packet.pktt.Pktt) so this layer has
57 access to the parent layers.
58
60 baseobj(3), packet.transport.ddp(3), packet.unpack(3), packet.utils(3)
61
62
64 No known bugs.
65
67 Jorge Mora (mora@netapp.com)
68
69
70
71NFStest 3.2 21 March 2023 MPA(3)