Rev 4715 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4715 | Rev 4720 | ||
---|---|---|---|
Line 57... | Line 57... | ||
57 | /** @name ICMP module interface |
57 | /** @name ICMP module interface |
58 | * This interface is used by other modules. |
58 | * This interface is used by other modules. |
59 | */ |
59 | */ |
60 | /*@{*/ |
60 | /*@{*/ |
61 | 61 | ||
- | 62 | /** Sends the Destination Unreachable error notification packet. |
|
- | 63 | * Beginning of the packet is sent as the notification packet data. |
|
- | 64 | * The source and the destination addresses should be set in the original packet. |
|
- | 65 | * @param icmp_phone The ICMP module phone used for (semi)remote calls. Input parameter. |
|
- | 66 | * @param code The error specific code. Input parameter. |
|
- | 67 | * @param mtu The error MTU value. Input parameter. |
|
- | 68 | * @param packet The original packet. |
|
62 | /** \todo |
69 | * @returns EOK on success. |
- | 70 | * @returns EPERM if the ICMP error notifications are disabled. |
|
- | 71 | * @returns ENOMEM if there is not enough memory left. |
|
63 | */ |
72 | */ |
64 | int icmp_destination_unreachable_msg( int icmp_phone, icmp_code_t code, icmp_param_t mtu, packet_t packet ); |
73 | int icmp_destination_unreachable_msg( int icmp_phone, icmp_code_t code, icmp_param_t mtu, packet_t packet ); |
65 | 74 | ||
- | 75 | /** Sends the Source Quench error notification packet. |
|
- | 76 | * Beginning of the packet is sent as the notification packet data. |
|
- | 77 | * The source and the destination addresses should be set in the original packet. |
|
- | 78 | * @param icmp_phone The ICMP module phone used for (semi)remote calls. Input parameter. |
|
- | 79 | * @param packet The original packet. |
|
66 | /** \todo |
80 | * @returns EOK on success. |
- | 81 | * @returns EPERM if the ICMP error notifications are disabled. |
|
- | 82 | * @returns ENOMEM if there is not enough memory left. |
|
67 | */ |
83 | */ |
68 | int icmp_source_quench_msg( int icmp_phone, packet_t packet ); |
84 | int icmp_source_quench_msg( int icmp_phone, packet_t packet ); |
69 | 85 | ||
- | 86 | /** Sends the Time Exceeded error notification packet. |
|
- | 87 | * Beginning of the packet is sent as the notification packet data. |
|
- | 88 | * The source and the destination addresses should be set in the original packet. |
|
- | 89 | * @param icmp_phone The ICMP module phone used for (semi)remote calls. Input parameter. |
|
- | 90 | * @param code The error specific code. Input parameter. |
|
- | 91 | * @param packet The original packet. |
|
70 | /** \todo |
92 | * @returns EOK on success. |
- | 93 | * @returns EPERM if the ICMP error notifications are disabled. |
|
- | 94 | * @returns ENOMEM if there is not enough memory left. |
|
71 | */ |
95 | */ |
72 | int icmp_time_exceeded_msg( int icmp_phone, icmp_code_t code, packet_t packet ); |
96 | int icmp_time_exceeded_msg( int icmp_phone, icmp_code_t code, packet_t packet ); |
73 | 97 | ||
- | 98 | /** Sends the Parameter Problem error notification packet. |
|
- | 99 | * Beginning of the packet is sent as the notification packet data. |
|
- | 100 | * The source and the destination addresses should be set in the original packet. |
|
- | 101 | * @param icmp_phone The ICMP module phone used for (semi)remote calls. Input parameter. |
|
- | 102 | * @param code The error specific code. Input parameter. |
|
- | 103 | * @param pointer The problematic parameter offset. Input parameter. |
|
- | 104 | * @param packet The original packet. |
|
74 | /** \todo |
105 | * @returns EOK on success. |
- | 106 | * @returns EPERM if the ICMP error notifications are disabled. |
|
- | 107 | * @returns ENOMEM if there is not enough memory left. |
|
75 | */ |
108 | */ |
76 | int icmp_parameter_problem_msg( int icmp_phone, icmp_code_t code, icmp_param_t pointer, packet_t packet ); |
109 | int icmp_parameter_problem_msg( int icmp_phone, icmp_code_t code, icmp_param_t pointer, packet_t packet ); |
77 | 110 | ||
78 | /*@}*/ |
111 | /*@}*/ |
79 | 112 |