Searched refs:can_filter (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/net/sched/ |
D | em_canid.c | 38 struct can_filter rules_raw[]; 100 const struct can_filter *lp; in em_canid_match() 123 struct can_filter *conf = data; /* Array with rules */ in em_canid_change() 130 if (len % sizeof(struct can_filter)) in em_canid_change() 133 if (len > sizeof(struct can_filter) * EM_CAN_RULES_MAX) in em_canid_change() 140 cm->rules_count = len / sizeof(struct can_filter); in em_canid_change() 157 sizeof(struct can_filter)); in em_canid_change() 169 &conf[i], sizeof(struct can_filter)); in em_canid_change() 198 if (nla_put_nohdr(skb, sizeof(struct can_filter) * cm->rules_count, in em_canid_dump()
|
/linux-6.1.9/net/can/ |
D | raw.c | 94 struct can_filter dfilter; /* default/single filter */ 95 struct can_filter *filter; /* pointer to filter(s) */ 188 struct sock *sk, struct can_filter *filter, in raw_enable_filters() 224 struct sock *sk, struct can_filter *filter, in raw_disable_filters() 522 struct can_filter *filter = NULL; /* dyn. alloc'ed filters */ in raw_setsockopt() 523 struct can_filter sfilter; /* single filter */ in raw_setsockopt() 534 if (optlen % sizeof(struct can_filter) != 0) in raw_setsockopt() 537 if (optlen > CAN_RAW_FILTER_MAX * sizeof(struct can_filter)) in raw_setsockopt() 540 count = optlen / sizeof(struct can_filter); in raw_setsockopt() 719 int fsize = ro->count * sizeof(struct can_filter); in raw_getsockopt()
|
D | gw.c | 121 struct can_filter filter; 734 if (nla_put(skb, CGW_FILTER, sizeof(struct can_filter), in cgw_put_job() 790 [CGW_FILTER] = { .len = sizeof(struct can_filter) }, 1031 sizeof(struct can_filter)); in cgw_parse_attr()
|
/linux-6.1.9/include/uapi/linux/ |
D | can.h | 282 struct can_filter { struct
|
/linux-6.1.9/Documentation/networking/ |
D | can.rst | 479 struct can_filter { 492 bit is set in can_id element of the can_filter structure. In 498 struct can_filter rfilter[2]; 532 CAN_SFF_MASK or CAN_EFF_MASK have to be set into can_filter.mask together 534 can_filter.mask makes clear that it matters whether a SFF or EFF CAN ID is 549 struct can_filter rfilter[2];
|