Changes in uspace/srv/net/il/arp/arp.h [fc3dba14:4eca056] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.h
rfc3dba14 r4eca056 65 65 typedef struct arp_proto arp_proto_t; 66 66 67 /** Type definition of the ARP address translation record.68 * @see arp_trans69 */70 typedef struct arp_trans arp_trans_t;71 72 67 /** ARP address map. 73 68 * … … 75 70 * @see generic_char_map.h 76 71 */ 77 GENERIC_CHAR_MAP_DECLARE(arp_addr, arp_trans_t);72 GENERIC_CHAR_MAP_DECLARE(arp_addr, measured_string_t); 78 73 79 74 /** ARP address cache. … … 94 89 struct arp_device { 95 90 /** Actual device hardware address. */ 96 measured_string_t * addr;91 measured_string_t * addr; 97 92 /** Actual device hardware address data. */ 98 93 char *addr_data; 99 94 /** Broadcast device hardware address. */ 100 measured_string_t * broadcast_addr;95 measured_string_t * broadcast_addr; 101 96 /** Broadcast device hardware address data. */ 102 97 char *broadcast_data; … … 134 129 int net_phone; 135 130 /** Safety lock. */ 136 fibril_ mutex_t lock;131 fibril_rwlock_t lock; 137 132 }; 138 133 … … 149 144 }; 150 145 151 /** ARP address translation record. */152 struct arp_trans {153 /**154 * Hardware address for the translation. NULL denotes an incomplete155 * record with possible waiters.156 */157 measured_string_t *hw_addr;158 /** Condition variable used for waiting for completion of the record. */159 fibril_condvar_t cv;160 };161 162 146 #endif 163 147 164 148 /** @} 165 149 */ 166
Note:
See TracChangeset
for help on using the changeset viewer.