Changeset 1affcdf3 in mainline for uspace/lib/net/tl
- Timestamp:
- 2011-06-10T19:33:41Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1878386
- Parents:
- 13ecdac9 (diff), 79a141a (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. - Location:
- uspace/lib/net/tl
- Files:
-
- 2 edited
-
icmp_remote.c (modified) (5 diffs)
-
tl_skel.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_remote.c
r13ecdac9 r1affcdf3 41 41 42 42 #include <async.h> 43 #include <async_obsolete.h> 43 44 #include <errno.h> 44 45 #include <ipc/services.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 async_obsolete_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (sysarg_t) code, 67 68 (sysarg_t) packet_get_id(packet), (sysarg_t) mtu); 68 69 return EOK; … … 83 84 int icmp_source_quench_msg(int icmp_phone, packet_t *packet) 84 85 { 85 async_ msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0,86 async_obsolete_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0, 86 87 (sysarg_t) packet_get_id(packet)); 87 88 return EOK; … … 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 async_obsolete_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (sysarg_t) code, 106 107 (sysarg_t) packet_get_id(packet)); 107 108 return EOK; … … 125 126 icmp_param_t pointer, packet_t *packet) 126 127 { 127 async_ msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (sysarg_t) code,128 async_obsolete_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (sysarg_t) code, 128 129 (sysarg_t) packet_get_id(packet), (sysarg_t) pointer); 129 130 return EOK; -
uspace/lib/net/tl/tl_skel.c
r13ecdac9 r1affcdf3 42 42 #include <net/modules.h> 43 43 44 // FIXME: remove this header 45 #include <kernel/ipc/ipc_methods.h> 46 44 47 /** Default thread for new connections. 45 48 * … … 77 80 * result. 78 81 */ 79 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || 80 (res == EHANGUP)) 82 if ((!IPC_GET_IMETHOD(call)) || (res == EHANGUP)) 81 83 return; 82 84
Note:
See TracChangeset
for help on using the changeset viewer.
