Changeset a33f0a6 in mainline for uspace/lib/net/include/netif_skel.h
- Timestamp:
- 2011-08-03T17:34:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1940326
- Parents:
- 52a79081 (diff), 3fab770 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/netif_skel.h
r52a79081 ra33f0a6 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.