Changeset 4eca056 in mainline for uspace/srv
- Timestamp:
- 2010-11-18T23:36:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aaa3f33a
- Parents:
- 88a1bb9
- Location:
- uspace/srv
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_module.c
r88a1bb9 r4eca056 186 186 } 187 187 188 int netif_get_addr_message(device_id_t device_id, measured_string_ refaddress){188 int netif_get_addr_message(device_id_t device_id, measured_string_t *address){ 189 189 netif_device_t * device; 190 190 int rc; -
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; -
uspace/srv/net/net/net.c
r88a1bb9 r4eca056 93 93 int rc; 94 94 95 measured_string_ refsetting =95 measured_string_t *setting = 96 96 measured_string_create_bulk(value, 0); 97 97 if (!setting) … … 163 163 164 164 /* Create a bulk measured string till the end */ 165 measured_string_ refsetting =165 measured_string_t *setting = 166 166 measured_string_create_bulk(value, 0); 167 167 if (!setting) … … 357 357 */ 358 358 static int net_get_conf(measured_strings_ref netif_conf, 359 measured_string_ refconfiguration, size_t count, char **data)359 measured_string_t *configuration, size_t count, char **data) 360 360 { 361 361 if (data) … … 364 364 size_t index; 365 365 for (index = 0; index < count; index++) { 366 measured_string_ refsetting =366 measured_string_t *setting = 367 367 measured_strings_find(netif_conf, configuration[index].value, 0); 368 368 if (!setting) … … 382 382 } 383 383 384 int net_get_conf_req(int net_phone, measured_string_ ref*configuration,384 int net_get_conf_req(int net_phone, measured_string_t **configuration, 385 385 size_t count, char **data) 386 386 { … … 392 392 393 393 int net_get_device_conf_req(int net_phone, device_id_t device_id, 394 measured_string_ ref*configuration, size_t count, char **data)394 measured_string_t **configuration, size_t count, char **data) 395 395 { 396 396 if ((!configuration) || (count == 0)) … … 404 404 } 405 405 406 void net_free_settings(measured_string_ refsettings, char *data)406 void net_free_settings(measured_string_t *settings, char *data) 407 407 { 408 408 } … … 429 429 430 430 /* Mandatory netif */ 431 measured_string_ refsetting =431 measured_string_t *setting = 432 432 measured_strings_find(&netif->configuration, CONF_NETIF, 0); 433 433 … … 550 550 551 551 /* Mandatory name */ 552 measured_string_ refsetting =552 measured_string_t *setting = 553 553 measured_strings_find(&netif->configuration, CONF_NAME, 0); 554 554 if (!setting) { … … 620 620 int *answer_count) 621 621 { 622 measured_string_ refstrings;622 measured_string_t *strings; 623 623 char *data; 624 624 int rc; -
uspace/srv/net/netif/lo/lo.c
r88a1bb9 r4eca056 70 70 } 71 71 72 int netif_get_addr_message(device_id_t device_id, measured_string_ refaddress)72 int netif_get_addr_message(device_id_t device_id, measured_string_t *address) 73 73 { 74 74 if (!address) -
uspace/srv/net/nil/eth/eth.c
r88a1bb9 r4eca056 293 293 } 294 294 }; 295 measured_string_ refconfiguration;295 measured_string_t *configuration; 296 296 size_t count = sizeof(names) / sizeof(measured_string_t); 297 297 char *data; … … 591 591 */ 592 592 static int eth_addr_message(device_id_t device_id, eth_addr_type_t type, 593 measured_string_ ref*address)593 measured_string_t **address) 594 594 { 595 595 eth_device_t *device; … … 840 840 ipc_call_t *call, ipc_call_t *answer, int *answer_count) 841 841 { 842 measured_string_ refaddress;842 measured_string_t *address; 843 843 packet_t packet; 844 844 size_t addrlen; -
uspace/srv/net/nil/eth/eth.h
r88a1bb9 r4eca056 90 90 91 91 /** Actual device hardware address. */ 92 measured_string_ refaddr;92 measured_string_t *addr; 93 93 /** Actual device hardware address data. */ 94 94 char *addr_data; … … 123 123 124 124 /** Broadcast device hardware address. */ 125 measured_string_ refbroadcast_addr;125 measured_string_t *broadcast_addr; 126 126 }; 127 127 -
uspace/srv/net/nil/nildummy/nildummy.c
r88a1bb9 r4eca056 248 248 */ 249 249 static int nildummy_addr_message(device_id_t device_id, 250 measured_string_ ref*address)250 measured_string_t **address) 251 251 { 252 252 nildummy_device_t *device; … … 377 377 ipc_call_t *call, ipc_call_t *answer, int *answer_count) 378 378 { 379 measured_string_ refaddress;379 measured_string_t *address; 380 380 packet_t packet; 381 381 size_t addrlen; -
uspace/srv/net/nil/nildummy/nildummy.h
r88a1bb9 r4eca056 76 76 size_t mtu; 77 77 /** Actual device hardware address. */ 78 measured_string_ refaddr;78 measured_string_t *addr; 79 79 /** Actual device hardware address data. */ 80 80 char *addr_data; -
uspace/srv/net/tl/icmp/icmp.c
r88a1bb9 r4eca056 413 413 } 414 414 }; 415 measured_string_ refconfiguration;415 measured_string_t *configuration; 416 416 size_t count = sizeof(names) / sizeof(measured_string_t); 417 417 char *data; -
uspace/srv/net/tl/udp/udp.c
r88a1bb9 r4eca056 112 112 } 113 113 }; 114 measured_string_ refconfiguration;114 measured_string_t *configuration; 115 115 size_t count = sizeof(names) / sizeof(measured_string_t); 116 116 char *data;
Note:
See TracChangeset
for help on using the changeset viewer.