logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

packet.transport.mpa - MPA module

Author

       Jorge Mora (mora@netapp.com)

NFStest 3.2                                       21 March 2023                                           MPA(3)

Bugs

       No known bugs.

Classes

classFrameType(packet.utils.Enum)
       enum OpCode

   classMPA(baseobj.BaseObj)
       MPA object

       Usage:
           from packet.transport.mpa import MPA

           x = MPA(pktt)

       Object definition:

       MPA(
           [
               # MPA Full Operation Phase
               psize = int,  # Length of ULPDU
               pad   = int,  # Length of Padding bytes
               crc   = int,  # CRC 32 check value
           ] | [
               # Connection Setup
               ftype    = int,   # Frame type
               marker   = int,   # Marker usage required
               use_crc  = int,   # CRC usage
               reject   = int,   # Rejected connection
               revision = int,   # Revision of MPA
               psize    = int,   # Size of private data
               data     = bytes, # Private data
           ]
       )

       Methodsdefinedhere:
       ---------------------

       __init__(self,pktt)
       Constructor

       Initialize object's private data.

              pktt:  Packet trace object (packet.pktt.Pktt) so this layer has
                     access to the parent layers.

Description

       Decode MPA layer.

       RFC 5044 Marker PDU Aligned Framing for TCP Specification

Name

       packet.transport.mpa - MPA module

See Also

baseobj(3),packet.transport.ddp(3),packet.unpack(3),packet.utils(3)

See Also