# | Line 188 | Line 188 | void ether_exit(void) | |
---|---|---|
188 | * Reset | |
189 | */ | |
190 | ||
191 | < | void EtherReset(void) |
191 | > | void ether_reset(void) |
192 | { | |
193 | // Remove all protocols | |
194 | if (net_proc) | |
# | Line 585 | Line 585 | static __saveds void net_func(void) | |
585 | } | |
586 | write_io->ios2_DataLength = len; | |
587 | ||
588 | < | // Get destination address, set source address |
588 | > | // Get destination address |
589 | uint32 hdr = ReadMacInt32(wds + 2); | |
590 | Mac2Host_memcpy(write_io->ios2_DstAddr, hdr, 6); | |
591 | – | Host2Mac_memcpy(hdr + 6, ether_addr, 6); |
591 | ||
592 | // Get packet type | |
593 | uint32 type = ReadMacInt16(hdr + 12); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |