Changeset ad7a6c9 in mainline for uspace/srv/net/net/net.h


Ignore:
Timestamp:
2011-03-30T13:10:24Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ae90f9
Parents:
6e50466 (diff), d6b81941 (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

    r6e50466 rad7a6c9  
    3939#define NET_NET_H_
    4040
    41 #include <ipc/ipc.h>
    42 
    4341#include <net/device.h>
    4442#include <adt/char_map.h>
     
    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"
     
    105103        module_t *driver;
    106104       
    107         device_id_t id; /**< System-unique network interface identifier. */
    108         module_t *il;   /**< Serving internet layer module index. */
    109         char *name;     /**< System-unique network interface name. */
    110         module_t *nil;  /**< Serving link layer module index. */
     105        device_id_t id;  /**< System-unique network interface identifier. */
     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_t *, 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.