Changes in uspace/srv/net/tl/udp/udp.c [609243f4:6b82009] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
r609243f4 r6b82009 124 124 * ip_client_process_packet() function. 125 125 */ 126 static int udp_process_packet( nic_device_id_t device_id, packet_t *packet,126 static int udp_process_packet(device_id_t device_id, packet_t *packet, 127 127 services_t error) 128 128 { … … 322 322 * udp_process_packet() function. 323 323 */ 324 static int udp_received_msg( nic_device_id_t device_id, packet_t *packet,324 static int udp_received_msg(device_id_t device_id, packet_t *packet, 325 325 services_t receiver, services_t error) 326 326 { … … 499 499 void *ip_header; 500 500 size_t headerlen; 501 nic_device_id_t device_id;501 device_id_t device_id; 502 502 packet_dimension_t *packet_dimension; 503 503 size_t size; … … 617 617 htons(flip_checksum(compact_checksum(checksum))); 618 618 free(ip_header); 619 } else 620 device_id = NIC_DEVICE_INVALID_ID; 619 } else { 620 device_id = DEVICE_INVALID_ID; 621 } 621 622 622 623 /* Prepare the first packet fragment */ … … 805 806 size = MAX_UDP_FRAGMENT_SIZE; 806 807 if (tl_get_ip_packet_dimension(udp_globals.ip_sess, 807 &udp_globals.dimensions, NIC_DEVICE_INVALID_ID,808 &udp_globals.dimensions, DEVICE_INVALID_ID, 808 809 &packet_dimension) == EOK) { 809 810 if (packet_dimension->content < size)
Note:
See TracChangeset
for help on using the changeset viewer.