Searched refs:SocketAddressCan (Results 1 – 2 of 2) sorted by relevance
40 public struct SocketAddressCan struct43 public SocketAddressCan(int interfaceIndex) in SocketAddressCan() argument221 public static int Bind(int domain, SocketAddressCan addr, int addrSize) in Bind()254 public static extern int bind(int sockfd, ref SocketAddressCan addr, int addrSize); in bind()
65 var address = new SocketAddressCan(request.InterfaceIndex); in SocketCANBridge()66 if(LibCWrapper.Bind(canSocket, address, Marshal.SizeOf(typeof(SocketAddressCan))) == -1) in SocketCANBridge()