etherbus.cc (13766:4ecebdee8da4) | etherbus.cc (13784:1941dc118243) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 67 unchanged lines hidden (view full) --- 76 77 if (dump) 78 dump->dump(packet); 79 80 sender = 0; 81 packet = 0; 82} 83 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 67 unchanged lines hidden (view full) --- 76 77 if (dump) 78 dump->dump(packet); 79 80 sender = 0; 81 packet = 0; 82} 83 |
84EtherInt* 85EtherBus::getEthPort(const std::string &if_name, int idx) | 84Port & 85EtherBus::getPort(const std::string &if_name, PortID idx) |
86{ 87 panic("Etherbus doesn't work\n"); 88} 89 90bool 91EtherBus::send(EtherInt *sndr, EthPacketPtr &pkt) 92{ 93 if (busy()) { --- 22 unchanged lines hidden --- | 86{ 87 panic("Etherbus doesn't work\n"); 88} 89 90bool 91EtherBus::send(EtherInt *sndr, EthPacketPtr &pkt) 92{ 93 if (busy()) { --- 22 unchanged lines hidden --- |