Changes in uspace/srv/net/net/net.h [01a9ef5:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.h
r01a9ef5 raadf01e 155 155 * @see device.h 156 156 */ 157 DEVICE_MAP_DECLARE( netifs, netif_t)157 DEVICE_MAP_DECLARE(netifs, netif_t) 158 158 159 159 /** Configuration settings. … … 161 161 * @see generic_char_map.h 162 162 */ 163 GENERIC_CHAR_MAP_DECLARE( measured_strings, measured_string_t)163 GENERIC_CHAR_MAP_DECLARE(measured_strings, measured_string_t) 164 164 165 165 /** Present network interface device. … … 168 168 /** System-unique network interface identifier. 169 169 */ 170 device_id_t 170 device_id_t id; 171 171 /** Serving network interface driver module index. 172 172 */ 173 module_ref 173 module_ref driver; 174 174 /** Serving link layer module index. 175 175 */ 176 module_ref 176 module_ref nil; 177 177 /** Serving internet layer module index. 178 178 */ 179 module_ref 179 module_ref il; 180 180 /** System-unique network interface name. 181 181 */ 182 char * 182 char * name; 183 183 /** Configuration. 184 184 */ 185 measured_strings_t 185 measured_strings_t configuration; 186 186 }; 187 187 … … 191 191 /** Present network interfaces. 192 192 */ 193 netifs_t 193 netifs_t netifs; 194 194 /** Network interface structure indices by names. 195 195 */ 196 char_map_t 196 char_map_t netif_names; 197 197 /** Available modules. 198 198 */ 199 modules_t 199 modules_t modules; 200 200 /** Global configuration. 201 201 */ 202 measured_strings_t 202 measured_strings_t configuration; 203 203 }; 204 204 … … 210 210 * @returns ENOMEM if there is not enough memory left. 211 211 */ 212 int add_configuration( measured_strings_ref configuration, const char * name, const char * value);212 int add_configuration(measured_strings_ref configuration, const char * name, const char * value); 213 213 214 214 /** Processes the networking message. … … 222 222 * @see IS_NET_NET_MESSAGE() 223 223 */ 224 int net_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);224 int net_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count); 225 225 226 226 /** Initializes the networking module for the chosen subsystem build type. … … 229 229 * @returns ENOMEM if there is not enough memory left. 230 230 */ 231 int net_initialize_build( async_client_conn_t client_connection);231 int net_initialize_build(async_client_conn_t client_connection); 232 232 233 233 /** Processes the module message. … … 241 241 * @returns Other error codes as defined for each bundled module message function. 242 242 */ 243 int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count);243 int module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count); 244 244 245 245 #endif
Note:
See TracChangeset
for help on using the changeset viewer.