Changeset 4eca056 in mainline for uspace/srv/net/il
- Timestamp:
- 2010-11-18T23:36:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aaa3f33a
- Parents:
- 88a1bb9
- Location:
- uspace/srv/net/il
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.c
r88a1bb9 r4eca056 126 126 127 127 static int arp_clear_address_req(int arp_phone, device_id_t device_id, 128 services_t protocol, measured_string_ refaddress)128 services_t protocol, measured_string_t *address) 129 129 { 130 130 arp_device_t *device; … … 175 175 */ 176 176 static int arp_proto_create(arp_proto_t **proto, services_t service, 177 measured_string_ refaddress)177 measured_string_t *address) 178 178 { 179 179 int rc; … … 213 213 */ 214 214 static int arp_device_message(device_id_t device_id, services_t service, 215 services_t protocol, measured_string_ refaddress)215 services_t protocol, measured_string_t *address) 216 216 { 217 217 arp_device_t *device; … … 421 421 arp_device_t *device; 422 422 arp_proto_t *proto; 423 measured_string_ refhw_source;423 measured_string_t *hw_source; 424 424 uint8_t *src_hw; 425 425 uint8_t *src_proto; … … 523 523 * @returns NULL if the hardware address is not found in the cache. 524 524 */ 525 static measured_string_ ref525 static measured_string_t * 526 526 arp_translate_message(device_id_t device_id, services_t protocol, 527 measured_string_ reftarget)527 measured_string_t *target) 528 528 { 529 529 arp_device_t *device; 530 530 arp_proto_t *proto; 531 measured_string_ refaddr;531 measured_string_t *addr; 532 532 size_t length; 533 533 packet_t packet; … … 612 612 ipc_call_t *answer, int *answer_count) 613 613 { 614 measured_string_ refaddress;615 measured_string_ reftranslation;614 measured_string_t *address; 615 measured_string_t *translation; 616 616 char *data; 617 617 packet_t packet; -
uspace/srv/net/il/arp/arp.h
r88a1bb9 r4eca056 89 89 struct arp_device { 90 90 /** Actual device hardware address. */ 91 measured_string_ refaddr;91 measured_string_t * addr; 92 92 /** Actual device hardware address data. */ 93 93 char *addr_data; 94 94 /** Broadcast device hardware address. */ 95 measured_string_ refbroadcast_addr;95 measured_string_t * broadcast_addr; 96 96 /** Broadcast device hardware address data. */ 97 97 char *broadcast_data; … … 135 135 struct arp_proto { 136 136 /** Actual device protocol address. */ 137 measured_string_ refaddr;137 measured_string_t *addr; 138 138 /** Actual device protocol address data. */ 139 139 char *addr_data; -
uspace/srv/net/il/ip/ip.c
r88a1bb9 r4eca056 344 344 } 345 345 }; 346 measured_string_ refconfiguration;346 measured_string_t *configuration; 347 347 size_t count = sizeof(names) / sizeof(measured_string_t); 348 348 char *data; … … 623 623 static int 624 624 ip_prepare_packet(in_addr_t *source, in_addr_t dest, packet_t packet, 625 measured_string_ refdestination)625 measured_string_t *destination) 626 626 { 627 627 size_t length; … … 997 997 { 998 998 measured_string_t destination; 999 measured_string_ reftranslation;999 measured_string_t *translation; 1000 1000 char *data; 1001 1001 int phone;
Note:
See TracChangeset
for help on using the changeset viewer.
