Ethernet Objects

class EthernetFrameEx(header: vblf.general.ObjectHeader, struct_length: int, flags: int, channel: int, hardware_channel: int, frame_duration: int, frame_checksum: int, dir: int, frame_length: int, frame_handle: int, reserved: int, frame_data: bytes)[source]

Bases: ObjectWithHeader[ObjectHeader]

Parameters:
header: ObjectHeader
struct_length: int
flags: int
channel: int
hardware_channel: int
frame_duration: int
frame_checksum: int
dir: int
frame_length: int
frame_handle: int
reserved: int
frame_data: bytes
classmethod unpack(buffer)[source]
Parameters:

buffer (bytes)

Return type:

Self

pack()[source]
Return type:

bytes

class EthernetStatistic(header: HeaderType, channel: int, reserved_1: int, reserved_2: int, rcv_ok_hw: int, xmit_ok_hw: int, rcv_error_hw: int, xmit_error_hw: int, rcv_bytes_hw: int, xmit_bytes_hw: int, rcv_no_buffer_hw: int, sqi: int, hardware_channel: int, reserved_3: int)[source]

Bases: ObjectWithHeader[ObjectHeader]

Parameters:
  • header (HeaderType)

  • channel (int)

  • reserved_1 (int)

  • reserved_2 (int)

  • rcv_ok_hw (int)

  • xmit_ok_hw (int)

  • rcv_error_hw (int)

  • xmit_error_hw (int)

  • rcv_bytes_hw (int)

  • xmit_bytes_hw (int)

  • rcv_no_buffer_hw (int)

  • sqi (int)

  • hardware_channel (int)

  • reserved_3 (int)

channel: int
reserved_1: int
reserved_2: int
rcv_ok_hw: int
xmit_ok_hw: int
rcv_error_hw: int
xmit_error_hw: int
rcv_bytes_hw: int
xmit_bytes_hw: int
rcv_no_buffer_hw: int
sqi: int
hardware_channel: int
reserved_3: int
classmethod unpack(buffer)[source]
Parameters:

buffer (bytes)

Return type:

Self

pack()[source]
Return type:

bytes