# | Line 29 | Line 29 | static inline void WriteMacInt32(uint32 | |
---|---|---|
29 | static inline void WriteMacInt16(uint32 addr, uint32 w) {*(uint16 *)addr = htons(w);} | |
30 | static inline void WriteMacInt8(uint32 addr, uint32 b) {*(uint8 *)addr = b;} | |
31 | static inline uint8 *Mac2HostAddr(uint32 addr) {return (uint8 *)addr;} | |
32 | + | static inline uint32 Host2MacAddr(uint8 *addr) {return (uint32)addr;} |
33 | ||
34 | ||
35 | /* |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |