|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | can_priv |
Macros | |
| #define | get_can_dlc(i) (min_t(__u8, (i), CAN_MAX_DLC)) |
| #define | get_canfd_dlc(i) (min_t(__u8, (i), CANFD_MAX_DLC)) |
Enumerations | |
| enum | can_mode { CAN_MODE_STOP = 0, CAN_MODE_START, CAN_MODE_SLEEP } |
Functions | |
| u8 | can_dlc2len (u8 can_dlc) |
| u8 | can_len2dlc (u8 len) |
| struct net_device * | alloc_candev (int sizeof_priv, unsigned int echo_skb_max) |
| void | free_candev (struct net_device *dev) |
| int | open_candev (struct net_device *dev) |
| void | close_candev (struct net_device *dev) |
| int | register_candev (struct net_device *dev) |
| void | unregister_candev (struct net_device *dev) |
| int | can_restart_now (struct net_device *dev) |
| void | can_bus_off (struct net_device *dev) |
| void | can_put_echo_skb (struct sk_buff *skb, struct net_device *dev, unsigned int idx) |
| unsigned int | can_get_echo_skb (struct net_device *dev, unsigned int idx) |
| void | can_free_echo_skb (struct net_device *dev, unsigned int idx) |
| struct sk_buff * | alloc_can_skb (struct net_device *dev, struct can_frame **cf) |
| struct sk_buff * | alloc_can_err_skb (struct net_device *dev, struct can_frame **cf) |
| enum can_mode |
|
read |
| void can_bus_off | ( | struct net_device * | dev | ) |
| void can_free_echo_skb | ( | struct net_device * | dev, |
| unsigned int | idx | ||
| ) |
| unsigned int can_get_echo_skb | ( | struct net_device * | dev, |
| unsigned int | idx | ||
| ) |
| int can_restart_now | ( | struct net_device * | dev | ) |
| void close_candev | ( | struct net_device * | dev | ) |
| void free_candev | ( | struct net_device * | dev | ) |
| int open_candev | ( | struct net_device * | dev | ) |
| int register_candev | ( | struct net_device * | dev | ) |
| void unregister_candev | ( | struct net_device * | dev | ) |
1.8.2