Changeset 89c57b6 in mainline for uspace/srv/net/net/net.h
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.h
rcefb126 r89c57b6 36 36 */ 37 37 38 #ifndef __NET_NET_H__39 #define __NET_NET_H__38 #ifndef NET_NET_H_ 39 #define NET_NET_H_ 40 40 41 #include <ipc/ipc.h> 42 43 #include <net_device.h> 41 #include <net/device.h> 44 42 #include <adt/char_map.h> 45 43 #include <adt/generic_char_map.h> 46 44 #include <adt/measured_strings.h> 47 45 #include <adt/module_map.h> 48 #include < packet/packet.h>46 #include <net/packet.h> 49 47 50 48 /** @name Modules definitions … … 52 50 */ 53 51 54 #define DP8390_FILENAME "/srv/dp8390"55 #define DP8390_NAME "dp8390"52 #define NE2000_FILENAME "/srv/ne2000" 53 #define NE2000_NAME "ne2000" 56 54 57 55 #define ETHERNET_FILENAME "/srv/eth" … … 103 101 104 102 /** Serving network interface driver module index. */ 105 module_ refdriver;103 module_t *driver; 106 104 107 105 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. */ 111 109 } netif_t; 112 110 … … 133 131 } net_globals_t; 134 132 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 *); 133 extern int add_configuration(measured_strings_t *, const uint8_t *, 134 const uint8_t *); 135 extern int net_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *); 137 136 extern int net_initialize_build(async_client_conn_t); 138 extern int net_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, int *);137 extern int net_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *); 139 138 140 139 #endif
Note:
See TracChangeset
for help on using the changeset viewer.