Home
last modified time | relevance | path

Searched refs:can_id (Results 1 - 6 of 6) sorted by relevance

/third_party/ltp/testcases/network/can/filter-tests/
H A Dcan_filter.c91 rfilter.can_id = calc_id(testcase); in run()
96 tst_res(TINFO, "testcase %2d filters : can_id = 0x%08X can_mask = " in run()
97 "0x%08X", testcase, rfilter.can_id, rfilter.can_mask); in run()
104 frame.can_id = ID; in run()
107 frame.can_id = (ID | CAN_RTR_FLAG); in run()
110 frame.can_id = (ID | CAN_EFF_FLAG); in run()
113 frame.can_id = (ID | CAN_EFF_FLAG | CAN_RTR_FLAG); in run()
133 if ((frame.can_id & CAN_SFF_MASK) != ID) in run()
134 tst_res(TFAIL, "received wrong can_id!"); in run()
140 rxbitval = 1 << ((frame.can_id in run()
[all...]
H A Dcan_rcv_own_msgs.c17 static void test_sockets(canid_t can_id, int expect_rxs, int expect_rxt) in test_sockets() argument
26 frame.can_id = can_id; in test_sockets()
47 if (frame.can_id != can_id) in test_sockets()
48 tst_res(TFAIL, "received wrong can_id!"); in test_sockets()
58 if (frame.can_id != can_id) in test_sockets()
59 tst_res(TFAIL, "received wrong can_id!"); in test_sockets()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dalign.rs131 pub can_id: canid_t,
142 pub can_id: canid_t,
H A Dmod.rs547 pub can_id: canid_t,
/third_party/ltp/testcases/kernel/pty/
H A Dpty04.c60 canid_t can_id; member
291 if (frm.can_id != 1) { in check_data()
292 tst_res(TFAIL, "can_id = %d != 1", in check_data()
293 frm.can_id); in check_data()
/third_party/python/Lib/test/
H A Dtest_socket.py237 canid_t can_id; /* 32 bit CAN_ID + EFF/RTR/ERR flags */
253 canid_t can_id;
2087 can_id, can_mask = 0x200, 0x700
2088 can_filter = struct.pack("=II", can_id, can_mask)
2103 def build_can_frame(cls, can_id, data):
2107 return struct.pack(cls.can_frame_fmt, can_id, can_dlc, data)
2112 can_id, can_dlc, data = struct.unpack(cls.can_frame_fmt, frame)
2113 return (can_id, can_dlc, data[:can_dlc])
2151 can_id, can_dlc, data = self.dissect_can_frame(cf)
2152 self.assertEqual(self.can_id, can_i
[all...]

Completed in 19 milliseconds