Changeset 357b5f5 in mainline for uspace/lib/net/tl/icmp_remote.c


Ignore:
Timestamp:
2011-01-23T20:09:13Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fdb9982c
Parents:
cead2aa (diff), 7e36c8d (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/lib/net/tl/icmp_remote.c

    rcead2aa r357b5f5  
    3333/** @file
    3434 * ICMP interface implementation for remote modules.
    35  * @see icmp_interface.h
     35 * @see icmp_remote.h
    3636 */
    3737
    38 #include <icmp_interface.h>
     38#include <icmp_remote.h>
    3939#include <net/modules.h>
    4040#include <packet_client.h>
     
    6565    icmp_param_t mtu, packet_t *packet)
    6666{
    67         async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (ipcarg_t) code,
    68             (ipcarg_t) packet_get_id(packet), (ipcarg_t) mtu);
     67        async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (sysarg_t) code,
     68            (sysarg_t) packet_get_id(packet), (sysarg_t) mtu);
    6969        return EOK;
    7070}
     
    8585{
    8686        async_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0,
    87             (ipcarg_t) packet_get_id(packet));
     87            (sysarg_t) packet_get_id(packet));
    8888        return EOK;
    8989}
     
    104104int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t *packet)
    105105{
    106         async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (ipcarg_t) code,
    107             (ipcarg_t) packet_get_id(packet));
     106        async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (sysarg_t) code,
     107            (sysarg_t) packet_get_id(packet));
    108108        return EOK;
    109109}
     
    126126    icmp_param_t pointer, packet_t *packet)
    127127{
    128         async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (ipcarg_t) code,
    129             (ipcarg_t) packet_get_id(packet), (ipcarg_t) pointer);
     128        async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (sysarg_t) code,
     129            (sysarg_t) packet_get_id(packet), (sysarg_t) pointer);
    130130        return EOK;
    131131}
Note: See TracChangeset for help on using the changeset viewer.