Changeset 8fb1bf82 in mainline for uspace/lib/net/il/arp_remote.c
- Timestamp:
- 2010-11-25T13:42:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8df8415
- Parents:
- a93d79a (diff), eb667613 (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/il/arp_remote.c
ra93d79a r8fb1bf82 52 52 * 53 53 * @param service The ARP module service. Ignored parameter. 54 * @return sThe ARP module phone on success.54 * @return The ARP module phone on success. 55 55 */ 56 56 int arp_connect_module(services_t service) … … 65 65 * 66 66 * @param[in] arp_phone The ARP module phone used for (semi)remote calls. 67 * @return sEOK on success.67 * @return EOK on success. 68 68 */ 69 69 int arp_clean_cache_req(int arp_phone) … … 78 78 * @param[in] protocol The requesting protocol service. 79 79 * @param[in] address The protocol address to be cleared. 80 * @return sEOK on success.81 * @return sENOENT if the mapping is not found.80 * @return EOK on success. 81 * @return ENOENT if the mapping is not found. 82 82 */ 83 83 int 84 84 arp_clear_address_req(int arp_phone, device_id_t device_id, services_t protocol, 85 measured_string_ refaddress)85 measured_string_t *address) 86 86 { 87 87 aid_t message_id; … … 100 100 * @param[in] arp_phone The ARP module phone used for (semi)remote calls. 101 101 * @param[in] device_id The device identifier. 102 * @return sEOK on success.103 * @return sENOENT if the device is not found.102 * @return EOK on success. 103 * @return ENOENT if the device is not found. 104 104 */ 105 105 int arp_clear_device_req(int arp_phone, device_id_t device_id) … … 119 119 * @param[in] netif The underlying device network interface layer service. 120 120 * @param[in] address The local requesting protocol address of the device. 121 * @return sEOK on success.122 * @return sEEXIST if the device is already used.123 * @return sENOMEM if there is not enough memory left.124 * @return sENOENT if the network interface service is not known.125 * @return sEREFUSED if the network interface service is not121 * @return EOK on success. 122 * @return EEXIST if the device is already used. 123 * @return ENOMEM if there is not enough memory left. 124 * @return ENOENT if the network interface service is not known. 125 * @return EREFUSED if the network interface service is not 126 126 * responding. 127 * @return sOther error codes as defined for the127 * @return Other error codes as defined for the 128 128 * nil_packet_get_size() function. 129 * @return sOther error codes as defined for the nil_get_addr()129 * @return Other error codes as defined for the nil_get_addr() 130 130 * function. 131 * @return sOther error codes as defined for the131 * @return Other error codes as defined for the 132 132 * nil_get_broadcast_addr() function. 133 133 */ 134 134 int arp_device_req(int arp_phone, device_id_t device_id, services_t protocol, 135 services_t netif, measured_string_ refaddress)135 services_t netif, measured_string_t *address) 136 136 { 137 137 aid_t message_id; … … 157 157 * @param[out] translation The translation of the local protocol address. 158 158 * @param[out] data The allocated raw translation data container. 159 * @return sEOK on success.160 * @return sEINVAL if the address parameter is NULL.161 * @return sEBADMEM if the translation or the data parameters are159 * @return EOK on success. 160 * @return EINVAL if the address parameter is NULL. 161 * @return EBADMEM if the translation or the data parameters are 162 162 * NULL. 163 * @return sENOENT if the mapping is not found.163 * @return ENOENT if the mapping is not found. 164 164 */ 165 165 int 166 166 arp_translate_req(int arp_phone, device_id_t device_id, services_t protocol, 167 measured_string_ ref address, measured_string_ref*translation, char **data)167 measured_string_t *address, measured_string_t **translation, char **data) 168 168 { 169 169 return generic_translate_req(arp_phone, NET_ARP_TRANSLATE, device_id,
Note:
See TracChangeset
for help on using the changeset viewer.