Linux Kernel
3.7.1
|
#include <visor.h>
Data Fields | |
__u8 | num_ports |
__u8 | endpoint_numbers_different |
__le16 | reserved1 |
struct { | |
__u32 port_function_id | |
__u8 port | |
__u8 end_point_info | |
__le16 reserved | |
} | connections [2] |
struct palm_ext_connection_info - return data from a PALM_GET_EXT_CONNECTION_INFORMATION request : maximum number of functions/connections in use : will be 1 if in and out endpoints numbers are different, otherwise it is 0. If value is 1, then connections.end_point_info is non-zero. If value is 0, then connections.port contains the endpoint number, which is the same for in and out. : contains the creator id of the applicaton that opened this connection. : contains the in/out endpoint number. Is 0 if in and out endpoint numbers are different. : high nubbe is in endpoint and low nibble will indicate out endpoint. Is 0 if in and out endpoints are the same.
The maximum number of connections currently supported is 2
struct { ... } connections[2] |