Skip to main content

STREAM_PACKET_SIZE_MASK

Constant STREAM_PACKET_SIZE_MASK 

Source
pub const STREAM_PACKET_SIZE_MASK: u32 = 0xFFFF;
Expand description

The bits of GevSCPSPacketSize that hold the packet size.

Bit 31 fires a test packet and bit 30 sets do-not-fragment; bits 29-16 are reserved. Masking matters on the read side as much as the write side — a device that leaves the do-not-fragment bit set would otherwise read back as a packet size of over a billion.