Changeset a33f0a6 in mainline for uspace/srv/net/nil/eth/eth.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/srv/net/nil/eth/eth.h
r52a79081 ra33f0a6 38 38 #define NET_ETH_H_ 39 39 40 #include <async.h> 40 41 #include <fibril_synch.h> 41 42 #include <ipc/services.h> 42 43 43 #include <net/device.h> 44 44 #include <adt/measured_strings.h> … … 223 223 /** Device driver service. */ 224 224 services_t service; 225 /** Driver phone. */226 int phone;225 /** Driver session. */ 226 async_sess_t *sess; 227 227 /** Maximal transmission unit. */ 228 228 size_t mtu; … … 248 248 /** Protocol identifier. */ 249 249 int protocol; 250 /** Protocol module phone. */251 int phone;250 /** Protocol module session. */ 251 async_sess_t *sess; 252 252 }; 253 253 254 254 /** Ethernet global data. */ 255 255 struct eth_globals { 256 /** Networking module phone. */257 int net_phone;256 /** Networking module session. */ 257 async_sess_t *net_sess; 258 258 /** Safety lock for devices. */ 259 259 fibril_rwlock_t devices_lock; … … 265 265 /** 266 266 * Protocol map. 267 * Service phonemap for each protocol.267 * Service map for each protocol. 268 268 */ 269 269 eth_protos_t protos;
Note:
See TracChangeset
for help on using the changeset viewer.