Changes in uspace/lib/net/tl/icmp_remote.c [a26b9e3:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_remote.c
ra26b9e3 r46d4d9f 57 57 * @param[in] mtu The error MTU value. 58 58 * @param[in] packet The original packet. 59 * @return sEOK on success.60 * @return sEPERM if the ICMP error notifications are disabled.61 * @return sENOMEM if there is not enough memory left.59 * @return EOK on success. 60 * @return EPERM if the ICMP error notifications are disabled. 61 * @return ENOMEM if there is not enough memory left. 62 62 */ 63 63 int 64 64 icmp_destination_unreachable_msg(int icmp_phone, icmp_code_t code, 65 icmp_param_t mtu, packet_t packet)65 icmp_param_t mtu, packet_t *packet) 66 66 { 67 67 async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (ipcarg_t) code, … … 78 78 * @param[in] icmp_phone The ICMP module phone used for (semi)remote calls. 79 79 * @param[in] packet The original packet. 80 * @return sEOK on success.81 * @return sEPERM if the ICMP error notifications are disabled.82 * @return sENOMEM if there is not enough memory left.80 * @return EOK on success. 81 * @return EPERM if the ICMP error notifications are disabled. 82 * @return ENOMEM if there is not enough memory left. 83 83 */ 84 int icmp_source_quench_msg(int icmp_phone, packet_t packet)84 int icmp_source_quench_msg(int icmp_phone, packet_t *packet) 85 85 { 86 86 async_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0, … … 98 98 * @param[in] code The error specific code. 99 99 * @param[in] packet The original packet. 100 * @return sEOK on success.101 * @return sEPERM if the ICMP error notifications are disabled.102 * @return sENOMEM if there is not enough memory left.100 * @return EOK on success. 101 * @return EPERM if the ICMP error notifications are disabled. 102 * @return ENOMEM if there is not enough memory left. 103 103 */ 104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t packet)104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t *packet) 105 105 { 106 106 async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (ipcarg_t) code, … … 119 119 * @param[in] pointer The problematic parameter offset. 120 120 * @param[in] packet The original packet. 121 * @return sEOK on success.122 * @return sEPERM if the ICMP error notifications are disabled.123 * @return sENOMEM if there is not enough memory left.121 * @return EOK on success. 122 * @return EPERM if the ICMP error notifications are disabled. 123 * @return ENOMEM if there is not enough memory left. 124 124 */ 125 125 int icmp_parameter_problem_msg(int icmp_phone, icmp_code_t code, 126 icmp_param_t pointer, packet_t packet)126 icmp_param_t pointer, packet_t *packet) 127 127 { 128 128 async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (ipcarg_t) code,
Note:
See TracChangeset
for help on using the changeset viewer.