interface documentation

class IEthernetProtocol(Interface):

Known implementations: twisted.pair.ethernet.EthernetProtocol

View In Hierarchy

An interface for protocols that handle Ethernet frames

Method addProto Add an IRawPacketProtocol protocol
Method datagramReceived An Ethernet frame has been received
def addProto(num, proto):

Add an IRawPacketProtocol protocol

def datagramReceived(data, partial):

An Ethernet frame has been received