Crate socketcan_rs

Source

Structs§

CanAddr
CAN socket address.
CanMessage
SocketCan

Enums§

CanAnyFrame

Constants§

CANFD
FILTERS
LOOPBACK
RECV_OWN_MSG

Traits§

ShouldRetry
Check an error return value for timeouts.

Functions§

c_timeval_new
can_frame_default
Creates a default C can_frame. This initializes the entire structure to zeros.
canfd_frame_default
Creates a default C can_frame. This initializes the entire structure to zeros.
raw_open_socket
Tries to open the CAN socket by the interface number.
raw_write_frame
set_fd_mode
set_socket_option
setsockopt wrapper
set_socket_option_mult
Sets a collection of multiple socke options with one call.