Changeset 8b5690f in mainline for uspace/lib/c/include/ipc/il.h


Ignore:
Timestamp:
2011-02-03T05:11:01Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba38f72c
Parents:
22027b6e (diff), 86d7bfa (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 mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/il.h

    r22027b6e r8b5690f  
    3333/** @file
    3434 * Internetwork layer modules messages.
    35  * @see il_interface.h
     35 * @see il_remote.h
    3636 * @see ip_interface.h
    3737 */
     
    4040#define LIBC_IL_MESSAGES_H_
    4141
    42 #include <ipc/ipc.h>
    4342#include <ipc/net.h>
    4443
    4544/** Internet layer modules messages. */
    4645typedef enum {
    47         /** New device message.
    48          * @see ip_device_req()
    49          */
    50         NET_IL_DEVICE = NET_IL_FIRST,
    5146        /** Device state changed message.
    5247         * @see il_device_state_msg()
    5348         */
    54         NET_IL_DEVICE_STATE,
     49        NET_IL_DEVICE_STATE = NET_IL_FIRST,
     50       
    5551        /** Device MTU changed message.
    5652         * @see il_mtu_changed_msg()
    5753         */
    5854        NET_IL_MTU_CHANGED,
    59         /** Packet size message.
    60          * @see il_packet_size_req()
    61          */
    62         NET_IL_PACKET_SPACE,
     55       
    6356        /** Packet received message.
    6457         * @see il_received_msg()
    6558         */
    66         NET_IL_RECEIVED,
    67         /** Packet send message.
    68          * @see il_send_msg()
    69          */
    70         NET_IL_SEND
     59        NET_IL_RECEIVED
    7160} il_messages;
    7261
     
    7564
    7665/** Return the protocol number message parameter.
    77  * @param[in] call The message call structure.
     66 *
     67 * @param[in] call Message call structure.
     68 *
    7869 */
    79 #define IL_GET_PROTO(call)      (int) IPC_GET_ARG1(*call)
     70#define IL_GET_PROTO(call)  ((int) IPC_GET_ARG1(call))
    8071
    8172/** Return the registering service message parameter.
    82  * @param[in] call The message call structure.
     73 *
     74 * @param[in] call Message call structure.
     75 *
    8376 */
    84 #define IL_GET_SERVICE(call)    (services_t) IPC_GET_ARG2(*call)
     77#define IL_GET_SERVICE(call)  ((services_t) IPC_GET_ARG2(call))
    8578
    8679/*@}*/
Note: See TracChangeset for help on using the changeset viewer.