Changes in uspace/lib/net/include/netif_skel.h [ee2fa30a:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/netif_skel.h
ree2fa30a rffa2c8ef 39 39 #define NET_NETIF_SKEL_H_ 40 40 41 #include <async.h> 41 42 #include <fibril_synch.h> 42 43 #include <ipc/services.h> 44 43 45 #include <adt/measured_strings.h> 44 46 #include <net/device.h> 45 47 #include <net/packet.h> 46 #include <async.h>47 48 48 49 /** Network interface device specific data. */ 49 50 typedef struct { 50 device_id_t device_id; /**< Device identifier. */ 51 device_state_t state; /**< Actual device state. */ 52 void *specific; /**< Driver specific data. */ 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. */ 53 55 } netif_device_t; 54 56 … … 63 65 /** Network interface module skeleton global data. */ 64 66 typedef struct { 65 async_sess_t *sess; /**< Networking module session. */ 66 async_sess_t *nil_sess; /**< Network interface layer session. */ 67 int net_phone; /**< Networking module phone. */ 67 68 netif_device_map_t device_map; /**< Device map. */ 68 69 fibril_rwlock_t lock; /**< Safety lock. */ … … 126 127 * @return Other error codes as defined for the specific module 127 128 * message implementation. 129 128 130 * 129 131 */
Note:
See TracChangeset
for help on using the changeset viewer.