Changes in uspace/srv/net/nil/nildummy/nildummy.h [fe8dfa6:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/nildummy/nildummy.h
rfe8dfa6 r609243f4 1 1 /* 2 2 * Copyright (c) 2009 Lukas Mejdrech 3 * Copyright (c) 2011 Radim Vansa 3 4 * All rights reserved. 4 5 * … … 38 39 #define NET_NILDUMMY_H_ 39 40 41 #include <async.h> 40 42 #include <fibril_synch.h> 41 43 #include <ipc/services.h> 42 44 #include <ipc/devman.h> 43 45 #include <net/device.h> 44 46 #include <adt/measured_strings.h> … … 76 78 struct nildummy_device { 77 79 /** Device identifier. */ 78 device_id_t device_id; 79 80 /** Device driver service. */ 81 services_t service; 82 83 /** Driver phone. */ 84 int phone; 80 nic_device_id_t device_id; 81 /** Device driver handle. */ 82 devman_handle_t handle; 83 /** Driver session. */ 84 async_sess_t *sess; 85 85 86 86 /** Maximal transmission unit. */ … … 88 88 89 89 /** Actual device hardware address. */ 90 measured_string_t *addr; 91 92 /** Actual device hardware address data. */ 93 uint8_t *addr_data; 90 nic_address_t addr; 91 /** Actual device hardware address length. */ 92 size_t addr_len; 94 93 }; 95 94 … … 99 98 services_t service; 100 99 101 /** Protocol module phone. */102 int phone;100 /** Protocol module session. */ 101 async_sess_t *sess; 103 102 }; 104 103 105 104 /** Dummy nil global data. */ 106 105 struct nildummy_globals { 107 /** Networking module phone. */108 int net_phone;106 /** Networking module session. */ 107 async_sess_t *net_sess; 109 108 110 109 /** Lock for devices. */
Note:
See TracChangeset
for help on using the changeset viewer.