1CDC_PARSE_CDC_HEADER(9)          USB Core APIs         CDC_PARSE_CDC_HEADER(9)
2
3
4

NAME

6       cdc_parse_cdc_header - parse the extra headers present in CDC devices
7

SYNOPSIS

9       int cdc_parse_cdc_header(struct usb_cdc_parsed_header * hdr,
10                                struct usb_interface * intf, u8 * buffer,
11                                int buflen);
12

ARGUMENTS

14       hdr
15           the place to put the results of the parsing
16
17       intf
18           the interface for which parsing is requested
19
20       buffer
21           pointer to the extra headers to be parsed
22
23       buflen
24           length of the extra headers
25

DESCRIPTION

27       This evaluates the extra headers present in CDC devices which bind the
28       interfaces for data and control and provide details about the
29       capabilities of the device.
30

RETURN

32       number of descriptors parsed or -EINVAL if the header is contradictory
33       beyond salvage
34
36Kernel Hackers Manual 3.10         June 2019           CDC_PARSE_CDC_HEADER(9)
Impressum