Changeset ad7a6c9 in mainline for uspace/srv/net/net/net.h
- Timestamp:
- 2011-03-30T13:10:24Z (15 years ago)
- 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. - File:
-
- 1 edited
-
uspace/srv/net/net/net.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.h
r6e50466 rad7a6c9 39 39 #define NET_NET_H_ 40 40 41 #include <ipc/ipc.h>42 43 41 #include <net/device.h> 44 42 #include <adt/char_map.h> … … 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" … … 105 103 module_t *driver; 106 104 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. */ 111 109 } netif_t; 112 110 … … 133 131 } net_globals_t; 134 132 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 *); 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.
