Changeset 357b5f5 in mainline for uspace/lib/c/include/ipc/il.h


Ignore:
Timestamp:
2011-01-23T20:09:13Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fdb9982c
Parents:
cead2aa (diff), 7e36c8d (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

    rcead2aa r357b5f5  
    3333/** @file
    3434 * Internetwork layer modules messages.
    35  * @see il_interface.h
     35 * @see il_remote.h
    3636 * @see ip_interface.h
    3737 */
     
    4545/** Internet layer modules messages. */
    4646typedef enum {
    47         /** New device message.
    48          * @see ip_device_req()
    49          */
    50         NET_IL_DEVICE = NET_IL_FIRST,
    5147        /** Device state changed message.
    5248         * @see il_device_state_msg()
    5349         */
    54         NET_IL_DEVICE_STATE,
     50        NET_IL_DEVICE_STATE = NET_IL_FIRST,
     51       
    5552        /** Device MTU changed message.
    5653         * @see il_mtu_changed_msg()
    5754         */
    5855        NET_IL_MTU_CHANGED,
    59         /** Packet size message.
    60          * @see il_packet_size_req()
    61          */
    62         NET_IL_PACKET_SPACE,
     56       
    6357        /** Packet received message.
    6458         * @see il_received_msg()
    6559         */
    66         NET_IL_RECEIVED,
    67         /** Packet send message.
    68          * @see il_send_msg()
    69          */
    70         NET_IL_SEND
     60        NET_IL_RECEIVED
    7161} il_messages;
    7262
     
    7565
    7666/** Return the protocol number message parameter.
    77  * @param[in] call The message call structure.
     67 *
     68 * @param[in] call Message call structure.
     69 *
    7870 */
    79 #define IL_GET_PROTO(call)      (int) IPC_GET_ARG1(*call)
     71#define IL_GET_PROTO(call)  ((int) IPC_GET_ARG1(call))
    8072
    8173/** Return the registering service message parameter.
    82  * @param[in] call The message call structure.
     74 *
     75 * @param[in] call Message call structure.
     76 *
    8377 */
    84 #define IL_GET_SERVICE(call)    (services_t) IPC_GET_ARG2(*call)
     78#define IL_GET_SERVICE(call)  ((services_t) IPC_GET_ARG2(call))
    8579
    8680/*@}*/
Note: See TracChangeset for help on using the changeset viewer.