Changeset 89c57b6 in mainline for uspace/srv/net/net/net.h


Ignore:
Timestamp:
2011-04-13T14:45:41Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88634420
Parents:
cefb126 (diff), 17279ead (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/srv/net/net/net.h

    rcefb126 r89c57b6  
    3636 */
    3737
    38 #ifndef __NET_NET_H__
    39 #define __NET_NET_H__
     38#ifndef NET_NET_H_
     39#define NET_NET_H_
    4040
    41 #include <ipc/ipc.h>
    42 
    43 #include <net_device.h>
     41#include <net/device.h>
    4442#include <adt/char_map.h>
    4543#include <adt/generic_char_map.h>
    4644#include <adt/measured_strings.h>
    4745#include <adt/module_map.h>
    48 #include <packet/packet.h>
     46#include <net/packet.h>
    4947
    5048/** @name Modules definitions
     
    5250 */
    5351
    54 #define DP8390_FILENAME  "/srv/dp8390"
    55 #define DP8390_NAME      "dp8390"
     52#define NE2000_FILENAME  "/srv/ne2000"
     53#define NE2000_NAME      "ne2000"
    5654
    5755#define ETHERNET_FILENAME  "/srv/eth"
     
    103101       
    104102        /** Serving network interface driver module index. */
    105         module_ref driver;
     103        module_t *driver;
    106104       
    107105        device_id_t id;  /**< System-unique network interface identifier. */
    108         module_ref il;   /**< Serving internet layer module index. */
    109         char *name;      /**< System-unique network interface name. */
    110         module_ref nil;  /**< Serving link layer module index. */
     106        module_t *il;    /**< Serving internet layer module index. */
     107        uint8_t *name;   /**< System-unique network interface name. */
     108        module_t *nil;   /**< Serving link layer module index. */
    111109} netif_t;
    112110
     
    133131} net_globals_t;
    134132
    135 extern int add_configuration(measured_strings_ref, const char *, const char *);
    136 extern int net_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, int *);
     133extern int add_configuration(measured_strings_t *, const uint8_t *,
     134    const uint8_t *);
     135extern int net_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *);
    137136extern int net_initialize_build(async_client_conn_t);
    138 extern int net_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, int *);
     137extern int net_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *);
    139138
    140139#endif
Note: See TracChangeset for help on using the changeset viewer.