Changeset 6b82009 in mainline for uspace/lib/net/include/netif_skel.h
- Timestamp:
- 2011-06-22T20:41:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef09a7a
- Parents:
- 55091847
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/netif_skel.h
r55091847 r6b82009 39 39 #define NET_NETIF_SKEL_H_ 40 40 41 #include <async.h>42 41 #include <fibril_synch.h> 43 42 #include <ipc/services.h> 44 45 43 #include <adt/measured_strings.h> 46 44 #include <net/device.h> 47 45 #include <net/packet.h> 46 #include <async.h> 48 47 49 48 /** Network interface device specific data. */ 50 49 typedef struct { 51 device_id_t device_id; /**< Device identifier. */ 52 int nil_phone; /**< Receiving network interface layer phone. */ 53 device_state_t state; /**< Actual device state. */ 54 void *specific; /**< Driver specific data. */ 50 device_id_t device_id; /**< Device identifier. */ 51 device_state_t state; /**< Actual device state. */ 52 void *specific; /**< Driver specific data. */ 55 53 } netif_device_t; 56 54 … … 65 63 /** Network interface module skeleton global data. */ 66 64 typedef struct { 67 int net_phone; /**< Networking module phone. */ 65 async_sess_t *sess; /**< Networking module session. */ 66 async_sess_t *nil_sess; /**< Network interface layer session. */ 68 67 netif_device_map_t device_map; /**< Device map. */ 69 68 fibril_rwlock_t lock; /**< Safety lock. */ … … 127 126 * @return Other error codes as defined for the specific module 128 127 * message implementation. 129 130 128 * 131 129 */ … … 207 205 extern packet_t *netif_packet_get_1(size_t); 208 206 209 extern int netif_module_start( void);207 extern int netif_module_start(sysarg_t); 210 208 211 209 #endif
Note:
See TracChangeset
for help on using the changeset viewer.