Changeset 854151c in mainline for uspace/srv
- Timestamp:
- 2011-01-07T12:32:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b404a98
- Parents:
- 3d5e190
- Location:
- uspace/srv
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
r3d5e190 r854151c 263 263 printf("Ethernet address "); 264 264 for (i = 0; i < 6; i++) 265 printf("% x%c", dep->de_address.ea_addr[i], i < 5 ? ':' : '\n');265 printf("%02x%c", dep->de_address.ea_addr[i], i < 5 ? ':' : '\n'); 266 266 267 267 /* -
uspace/srv/net/il/arp/arp.c
r3d5e190 r854151c 215 215 (*proto)->service = service; 216 216 (*proto)->addr = address; 217 (*proto)->addr_data = address->value;217 (*proto)->addr_data = (uint8_t *) address->value; 218 218 219 219 rc = arp_addr_initialize(&(*proto)->addresses); … … 267 267 free(proto->addr_data); 268 268 proto->addr = address; 269 proto->addr_data = address->value;269 proto->addr_data = (uint8_t *) address->value; 270 270 } else { 271 271 rc = arp_proto_create(&proto, protocol, address); -
uspace/srv/net/il/arp/arp.h
r3d5e190 r854151c 96 96 measured_string_t *addr; 97 97 /** Actual device hardware address data. */ 98 char*addr_data;98 uint8_t *addr_data; 99 99 /** Broadcast device hardware address. */ 100 100 measured_string_t *broadcast_addr; 101 101 /** Broadcast device hardware address data. */ 102 char*broadcast_data;102 uint8_t *broadcast_data; 103 103 /** Device identifier. */ 104 104 device_id_t device_id; … … 142 142 measured_string_t *addr; 143 143 /** Actual device protocol address data. */ 144 char*addr_data;144 uint8_t *addr_data; 145 145 /** Address map. */ 146 146 arp_addr_t addresses; … … 154 154 * Hardware address for the translation. NULL denotes an incomplete 155 155 * record with possible waiters. 156 */ 156 */ 157 157 measured_string_t *hw_addr; 158 158 /** Condition variable used for waiting for completion of the record. */ -
uspace/srv/net/nil/eth/eth.c
r3d5e190 r854151c 407 407 408 408 printf("%s: Device registered (id: %d, service: %d: mtu: %zu, " 409 "mac: % x:%x:%x:%x:%x:%x, flags: 0x%x)\n",409 "mac: %02x:%02x:%02x:%02x:%02x:%02x, flags: 0x%x)\n", 410 410 NAME, device->device_id, device->service, device->mtu, 411 411 device->addr_data[0], device->addr_data[1], -
uspace/srv/net/nil/eth/eth.h
r3d5e190 r854151c 91 91 /** Actual device hardware address. */ 92 92 measured_string_t *addr; 93 93 94 /** Actual device hardware address data. */ 94 char*addr_data;95 uint8_t *addr_data; 95 96 }; 96 97 -
uspace/srv/net/nil/nildummy/nildummy.h
r3d5e190 r854151c 78 78 measured_string_t *addr; 79 79 /** Actual device hardware address data. */ 80 char*addr_data;80 uint8_t *addr_data; 81 81 }; 82 82
Note:
See TracChangeset
for help on using the changeset viewer.