Changes in uspace/lib/net/tl/icmp_remote.c [ffa2c8ef:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_remote.c
rffa2c8ef r46d4d9f 33 33 /** @file 34 34 * ICMP interface implementation for remote modules. 35 * @see icmp_ remote.h35 * @see icmp_interface.h 36 36 */ 37 37 38 #include <icmp_ remote.h>38 #include <icmp_interface.h> 39 39 #include <net/modules.h> 40 40 #include <packet_client.h> … … 42 42 #include <async.h> 43 43 #include <errno.h> 44 #include <ipc/ipc.h> 44 45 #include <ipc/services.h> 45 46 #include <ipc/icmp.h> … … 64 65 icmp_param_t mtu, packet_t *packet) 65 66 { 66 async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, ( sysarg_t) code,67 ( sysarg_t) packet_get_id(packet), (sysarg_t) mtu);67 async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (ipcarg_t) code, 68 (ipcarg_t) packet_get_id(packet), (ipcarg_t) mtu); 68 69 return EOK; 69 70 } … … 84 85 { 85 86 async_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0, 86 ( sysarg_t) packet_get_id(packet));87 (ipcarg_t) packet_get_id(packet)); 87 88 return EOK; 88 89 } … … 103 104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t *packet) 104 105 { 105 async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, ( sysarg_t) code,106 ( sysarg_t) packet_get_id(packet));106 async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (ipcarg_t) code, 107 (ipcarg_t) packet_get_id(packet)); 107 108 return EOK; 108 109 } … … 125 126 icmp_param_t pointer, packet_t *packet) 126 127 { 127 async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, ( sysarg_t) code,128 ( sysarg_t) packet_get_id(packet), (sysarg_t) pointer);128 async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (ipcarg_t) code, 129 (ipcarg_t) packet_get_id(packet), (ipcarg_t) pointer); 129 130 return EOK; 130 131 }
Note:
See TracChangeset
for help on using the changeset viewer.