Changes in uspace/lib/net/include/netif_skel.h [ffa2c8ef:ee2fa30a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/netif_skel.h
rffa2c8ef ree2fa30a 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 */
Note:
See TracChangeset
for help on using the changeset viewer.