Rev 4720 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4720 | Rev 4721 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | #include <fibril_sync.h> |
40 | #include <fibril_sync.h> |
| 41 | 41 | ||
| 42 | #include "../../include/icmp_codes.h" |
42 | #include "../../include/icmp_codes.h" |
| 43 | 43 | ||
| 44 | #include "../../structures/int_map.h" |
44 | #include "../../structures/int_map.h" |
| 45 | #include "../../structures/generic_field.h" |
- | |
| 46 | 45 | ||
| 47 | #include "icmp_header.h" |
46 | #include "icmp_header.h" |
| 48 | 47 | ||
| 49 | /** Type definition of the ICMP reply data. |
48 | /** Type definition of the ICMP reply data. |
| 50 | * @see icmp_reply |
49 | * @see icmp_reply |
| Line 66... | Line 65... | ||
| 66 | * Sending fibril waits for its associated reply event. |
65 | * Sending fibril waits for its associated reply event. |
| 67 | * Receiving fibril sets the associated reply with the return value and signals the event. |
66 | * Receiving fibril sets the associated reply with the return value and signals the event. |
| 68 | */ |
67 | */ |
| 69 | INT_MAP_DECLARE( icmp_replies, icmp_reply_t ); |
68 | INT_MAP_DECLARE( icmp_replies, icmp_reply_t ); |
| 70 | 69 | ||
| 71 | /** Echo specific data field. |
70 | /** Echo specific data map. |
| 72 | * Used for bundle modules. |
- | |
| 73 | * The bundle module gets an index to the assigned echo specific data while connecting. |
71 | * The bundle module gets an identifier of the assigned echo specific data while connecting. |
| 74 | * The index is used in the future semi-remote calls instead of the ICMP phone. |
72 | * The identifier is used in the future semi-remote calls instead of the ICMP phone. |
| 75 | */ |
73 | */ |
| 76 | GENERIC_FIELD_DECLARE( icmp_echo_data, icmp_echo_t ); |
74 | INT_MAP_DECLARE( icmp_echo_data, icmp_echo_t ); |
| 77 | 75 | ||
| 78 | /** ICMP reply data. |
76 | /** ICMP reply data. |
| 79 | */ |
77 | */ |
| 80 | struct icmp_reply{ |
78 | struct icmp_reply{ |
| 81 | /** Reply result. |
79 | /** Reply result. |