Changeset 522253c1 in mainline for uspace/lib/c/include/ipc/il.h


Ignore:
Timestamp:
2010-10-15T18:56:09Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
779a47d
Parents:
f87ec535
Message:

Move Internet layer modules messages definitions to standard library.

File:
1 moved

Legend:

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

    rf87ec535 r522253c1  
    2727 */
    2828
    29 /** @addtogroup net_il
     29/** @addtogroup libc
    3030 * @{
    3131 */
     
    3737 */
    3838
    39 #ifndef __NET_IL_MESSAGES_H__
    40 #define __NET_IL_MESSAGES_H__
     39#ifndef LIBC_IL_MESSAGES_H_
     40#define LIBC_IL_MESSAGES_H_
    4141
    4242#include <ipc/ipc.h>
    4343#include <ipc/net.h>
    4444
    45 /** Internet layer modules messages.
    46  */
     45/** Internet layer modules messages. */
    4746typedef enum {
    4847        /** New device message.
    49          *  @see ip_device_req()
     48         * @see ip_device_req()
    5049         */
    5150        NET_IL_DEVICE = NET_IL_FIRST,
    5251        /** Device state changed message.
    53          *  @see il_device_state_msg()
     52         * @see il_device_state_msg()
    5453         */
    5554        NET_IL_DEVICE_STATE,
    5655        /** Device MTU changed message.
    57          *  @see il_mtu_changed_msg()
     56         * @see il_mtu_changed_msg()
    5857         */
    5958        NET_IL_MTU_CHANGED,
    6059        /** Packet size message.
    61          *  @see il_packet_size_req()
     60         * @see il_packet_size_req()
    6261         */
    6362        NET_IL_PACKET_SPACE,
    6463        /** Packet received message.
    65          *  @see il_received_msg()
     64         * @see il_received_msg()
    6665         */
    6766        NET_IL_RECEIVED,
    6867        /** Packet send message.
    69          *  @see il_send_msg()
     68         * @see il_send_msg()
    7069         */
    7170        NET_IL_SEND
    7271} il_messages;
    7372
    74 /** @name Internetwork layer specific message parameters definitions
    75  *
    76  */
     73/** @name Internetwork layer specific message parameters definitions */
    7774/*@{*/
    7875
    7976/** Return the protocol number message parameter.
    8077 * @param[in] call The message call structure.
    81  *
    8278 */
    83 #define IL_GET_PROTO(call)  (int) IPC_GET_ARG1(*call)
     79#define IL_GET_PROTO(call)      (int) IPC_GET_ARG1(*call)
    8480
    8581/** Return the registering service message parameter.
    8682 * @param[in] call The message call structure.
    87  *
    8883 */
    89 #define IL_GET_SERVICE(call)  (services_t) IPC_GET_ARG2(*call)
     84#define IL_GET_SERVICE(call)    (services_t) IPC_GET_ARG2(*call)
    9085
    9186/*@}*/
Note: See TracChangeset for help on using the changeset viewer.