ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/ether.cpp
(Generate patch)

Comparing BasiliskII/src/ether.cpp (file contents):
Revision 1.5 by cebix, 2001-07-12T19:48:25Z vs.
Revision 1.6 by cebix, 2001-07-13T15:39:21Z

# Line 25 | Line 25
25   *    Inside AppleTalk, chapter 3 "Ethernet and TokenTalk Link Access Protocols"
26   */
27  
28 #include <string.h>
29
28   #include "sysdeps.h"
29 < #include "cpu_emulation.h"
30 < #include "main.h"
31 < #include "macos_util.h"
34 < #include "emul_op.h"
35 < #include "prefs.h"
36 < #include "ether.h"
37 < #include "ether_defs.h"
29 >
30 > #include <string.h>
31 > #include <map>
32  
33   #if SUPPORTS_UDP_TUNNEL
34   #include <netinet/in.h>
# Line 44 | Line 38
38   #include <errno.h>
39   #endif
40  
41 < #include <map>
41 > #include "cpu_emulation.h"
42 > #include "main.h"
43 > #include "macos_util.h"
44 > #include "emul_op.h"
45 > #include "prefs.h"
46 > #include "ether.h"
47 > #include "ether_defs.h"
48  
49   #ifndef NO_STD_NAMESPACE
50   using std::map;
# Line 170 | Line 170 | void EtherExit(void)
170   }
171  
172  
173 + /*
174 + *  Reset
175 + */
176 +
177 + void EtherReset(void)
178 + {
179 +        udp_protocols.clear();
180 +        ether_reset();
181 + }
182 +
183 +
184   /*
185   *  Check whether Ethernet address is AppleTalk broadcast address
186   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines