Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
dpauxmon_user.h
Go to the documentation of this file.
1
8#ifndef DPAUXMON_USER_H_
9#define DPAUXMON_USER_H_
10
11#include <linux/types.h>
12
13/*
14 * Generic Netlink Interface for DisplayPort AUX channel monitoring
15 */
16
17/*
18 * enum dpauxmon_cmd - supported dpauxmon netlink commands
19 *
20 * @__DPAUXMON_CMD_UNSPEC: unspecified command to catch errors
21 *
22 * @DPAUXMON_CMD_START: start monitoring on %DPAUXMON_ATTR_IFINDEX
23 * @DPAUXMON_CMD_STOP: stop monitoring on %DPAUXMON_ATTR_IFINDEX
24 * @DPAUXMON_CMD_DATA: captured data from %DPAUXMON_ATTR_IFINDEX
25 */
26enum dpauxmon_cmd {
27 __DPAUXMON_CMD_UNSPEC,
28 DPAUXMON_CMD_START,
29 DPAUXMON_CMD_STOP,
30 DPAUXMON_CMD_DATA,
31
32 /* keep last */
33 __DPAUXMON_CMD_MAX,
34 DPAUXMON_CMD_MAX = __DPAUXMON_CMD_MAX - 1,
35};
36
37/*
38 * enum dpauxmon_attr - dpauxmon netlink attributes
39 *
40 * @__DPAUXMON_ATTR_UNSPEC: unspecified attribute to catch errors
41 *
42 * @DPAUXMON_ATTR_IFINDEX: index of dpauxmon unit to operate on
43 * @DPAUXMON_ATTR_DATA: dpauxmon data payload
44 * @DPAUXMON_ATTR_FROM_SOURCE: data payload is sent from source
45 * @DPAUXMON_ATTR_TIMESTAMP: data payload is sent from source
46 */
47enum dpauxmon_attr {
48 __DPAUXMON_ATTR_UNSPEC,
49 DPAUXMON_ATTR_IFINDEX, /* NLA_U32 */
50 DPAUXMON_ATTR_DATA, /* NLA_BINARY */
51 DPAUXMON_ATTR_FROM_SOURCE, /* NLA_FLAG */
52 DPAUXMON_ATTR_TIMESTAMP, /* NLA_MSECS */
53
54 /* keep last */
55 __DPAUXMON_ATTR_AFTER_LAST,
56 DPAUXMON_ATTR_MAX = __DPAUXMON_ATTR_AFTER_LAST - 1
57};
58
59#endif