X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fethertap.hh;h=9c77a4a4faad7b3942d95776e230d0eec9abac22;hb=425dda00df994b2483850e80260618b2a1a957bf;hp=e2b1f640fb57b35b40f00fd0fe7ddf4e8b67580e;hpb=fd232ecb6ad4bc60933feb3bd5b838c5e0231506;p=gem5.git diff --git a/dev/ethertap.hh b/dev/ethertap.hh index e2b1f640f..9c77a4a4f 100644 --- a/dev/ethertap.hh +++ b/dev/ethertap.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2003-2004 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -70,7 +70,7 @@ class EtherTap : public EtherInt std::queue packetBuffer; void process(int revent); - void enqueue(EtherPacket *packet); + void enqueue(PacketData *packet); void retransmit(); /* @@ -94,7 +94,7 @@ class EtherTap : public EtherInt EtherTap(const std::string &name, EtherDump *dump, int port, int bufsz); virtual ~EtherTap(); - virtual bool recvPacket(PacketPtr packet); + virtual bool recvPacket(PacketPtr &packet); virtual void sendDone(); virtual void serialize(std::ostream &os);