I tried to install your repo and can't compile. Am I missing something?
[ 12%] Building C object CMakeFiles/XCAN_EXE.dir/modules/xcan_dev_socketcan.c.o
In file included from /home/kali/xcan-router/modules/xcan_dev_socketcan.c:2:
/home/kali/xcan-router/stack/include/xcan_stack.h: In function ‘xcan_sendto_dev’:
/home/kali/xcan-router/stack/include/xcan_stack.h:31:28: error: ‘struct xcan_routing_table’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
31 | int xcan_stack_init(struct xcan_routing_table *routing_table);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kali/xcan-router/modules/xcan_dev_socketcan.c:5:
/usr/include/unistd.h:255:22: error: storage class specified for parameter ‘useconds_t’
255 | typedef __useconds_t useconds_t;
| ^~~~~~~~~~
/usr/include/unistd.h:274:21: error: storage class specified for parameter ‘socklen_t’
274 | typedef __socklen_t socklen_t;
| ^~~~~~~~~
...