#[repr(C)]pub struct Tcp4ReceiveData {
pub urgent: Boolean,
pub data_length: u32,
pub fragment_count: u32,
pub fragment_table: [Tcp4FragmentData; 0],
}Fields§
§urgent: BooleanWhen TRUE, the instance is in urgent mode. The
implementations of this specification should follow RFC793 to
process urgent data, and should NOT mix the data across the
urgent point in one token.
data_length: u32When calling receive, the caller
is responsible for setting it to the byte counts of all
fragment buffers. When the token is signaled by the driver
it is the length of received data in the fragments.
fragment_count: u32Number of fragments in the following fragment table.
fragment_table: [Tcp4FragmentData; 0]Variable-length array of fragment descriptors.
NOTE: this is a flexible array member.