Home
last modified time | relevance | path

Searched refs:SocketAddressCan (Results 1 – 2 of 2) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DLibCWrapper.cs40 public struct SocketAddressCan struct
43 public SocketAddressCan(int interfaceIndex) in SocketAddressCan() argument
221 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()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CAN/
DSocketCANBridge.cs65 var address = new SocketAddressCan(request.InterfaceIndex); in SocketCANBridge()
66 if(LibCWrapper.Bind(canSocket, address, Marshal.SizeOf(typeof(SocketAddressCan))) == -1) in SocketCANBridge()