Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dem_canid.c61 unsigned int can_mask = 0; in canid_parse_rule() local
63 if (sscanf(a->data, "%"SCNx32 ":" "%"SCNx32, &can_id, &can_mask) != 2) { in canid_parse_rule()
67 can_mask = (iseff) ? CAN_EFF_MASK : CAN_SFF_MASK; in canid_parse_rule()
84 rules->rules_raw[rules->rules_cnt].can_mask = in canid_parse_rule()
85 can_mask | CAN_EFF_FLAG; in canid_parse_rule()
161 if (pcfltr->can_mask == (CAN_EFF_FLAG | CAN_EFF_MASK)) in canid_print_eopt()
167 pcfltr->can_mask & CAN_EFF_MASK); in canid_print_eopt()
169 if (pcfltr->can_mask == (CAN_EFF_FLAG | CAN_SFF_MASK)) in canid_print_eopt()
175 pcfltr->can_mask & CAN_SFF_MASK); in canid_print_eopt()
/external/ltp/testcases/network/can/filter-tests/
Dcan_filter.c145 rfilter.can_mask = calc_mask(testcase); in main()
150 "0x%08X\n", testcase, rfilter.can_id, rfilter.can_mask); in main()
/external/iproute2/include/uapi/linux/
Dcan.h196 canid_t can_mask; member
/external/kernel-headers/original/uapi/linux/
Dcan.h224 canid_t can_mask; member
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs542 pub can_mask: canid_t,
/external/python/cpython3/Lib/test/
Dtest_socket.py2019 can_id, can_mask = 0x200, 0x700
2020 can_filter = struct.pack("=II", can_id, can_mask)