Ignore:
File:
1 edited

Legend:

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

    r64d2b10 r522253c1  
    3333/** @file
    3434 * Internetwork layer modules messages.
    35  * @see il_remote.h
     35 * @see il_interface.h
    3636 * @see ip_interface.h
    3737 */
     
    4040#define LIBC_IL_MESSAGES_H_
    4141
     42#include <ipc/ipc.h>
    4243#include <ipc/net.h>
    4344
    4445/** Internet layer modules messages. */
    4546typedef enum {
     47        /** New device message.
     48         * @see ip_device_req()
     49         */
     50        NET_IL_DEVICE = NET_IL_FIRST,
    4651        /** Device state changed message.
    4752         * @see il_device_state_msg()
    4853         */
    49         NET_IL_DEVICE_STATE = NET_IL_FIRST,
    50        
     54        NET_IL_DEVICE_STATE,
    5155        /** Device MTU changed message.
    5256         * @see il_mtu_changed_msg()
    5357         */
    5458        NET_IL_MTU_CHANGED,
    55        
     59        /** Packet size message.
     60         * @see il_packet_size_req()
     61         */
     62        NET_IL_PACKET_SPACE,
    5663        /** Packet received message.
    5764         * @see il_received_msg()
    5865         */
    59         NET_IL_RECEIVED
     66        NET_IL_RECEIVED,
     67        /** Packet send message.
     68         * @see il_send_msg()
     69         */
     70        NET_IL_SEND
    6071} il_messages;
    6172
     
    6475
    6576/** Return the protocol number message parameter.
    66  *
    67  * @param[in] call Message call structure.
    68  *
     77 * @param[in] call The message call structure.
    6978 */
    70 #define IL_GET_PROTO(call)  ((int) IPC_GET_ARG1(call))
     79#define IL_GET_PROTO(call)      (int) IPC_GET_ARG1(*call)
    7180
    7281/** Return the registering service message parameter.
    73  *
    74  * @param[in] call Message call structure.
    75  *
     82 * @param[in] call The message call structure.
    7683 */
    77 #define IL_GET_SERVICE(call)  ((services_t) IPC_GET_ARG2(call))
     84#define IL_GET_SERVICE(call)    (services_t) IPC_GET_ARG2(*call)
    7885
    7986/*@}*/
Note: See TracChangeset for help on using the changeset viewer.