Changes in uspace/srv/net/tl/udp/udp.c [46d4d9f:1bfd3d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
r46d4d9f r1bfd3d3 190 190 * @return The result parameter. 191 191 */ 192 static int udp_release_and_return(packet_t *packet, int result)192 static int udp_release_and_return(packet_t packet, int result) 193 193 { 194 194 pq_release_remote(udp_globals.net_phone, packet_get_id(packet)); … … 217 217 * ip_client_process_packet() function. 218 218 */ 219 static int udp_process_packet(device_id_t device_id, packet_t *packet,219 static int udp_process_packet(device_id_t device_id, packet_t packet, 220 220 services_t error) 221 221 { … … 225 225 udp_header_t *header; 226 226 socket_core_t *socket; 227 packet_t *next_packet;227 packet_t next_packet; 228 228 size_t total_length; 229 229 uint32_t checksum; 230 230 int fragments; 231 packet_t *tmp_packet;231 packet_t tmp_packet; 232 232 icmp_type_t type; 233 233 icmp_code_t code; … … 413 413 * udp_process_packet() function. 414 414 */ 415 static int udp_received_msg(device_id_t device_id, packet_t *packet,415 static int udp_received_msg(device_id_t device_id, packet_t packet, 416 416 services_t receiver, services_t error) 417 417 { … … 458 458 { 459 459 socket_core_t *socket; 460 packet_t *packet;461 packet_t *next_packet;460 packet_t packet; 461 packet_t next_packet; 462 462 udp_header_t *header; 463 463 int index; … … 614 614 socket_core_t *socket; 615 615 int packet_id; 616 packet_t *packet;616 packet_t packet; 617 617 udp_header_t *header; 618 618 struct sockaddr *addr; … … 861 861 ipc_call_t *answer, int *answer_count) 862 862 { 863 packet_t *packet;863 packet_t packet; 864 864 int rc; 865 865
Note:
See TracChangeset
for help on using the changeset viewer.