#include <linux/types.h>
Go to the source code of this file.
|
enum | can_state {
CAN_STATE_ERROR_ACTIVE = 0,
CAN_STATE_ERROR_WARNING,
CAN_STATE_ERROR_PASSIVE,
CAN_STATE_BUS_OFF,
CAN_STATE_STOPPED,
CAN_STATE_SLEEPING,
CAN_STATE_MAX
} |
|
enum | {
IFLA_CAN_UNSPEC,
IFLA_CAN_BITTIMING,
IFLA_CAN_BITTIMING_CONST,
IFLA_CAN_CLOCK,
IFLA_CAN_STATE,
IFLA_CAN_CTRLMODE,
IFLA_CAN_RESTART_MS,
IFLA_CAN_RESTART,
IFLA_CAN_BERR_COUNTER,
__IFLA_CAN_MAX
} |
|
#define CAN_CTRLMODE_3_SAMPLES 0x04 /* Triple sampling mode */ |
#define CAN_CTRLMODE_BERR_REPORTING 0x10 /* Bus-error reporting */ |
#define CAN_CTRLMODE_LISTENONLY 0x02 /* Listen-only mode */ |
#define CAN_CTRLMODE_LOOPBACK 0x01 /* Loopback mode */ |
#define CAN_CTRLMODE_ONE_SHOT 0x08 /* One-Shot mode */ |
- Enumerator:
IFLA_CAN_UNSPEC |
|
IFLA_CAN_BITTIMING |
|
IFLA_CAN_BITTIMING_CONST |
|
IFLA_CAN_CLOCK |
|
IFLA_CAN_STATE |
|
IFLA_CAN_CTRLMODE |
|
IFLA_CAN_RESTART_MS |
|
IFLA_CAN_RESTART |
|
IFLA_CAN_BERR_COUNTER |
|
__IFLA_CAN_MAX |
|
Definition at line 107 of file netlink.h.
- Enumerator:
CAN_STATE_ERROR_ACTIVE |
|
CAN_STATE_ERROR_WARNING |
|
CAN_STATE_ERROR_PASSIVE |
|
CAN_STATE_BUS_OFF |
|
CAN_STATE_STOPPED |
|
CAN_STATE_SLEEPING |
|
CAN_STATE_MAX |
|
Definition at line 60 of file netlink.h.