safchain / ethtool

A simple ethtool "like" library for GO
Apache License 2.0
120 stars 69 forks source link

use generic Go facilities to get a socket #16

Closed satta closed 6 years ago

satta commented 6 years ago

This PR uses syscall.Socket instead of the more low-level RawSyscall interface to obtain a socket descriptor. The former approach also works on i386, while the latter does not. See #15. Closes #15.