Changeset d7ff048 in mainline for uspace/srv/net/tl/udp/udp.c


Ignore:
Timestamp:
2011-10-08T13:08:53Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf08ff0
Parents:
8367d1d (diff), 80099c19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/udp/udp.c

    r8367d1d rd7ff048  
    124124 *                      ip_client_process_packet() function.
    125125 */
    126 static int udp_process_packet(device_id_t device_id, packet_t *packet,
     126static int udp_process_packet(nic_device_id_t device_id, packet_t *packet,
    127127    services_t error)
    128128{
     
    322322 *                      udp_process_packet() function.
    323323 */
    324 static int udp_received_msg(device_id_t device_id, packet_t *packet,
     324static int udp_received_msg(nic_device_id_t device_id, packet_t *packet,
    325325    services_t receiver, services_t error)
    326326{
     
    499499        void *ip_header;
    500500        size_t headerlen;
    501         device_id_t device_id;
     501        nic_device_id_t device_id;
    502502        packet_dimension_t *packet_dimension;
    503503        size_t size;
     
    617617                    htons(flip_checksum(compact_checksum(checksum)));
    618618                free(ip_header);
    619         } else {
    620                 device_id = DEVICE_INVALID_ID;
    621         }
     619        } else
     620                device_id = NIC_DEVICE_INVALID_ID;
    622621
    623622        /* Prepare the first packet fragment */
     
    806805                        size = MAX_UDP_FRAGMENT_SIZE;
    807806                        if (tl_get_ip_packet_dimension(udp_globals.ip_sess,
    808                             &udp_globals.dimensions, DEVICE_INVALID_ID,
     807                            &udp_globals.dimensions, NIC_DEVICE_INVALID_ID,
    809808                            &packet_dimension) == EOK) {
    810809                                if (packet_dimension->content < size)
Note: See TracChangeset for help on using the changeset viewer.