Changeset 00d7e1b in mainline for uspace/srv/net/net/net.h
- Timestamp:
- 2011-10-07T20:20:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49bd793b
- Parents:
- e2c50e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.h
re2c50e1 r00d7e1b 32 32 */ 33 33 34 /** @file35 * Networking subsystem central module.36 *37 */38 39 34 #ifndef NET_NET_H_ 40 35 #define NET_NET_H_ … … 48 43 #include <devman.h> 49 44 50 /** @name Modules definitions 51 * @{ 52 */ 45 #define NAME "net" 53 46 54 47 #define ETHERNET_FILENAME "/srv/eth" … … 95 88 */ 96 89 typedef struct { 97 uint8_t *name; /**< System-unique network interface name. */ 98 nic_device_id_t id; /**< System-unique network interface identifier. */ 99 measured_strings_t configuration; /**< Configuration. */ 90 /** System-unique network interface name. */ 91 uint8_t *name; 92 /** System-unique network interface identifier. */ 93 nic_device_id_t id; 94 /** Configuration. */ 95 measured_strings_t configuration; 100 96 101 97 /** Serving network interface driver module index. */ 102 devman_handle_t handle; 103 async_sess_t *sess; 98 devman_handle_t handle; /**< Handle for devman */ 99 async_sess_t *sess; /**< Driver session. */ 104 100 105 module_t *nil; 106 module_t *il; 101 module_t *nil; /**< Serving link layer module index. */ 102 module_t *il; /**< Serving internet layer module index. */ 107 103 } netif_t; 108 104 … … 129 125 } net_globals_t; 130 126 131 extern int add_configuration(measured_strings_t *, const uint8_t *,132 const uint8_t *);133 extern int net_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *);134 extern int net_initialize_build(async_client_conn_t);135 extern int net_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, size_t *);136 137 127 #endif 138 128
Note:
See TracChangeset
for help on using the changeset viewer.