Changeset 87b4baa in mainline for uspace/lib/net/tl/icmp_remote.c
- Timestamp:
- 2010-12-17T20:16:46Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 424558a
- Parents:
- 463e734 (diff), bbc74af7 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_remote.c
r463e734 r87b4baa 65 65 icmp_param_t mtu, packet_t *packet) 66 66 { 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); 69 69 return EOK; 70 70 } … … 85 85 { 86 86 async_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0, 87 ( ipcarg_t) packet_get_id(packet));87 (sysarg_t) packet_get_id(packet)); 88 88 return EOK; 89 89 } … … 104 104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t *packet) 105 105 { 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)); 108 108 return EOK; 109 109 } … … 126 126 icmp_param_t pointer, packet_t *packet) 127 127 { 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); 130 130 return EOK; 131 131 }
Note:
See TracChangeset
for help on using the changeset viewer.