--- BasiliskII/src/ether.cpp 2001/07/12 19:48:25 1.5 +++ BasiliskII/src/ether.cpp 2001/07/13 15:39:21 1.6 @@ -25,16 +25,10 @@ * Inside AppleTalk, chapter 3 "Ethernet and TokenTalk Link Access Protocols" */ -#include - #include "sysdeps.h" -#include "cpu_emulation.h" -#include "main.h" -#include "macos_util.h" -#include "emul_op.h" -#include "prefs.h" -#include "ether.h" -#include "ether_defs.h" + +#include +#include #if SUPPORTS_UDP_TUNNEL #include @@ -44,7 +38,13 @@ #include #endif -#include +#include "cpu_emulation.h" +#include "main.h" +#include "macos_util.h" +#include "emul_op.h" +#include "prefs.h" +#include "ether.h" +#include "ether_defs.h" #ifndef NO_STD_NAMESPACE using std::map; @@ -170,6 +170,17 @@ void EtherExit(void) } +/* + * Reset + */ + +void EtherReset(void) +{ + udp_protocols.clear(); + ether_reset(); +} + + /* * Check whether Ethernet address is AppleTalk broadcast address */