I added the SockaddrCAN type to the golang.org/x/sys/unix package, and it
works great. I create an issue with links the patch and some test code.
https://github.com/golang/go/issues/16188
On Fri, Jun 24, 2016 at 8:57 PM, Elliot Morrison-Reed
wrote:
> SocketCAN has been part of mainline linux s
SocketCAN has been part of mainline linux since kernel 2.6.25 (so getting
close to a decade now), and it is pretty much the standard for all CAN bus
communication on linux.
Thanks for the hint, I will look into adding support in the
golang.org/x/sys/unix package.
Regards,
Elliot
On Fri, Jun 24,
On Fri, Jun 24, 2016 at 8:05 AM, wrote:
>
> I am trying to set up an interface from Go to SocketCAN
> (https://www.kernel.org/doc/Documentation/networking/can.txt). This
> implements the linux socket interface, however it is a completely separate
> socket type from the regular AF_INET or AF_UNIX
Hello All,
I am trying to set up an interface from Go to SocketCAN
(https://www.kernel.org/doc/Documentation/networking/can.txt). This
implements the linux socket interface, however it is a completely separate
socket type from the regular AF_INET or AF_UNIX socket types.
The sockaddr struct f