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


Ignore:
Timestamp:
2010-11-20T17:10:35Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32eceb4f, 8b3bff5
Parents:
0b4a67a (diff), dd5046dd (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 from lp:~jakub/helenos/net.

File:
1 edited

Legend:

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

    r0b4a67a r7e1f9b7  
    190190 * @return              The result parameter.
    191191 */
    192 static int udp_release_and_return(packet_t packet, int result)
     192static int udp_release_and_return(packet_t *packet, int result)
    193193{
    194194        pq_release_remote(udp_globals.net_phone, packet_get_id(packet));
     
    217217 *                      ip_client_process_packet() function.
    218218 */
    219 static int udp_process_packet(device_id_t device_id, packet_t packet,
     219static int udp_process_packet(device_id_t device_id, packet_t *packet,
    220220    services_t error)
    221221{
     
    225225        udp_header_t *header;
    226226        socket_core_t *socket;
    227         packet_t next_packet;
     227        packet_t *next_packet;
    228228        size_t total_length;
    229229        uint32_t checksum;
    230230        int fragments;
    231         packet_t tmp_packet;
     231        packet_t *tmp_packet;
    232232        icmp_type_t type;
    233233        icmp_code_t code;
     
    413413 *                      udp_process_packet() function.
    414414 */
    415 static int udp_received_msg(device_id_t device_id, packet_t packet,
     415static int udp_received_msg(device_id_t device_id, packet_t *packet,
    416416    services_t receiver, services_t error)
    417417{
     
    458458{
    459459        socket_core_t *socket;
    460         packet_t packet;
    461         packet_t next_packet;
     460        packet_t *packet;
     461        packet_t *next_packet;
    462462        udp_header_t *header;
    463463        int index;
     
    614614        socket_core_t *socket;
    615615        int packet_id;
    616         packet_t packet;
     616        packet_t *packet;
    617617        udp_header_t *header;
    618618        struct sockaddr *addr;
     
    861861    ipc_call_t *answer, int *answer_count)
    862862{
    863         packet_t packet;
     863        packet_t *packet;
    864864        int rc;
    865865
Note: See TracChangeset for help on using the changeset viewer.