4 Copyright 1995 Philip Homburg
12 void writeIpAddr(addr
)
15 #define addrInBytes ((u8_t *)&addr)
17 printf("%d.%d.%d.%d", addrInBytes
[0], addrInBytes
[1],
18 addrInBytes
[2], addrInBytes
[3]);
22 void writeEtherAddr(addr
)
25 #define addrInBytes ((u8_t *)addr->ea_addr)
27 printf("%x:%x:%x:%x:%x:%x", addrInBytes
[0], addrInBytes
[1],
28 addrInBytes
[2], addrInBytes
[3], addrInBytes
[4], addrInBytes
[5]);
33 * $PchId: io.c,v 1.6 1998/10/23 20:24:34 philip Exp $