Open FFBoard
Open source force feedback firmware

Packet Data Message. More...

#include <cdc_rndis.h>

Public Attributes

uint32_t type
 Message Type, must be RNDIS_MSG_PACKET. More...
 
uint32_t length
 Message length in bytes, The total length of this RNDIS message including the header, payload, and padding. More...
 
uint32_t data_offset
 Specifies the offset, in bytes, from the start of this data_offset field of this message to the start of the data. This MUST be an integer multiple of 4. More...
 
uint32_t data_length
 Specifies the number of bytes in the payload of this message. More...
 
uint32_t out_of_band_data_offet
 Specifies the offset, in bytes, of the first out-of-band data record from the start of the DataOffset field in this message. MUST be an integer multiple of 4 when out-of-band data is present or set to 0 otherwise. When there are multiple out-ofband data records, each subsequent record MUST immediately follow the previous out-of-band data record. More...
 
uint32_t out_of_band_data_length
 Specifies, in bytes, the total length of the out-of-band data. More...
 
uint32_t num_out_of_band_data_elements
 Specifies the number of out-of-band records in this message. More...
 
uint32_t per_packet_info_offset
 Specifies the offset, in bytes, of the start of per-packet-info data record from the start of the data_offset field in this message. MUST be an integer multiple of 4 when per-packet-info data record is present or MUST be set to 0 otherwise. When there are multiple per-packet-info data records, each subsequent record MUST immediately follow the previous record. More...
 
uint32_t per_packet_info_length
 Specifies, in bytes, the total length of per-packetinformation contained in this message. More...
 
uint32_t reserved [2]
 
uint32_t payload [0]
 Network data contained in this message. More...
 

Detailed Description

Packet Data Message.

This message MUST be used by the host and the device to send network data to one another.

Definition at line 197 of file cdc_rndis.h.

Member Data Documentation

◆ data_length

uint32_t rndis_msg_packet_t::data_length

Specifies the number of bytes in the payload of this message.

Definition at line 201 of file cdc_rndis.h.

◆ data_offset

uint32_t rndis_msg_packet_t::data_offset

Specifies the offset, in bytes, from the start of this data_offset field of this message to the start of the data. This MUST be an integer multiple of 4.

Definition at line 200 of file cdc_rndis.h.

◆ length

uint32_t rndis_msg_packet_t::length

Message length in bytes, The total length of this RNDIS message including the header, payload, and padding.

Definition at line 199 of file cdc_rndis.h.

◆ num_out_of_band_data_elements

uint32_t rndis_msg_packet_t::num_out_of_band_data_elements

Specifies the number of out-of-band records in this message.

Definition at line 204 of file cdc_rndis.h.

◆ out_of_band_data_length

uint32_t rndis_msg_packet_t::out_of_band_data_length

Specifies, in bytes, the total length of the out-of-band data.

Definition at line 203 of file cdc_rndis.h.

◆ out_of_band_data_offet

uint32_t rndis_msg_packet_t::out_of_band_data_offet

Specifies the offset, in bytes, of the first out-of-band data record from the start of the DataOffset field in this message. MUST be an integer multiple of 4 when out-of-band data is present or set to 0 otherwise. When there are multiple out-ofband data records, each subsequent record MUST immediately follow the previous out-of-band data record.

Definition at line 202 of file cdc_rndis.h.

◆ payload

uint32_t rndis_msg_packet_t::payload[0]

Network data contained in this message.

Definition at line 208 of file cdc_rndis.h.

◆ per_packet_info_length

uint32_t rndis_msg_packet_t::per_packet_info_length

Specifies, in bytes, the total length of per-packetinformation contained in this message.

Definition at line 206 of file cdc_rndis.h.

◆ per_packet_info_offset

uint32_t rndis_msg_packet_t::per_packet_info_offset

Specifies the offset, in bytes, of the start of per-packet-info data record from the start of the data_offset field in this message. MUST be an integer multiple of 4 when per-packet-info data record is present or MUST be set to 0 otherwise. When there are multiple per-packet-info data records, each subsequent record MUST immediately follow the previous record.

Definition at line 205 of file cdc_rndis.h.

◆ reserved

uint32_t rndis_msg_packet_t::reserved[2]

Definition at line 207 of file cdc_rndis.h.

◆ type

uint32_t rndis_msg_packet_t::type

Message Type, must be RNDIS_MSG_PACKET.

Definition at line 198 of file cdc_rndis.h.


The documentation for this struct was generated from the following file: