cdc_parse_cdc_header(9) - phpMan
CDC_PARSE_CDC_HEADER(9) USB Core APIs CDC_PARSE_CDC_HEADER(9)
NAME
cdc_parse_cdc_header - parse the extra headers present in CDC devices
SYNOPSIS
int cdc_parse_cdc_header(struct usb_cdc_parsed_header * hdr, struct usb_interface * intf,
u8 * buffer, int buflen);
ARGUMENTS
hdr
the place to put the results of the parsing
intf
the interface for which parsing is requested
buffer
pointer to the extra headers to be parsed
buflen
length of the extra headers
DESCRIPTION
This evaluates the extra headers present in CDC devices which bind the interfaces for data
and control and provide details about the capabilities of the device.
RETURN
number of descriptors parsed or -EINVAL if the header is contradictory beyond salvage
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 CDC_PARSE_CDC_HEADER(9)
|