Changeset 3a5d892f in mainline


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

Move networking subsystem central module messages definitions to standard library.

Location:
uspace
Files:
3 edited
1 moved

Legend:

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

    r779a47d r3a5d892f  
    2727 */
    2828
    29 /** @addtogroup net
    30  *  @{
     29/** @addtogroup libc
     30 * @{
    3131 */
    3232
    3333/** @file
    34  *  Networking subsystem central module messages.
    35  *  @see net_interface.h
     34 * Networking subsystem central module messages.
     35 * @see net_interface.h
    3636 */
    3737
    38 #ifndef __NET_NET_MESSAGES_H__
    39 #define __NET_NET_MESSAGES_H__
     38#ifndef LIBC_NET_NET_MESSAGES_H_
     39#define LIBC_NET_NET_MESSAGES_H_
    4040
    4141#include <ipc/ipc.h>
    4242#include <ipc/net.h>
    4343
    44 /** Networking subsystem central module messages.
    45  */
    46 typedef enum{
     44/** Networking subsystem central module messages. */
     45typedef enum {
    4746        /** Returns the general configuration
    48          *  @see net_get_conf_req()
     47         * @see net_get_conf_req()
    4948         */
    5049        NET_NET_GET_CONF = NET_FIRST,
    5150        /** Returns the device specific configuration
    52          *  @see net_get_device_conf_req()
     51         * @see net_get_device_conf_req()
    5352         */
    5453        NET_NET_GET_DEVICE_CONF,
    55         /** Starts the networking stack.
    56          */
     54        /** Starts the networking stack. */
    5755        NET_NET_STARTUP,
    5856} net_messages;
  • uspace/lib/net/generic/net_remote.c

    r779a47d r3a5d892f  
    3737
    3838#include <ipc/services.h>
     39#include <ipc/net_net.h>
    3940
    4041#include <malloc.h>
     
    4546#include <net_interface.h>
    4647#include <adt/measured_strings.h>
    47 #include <net_net_messages.h>
    4848
    4949int net_connect_module(services_t service)
  • uspace/srv/net/net/net.c

    r779a47d r3a5d892f  
    4848#include <ipc/services.h>
    4949#include <ipc/net.h>
     50#include <ipc/net_net.h>
    5051#include <ipc/il.h>
    5152
     
    6162#include <net_interface.h>
    6263#include <ip_interface.h>
    63 #include <net_net_messages.h>
    6464
    6565#include "net.h"
  • uspace/srv/net/netstart/netstart.c

    r779a47d r3a5d892f  
    4848#include <ipc/ipc.h>
    4949#include <ipc/services.h>
     50#include <ipc/net_net.h>
    5051
    5152#include <net/modules.h>
    52 #include <net_net_messages.h>
    5353
    5454#include "self_test.h"
Note: See TracChangeset for help on using the changeset viewer.