Searched refs:SOL_CAN_RAW (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/can/ |
D | can_native_linux_adapt.c | 77 ret = setsockopt(fd, SOL_CAN_RAW, CAN_RAW_RECV_OWN_MSGS, &opt, sizeof(opt)); in linux_socketcan_iface_open() 152 return setsockopt(fd, SOL_CAN_RAW, CAN_RAW_FD_FRAMES, &opt, sizeof(opt)); in linux_socketcan_set_mode_fd()
|
/Zephyr-latest/include/zephyr/net/ |
D | socketcan.h | 40 #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) macro
|
/Zephyr-latest/samples/net/sockets/can/src/ |
D | main.c | 96 (void)setsockopt(fd, SOL_CAN_RAW, CAN_RAW_FILTER, sfilter, in create_socket() 203 ret = setsockopt(fd, SOL_CAN_RAW, CAN_RAW_FILTER, &sock_filter, in setup_socket()
|
/Zephyr-latest/drivers/net/ |
D | canbus.c | 67 if (level != SOL_CAN_RAW && optname != CAN_RAW_FILTER) { in net_canbus_setsockopt()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_can.c | 517 if (level == SOL_CAN_RAW) { in can_sock_getsockopt_vmeth() 632 if (level != SOL_CAN_RAW) { in can_sock_setsockopt_vmeth()
|