Changeset a9c6b966 in mainline for uspace/srv/net/il/arp/arp.c


Ignore:
Timestamp:
2010-11-19T22:04:12Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge netstart removal and doxytag cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/arp/arp.c

    ra7811f17 ra9c6b966  
    171171 * @param[in] service   The protocol module service.
    172172 * @param[in] address   The actual protocol device address.
    173  * @returns             EOK on success.
    174  * @returns             ENOMEM if there is not enough memory left.
     173 * @return              EOK on success.
     174 * @return              ENOMEM if there is not enough memory left.
    175175 */
    176176static int arp_proto_create(arp_proto_t **proto, services_t service,
     
    205205 * @param[in] protocol  The protocol service.
    206206 * @param[in] address   The actual device protocol address.
    207  * @returns             EOK on success.
    208  * @returns             EEXIST if another device with the same device identifier
     207 * @return              EOK on success.
     208 * @return              EEXIST if another device with the same device identifier
    209209 *                      and different driver service exists.
    210  * @returns             ENOMEM if there is not enough memory left.
    211  * @returns             Other error codes as defined for the
     210 * @return              ENOMEM if there is not enough memory left.
     211 * @return              Other error codes as defined for the
    212212 *                      measured_strings_return() function.
    213213 */
     
    356356 *  @param[in] client_connection The client connection processing function.
    357357 *                      The module skeleton propagates its own one.
    358  *  @returns            EOK on success.
    359  *  @returns            ENOMEM if there is not enough memory left.
     358 *  @return             EOK on success.
     359 *  @return             ENOMEM if there is not enough memory left.
    360360 */
    361361int arp_initialize(async_client_conn_t client_connection)
     
    376376 * @param[in] device_id The device identifier.
    377377 * @param[in] mtu       The new mtu value.
    378  * @returns             ENOENT if device is not found.
    379  * @returns             EOK on success.
     378 * @return              ENOENT if device is not found.
     379 * @return              EOK on success.
    380380 */
    381381static int arp_mtu_changed_message(device_id_t device_id, size_t mtu)
     
    404404 * @param[in] device_id The source device identifier.
    405405 * @param[in,out] packet The received packet.
    406  * @returns             EOK on success and the packet is no longer needed.
    407  * @returns             One on success and the packet has been reused.
    408  * @returns             EINVAL if the packet is too small to carry an ARP
     406 * @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
    409409 *                      packet.
    410  * @returns             EINVAL if the received address lengths differs from
     410 * @return              EINVAL if the received address lengths differs from
    411411 *                      the registered values.
    412  * @returns             ENOENT if the device is not found in the cache.
    413  * @returns             ENOENT if the protocol for the device is not found in
     412 * @return              ENOENT if the device is not found in the cache.
     413 * @return              ENOENT if the protocol for the device is not found in
    414414 *                      the cache.
    415  * @returns             ENOMEM if there is not enough memory left.
     415 * @return              ENOMEM if there is not enough memory left.
    416416 */
    417417static int arp_receive_message(device_id_t device_id, packet_t packet)
     
    516516 * @param[in] protocol  The protocol service.
    517517 * @param[in] target    The target protocol address.
    518  * @returns             The hardware address of the target.
    519  * @returns             NULL if the target parameter is NULL.
    520  * @returns             NULL if the device is not found.
    521  * @returns             NULL if the device packet is too small to send a
     518 * @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
    522522 *                      request.
    523  * @returns             NULL if the hardware address is not found in the cache.
     523 * @return              NULL if the hardware address is not found in the cache.
    524524 */
    525525static measured_string_t *
     
    602602 * @param[out] answer_count The last parameter for the actual answer in the
    603603 *                      answer parameter.
    604  * @returns             EOK on success.
    605  * @returns             ENOTSUP if the message is not known.
     604 * @return              EOK on success.
     605 * @return              ENOTSUP if the message is not known.
    606606 *
    607607 * @see arp_interface.h
     
    747747/** Starts the module.
    748748 *
    749  * @returns             EOK on success.
    750  * @returns             Other error codes as defined for each specific module
     749 * @return              EOK on success.
     750 * @return              Other error codes as defined for each specific module
    751751 *                      start function.
    752752 */
Note: See TracChangeset for help on using the changeset viewer.