Home
last modified time | relevance | path

Searched refs:SOL_CAN_RAW (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c140 setsockopt(s, SOL_CAN_RAW, CAN_RAW_LOOPBACK, &loopback, in setopts()
142 setsockopt(s, SOL_CAN_RAW, CAN_RAW_RECV_OWN_MSGS, &recv_own_msgs, in setopts()
Dcan_filter.c132 setsockopt(s, SOL_CAN_RAW, CAN_RAW_RECV_OWN_MSGS, in main()
146 setsockopt(s, SOL_CAN_RAW, CAN_RAW_FILTER, in main()
/external/kernel-headers/original/uapi/linux/can/
Draw.h51 #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) macro
/external/python/cpython3/Lib/test/
Dtest_socket.py1825 s.setsockopt(socket.SOL_CAN_RAW, socket.CAN_RAW_LOOPBACK,
1828 s.getsockopt(socket.SOL_CAN_RAW, socket.CAN_RAW_LOOPBACK))
1836 s.setsockopt(socket.SOL_CAN_RAW, socket.CAN_RAW_FILTER, can_filter)
1838 s.getsockopt(socket.SOL_CAN_RAW, socket.CAN_RAW_FILTER, 8))
1839 s.setsockopt(socket.SOL_CAN_RAW, socket.CAN_RAW_FILTER, bytearray(can_filter))
/external/python/cpython3/Modules/
Dsocketmodule.c7367 #ifdef SOL_CAN_RAW
7368 PyModule_AddIntMacro(m, SOL_CAN_RAW);