Home
last modified time | relevance | path

Searched refs:can_mask (Results 1 – 3 of 3) sorted by relevance

/netbsd/tests/net/can/
H A Dt_canfilter.c86 cfi.can_mask = CAN_SFF_MASK | CAN_EFF_FLAG; in ATF_TC_BODY()
285 cfi[0].can_mask = CAN_SFF_MASK | CAN_EFF_FLAG; in ATF_TC_BODY()
287 cfi[1].can_mask = CAN_SFF_MASK | CAN_EFF_FLAG; in ATF_TC_BODY()
419 ATF_CHECK_MSG(cfi[0].can_id == 0 && cfi[0].can_mask == 0, in ATF_TC_BODY()
421 cfi[0].can_id, cfi[0].can_mask); in ATF_TC_BODY()
426 cfi[0].can_mask = CAN_SFF_MASK | CAN_EFF_FLAG; in ATF_TC_BODY()
428 cfi[1].can_mask = CAN_SFF_MASK; in ATF_TC_BODY()
444 cfi[0].can_mask == (CAN_SFF_MASK | CAN_EFF_FLAG), in ATF_TC_BODY()
446 cfi[0].can_id, cfi[0].can_mask); in ATF_TC_BODY()
448 cfi[1].can_mask == CAN_SFF_MASK, in ATF_TC_BODY()
[all …]
/netbsd/sys/netcan/
H A Dcan.h115 canid_t can_mask; member
H A Dcan_pcb.c95 can_init_filter->can_mask = 0; /* accept all by default */ in can_pcballoc()
397 if ((fmp->can_id & fip->can_mask) == fip->can_id) in can_pcbfilter()