Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
netlink.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  can_bittiming
 
struct  can_bittiming_const
 
struct  can_clock
 
struct  can_berr_counter
 
struct  can_ctrlmode
 
struct  can_device_stats
 

Macros

#define CAN_CTRLMODE_LOOPBACK   0x01 /* Loopback mode */
 
#define CAN_CTRLMODE_LISTENONLY   0x02 /* Listen-only mode */
 
#define CAN_CTRLMODE_3_SAMPLES   0x04 /* Triple sampling mode */
 
#define CAN_CTRLMODE_ONE_SHOT   0x08 /* One-Shot mode */
 
#define CAN_CTRLMODE_BERR_REPORTING   0x10 /* Bus-error reporting */
 
#define IFLA_CAN_MAX   (__IFLA_CAN_MAX - 1)
 

Enumerations

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
}
 

Macro Definition Documentation

#define CAN_CTRLMODE_3_SAMPLES   0x04 /* Triple sampling mode */

Definition at line 88 of file netlink.h.

#define CAN_CTRLMODE_BERR_REPORTING   0x10 /* Bus-error reporting */

Definition at line 90 of file netlink.h.

#define CAN_CTRLMODE_LISTENONLY   0x02 /* Listen-only mode */

Definition at line 87 of file netlink.h.

#define CAN_CTRLMODE_LOOPBACK   0x01 /* Loopback mode */

Definition at line 86 of file netlink.h.

#define CAN_CTRLMODE_ONE_SHOT   0x08 /* One-Shot mode */

Definition at line 89 of file netlink.h.

#define IFLA_CAN_MAX   (__IFLA_CAN_MAX - 1)

Definition at line 120 of file netlink.h.

Enumeration Type Documentation

anonymous enum
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.

enum can_state
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.