1 //
2 // Copyright (c) 2010-2018 Antmicro
3 // Copyright (c) 2011-2015 Realtime Embedded
4 //
5 // This file is licensed under the MIT License.
6 // Full license text is available in 'licenses/MIT.txt'.
7 //
8 
9 using System;
10 using Antmicro.Renode.Core.Structure;
11 using Antmicro.Renode.Network;
12 
13 namespace Antmicro.Renode.Peripherals.Network
14 {
15     public interface IMACInterface : INetworkInterface
16     {
17         MACAddress MAC { get; set; }
ReceiveFrame(EthernetFrame frame)18         void ReceiveFrame(EthernetFrame frame);
19         event Action<EthernetFrame> FrameReady;
20     }
21 }
22 
23