Re: [go-nuts] Generating x/sys/unix cross-platform

2016-08-22 Thread Elliot Morrison-Reed
Okay, I was running qemu behind a corporate proxy which is probably why the zsysnum update failed. I suppose the my best course of action could be just to cherry pick the generated differences that have to do with my additional structure, and leave everything else as is. Thanks for the Info. On

Re: [go-nuts] Custom syscall.Sockaddr

2016-06-26 Thread Elliot Morrison-Reed
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 li

Re: [go-nuts] Custom syscall.Sockaddr

2016-06-24 Thread Elliot Morrison-Reed
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,