Searched refs:socketcan_filter (Results 1 – 6 of 6) sorted by relevance
377 static bool is_already_attached(struct socketcan_filter *sfilter, in is_already_attached()420 struct socketcan_filter sfilter; in can_close_socket()584 const struct socketcan_filter *sfilters, int count) in can_register_filters()611 const struct socketcan_filter *sfilters, in can_unregister_filters()639 if (optname == CAN_RAW_FILTER && optlen != sizeof(struct socketcan_filter)) { in can_sock_setsockopt_vmeth()661 if (optlen % sizeof(struct socketcan_filter) != 0) { in can_sock_setsockopt_vmeth()666 count = optlen / sizeof(struct socketcan_filter); in can_sock_setsockopt_vmeth()675 struct socketcan_filter *sfilter; in can_sock_setsockopt_vmeth()679 sfilter = &((struct socketcan_filter *)optval)[i]; in can_sock_setsockopt_vmeth()
100 struct socketcan_filter sfilter = { 0 }; in ZTEST()127 struct socketcan_filter sfilter = { 0 }; in ZTEST()128 struct socketcan_filter expected = { 0 }; in ZTEST()
89 static inline void socketcan_to_can_filter(const struct socketcan_filter *sfilter, in socketcan_to_can_filter()106 struct socketcan_filter *sfilter) in socketcan_from_can_filter()
133 struct socketcan_filter { struct
40 static struct socketcan_filter sock_filter;74 static int create_socket(const struct socketcan_filter *sfilter) in create_socket()106 const struct socketcan_filter *sfilter = p3; in rx()
76 to :c:struct:`socketcan_filter`. The SocketCAN utility functions are now available in