1 // 2 // Copyright (c) 2010-2020 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 8 using System; 9 using System.Net; 10 using System.Collections.Generic; 11 12 using PacketDotNet; 13 14 namespace Antmicro.Renode.Network 15 { 16 public interface IServerModule 17 { HandleUdp(IPEndPoint source, UdpPacket packet, Action<IPEndPoint, UdpPacket> callback)18 void HandleUdp(IPEndPoint source, UdpPacket packet, Action<IPEndPoint, UdpPacket> callback); 19 } 20 } 21 22