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> |
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; |
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 |
|
*/ |