remove unused files, remove notion of PHY, make more realistic p2p-net-device and p2p-channel
This commit is contained in:
1 parent
ad021d0d9e
commit
1e75e87d35
16 files changed
+308
-505
No files matched your search
@@ -50,6 +50,7 @@ public:
|
||||
bool IsEmpty (void);
|
||||
bool Enqueue (const Packet& p);
|
||||
bool Dequeue (Packet &p);
|
||||
bool Peek (Packet &p);
|
||||
|
||||
void DequeueAll (void);
|
||||
uint32_t GetNPackets (void);
|
||||
@@ -89,6 +90,7 @@ public:
|
||||
private:
|
||||
virtual bool DoEnqueue (const Packet& p) = 0;
|
||||
virtual bool DoDequeue (Packet &p) = 0;
|
||||
virtual bool DoPeek (Packet &p) = 0;
|
||||
|
||||
protected:
|
||||
// called by subclasses to notify parent of packet drops.
|
||||
|
||||
Reference in new issue
Block a user