Changeset a9c6b966 in mainline for uspace/srv/net/il/arp/arp.c
- Timestamp:
- 2010-11-19T22:04:12Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b4a67a, fdbc3ff
- Parents:
- a7811f17 (diff), 1bfd3d3 (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/srv/net/il/arp/arp.c
ra7811f17 ra9c6b966 171 171 * @param[in] service The protocol module service. 172 172 * @param[in] address The actual protocol device address. 173 * @return sEOK on success.174 * @return sENOMEM if there is not enough memory left.173 * @return EOK on success. 174 * @return ENOMEM if there is not enough memory left. 175 175 */ 176 176 static int arp_proto_create(arp_proto_t **proto, services_t service, … … 205 205 * @param[in] protocol The protocol service. 206 206 * @param[in] address The actual device protocol address. 207 * @return sEOK on success.208 * @return sEEXIST if another device with the same device identifier207 * @return EOK on success. 208 * @return EEXIST if another device with the same device identifier 209 209 * and different driver service exists. 210 * @return sENOMEM if there is not enough memory left.211 * @return sOther error codes as defined for the210 * @return ENOMEM if there is not enough memory left. 211 * @return Other error codes as defined for the 212 212 * measured_strings_return() function. 213 213 */ … … 356 356 * @param[in] client_connection The client connection processing function. 357 357 * The module skeleton propagates its own one. 358 * @return sEOK on success.359 * @return sENOMEM if there is not enough memory left.358 * @return EOK on success. 359 * @return ENOMEM if there is not enough memory left. 360 360 */ 361 361 int arp_initialize(async_client_conn_t client_connection) … … 376 376 * @param[in] device_id The device identifier. 377 377 * @param[in] mtu The new mtu value. 378 * @return sENOENT if device is not found.379 * @return sEOK on success.378 * @return ENOENT if device is not found. 379 * @return EOK on success. 380 380 */ 381 381 static int arp_mtu_changed_message(device_id_t device_id, size_t mtu) … … 404 404 * @param[in] device_id The source device identifier. 405 405 * @param[in,out] packet The received packet. 406 * @return sEOK on success and the packet is no longer needed.407 * @return sOne on success and the packet has been reused.408 * @return sEINVAL if the packet is too small to carry an ARP406 * @return EOK on success and the packet is no longer needed. 407 * @return One on success and the packet has been reused. 408 * @return EINVAL if the packet is too small to carry an ARP 409 409 * packet. 410 * @return sEINVAL if the received address lengths differs from410 * @return EINVAL if the received address lengths differs from 411 411 * the registered values. 412 * @return sENOENT if the device is not found in the cache.413 * @return sENOENT if the protocol for the device is not found in412 * @return ENOENT if the device is not found in the cache. 413 * @return ENOENT if the protocol for the device is not found in 414 414 * the cache. 415 * @return sENOMEM if there is not enough memory left.415 * @return ENOMEM if there is not enough memory left. 416 416 */ 417 417 static int arp_receive_message(device_id_t device_id, packet_t packet) … … 516 516 * @param[in] protocol The protocol service. 517 517 * @param[in] target The target protocol address. 518 * @return sThe hardware address of the target.519 * @return sNULL if the target parameter is NULL.520 * @return sNULL if the device is not found.521 * @return sNULL if the device packet is too small to send a518 * @return The hardware address of the target. 519 * @return NULL if the target parameter is NULL. 520 * @return NULL if the device is not found. 521 * @return NULL if the device packet is too small to send a 522 522 * request. 523 * @return sNULL if the hardware address is not found in the cache.523 * @return NULL if the hardware address is not found in the cache. 524 524 */ 525 525 static measured_string_t * … … 602 602 * @param[out] answer_count The last parameter for the actual answer in the 603 603 * answer parameter. 604 * @return sEOK on success.605 * @return sENOTSUP if the message is not known.604 * @return EOK on success. 605 * @return ENOTSUP if the message is not known. 606 606 * 607 607 * @see arp_interface.h … … 747 747 /** Starts the module. 748 748 * 749 * @return sEOK on success.750 * @return sOther error codes as defined for each specific module749 * @return EOK on success. 750 * @return Other error codes as defined for each specific module 751 751 * start function. 752 752 */
Note:
See TracChangeset
for help on using the changeset viewer.