Changeset 357b5f5 in mainline for uspace/srv/net/il/arp/arp.h
- Timestamp:
- 2011-01-23T20:09:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fdb9982c
- Parents:
- cead2aa (diff), 7e36c8d (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/il/arp/arp.h
rcead2aa r357b5f5 65 65 typedef struct arp_proto arp_proto_t; 66 66 67 /** Type definition of the ARP address translation record. 68 * @see arp_trans 69 */ 70 typedef struct arp_trans arp_trans_t; 71 67 72 /** ARP address map. 68 73 * … … 70 75 * @see generic_char_map.h 71 76 */ 72 GENERIC_CHAR_MAP_DECLARE(arp_addr, measured_string_t);77 GENERIC_CHAR_MAP_DECLARE(arp_addr, arp_trans_t); 73 78 74 79 /** ARP address cache. … … 89 94 struct arp_device { 90 95 /** Actual device hardware address. */ 91 measured_string_t * 96 measured_string_t *addr; 92 97 /** Actual device hardware address data. */ 93 char*addr_data;98 uint8_t *addr_data; 94 99 /** Broadcast device hardware address. */ 95 measured_string_t * 100 measured_string_t *broadcast_addr; 96 101 /** Broadcast device hardware address data. */ 97 char*broadcast_data;102 uint8_t *broadcast_data; 98 103 /** Device identifier. */ 99 104 device_id_t device_id; … … 120 125 arp_cache_t cache; 121 126 122 /**123 * The client connection processing function.124 * The module skeleton propagates its own one.125 */126 async_client_conn_t client_connection;127 128 127 /** Networking module phone. */ 129 128 int net_phone; 130 129 /** Safety lock. */ 131 fibril_ rwlock_t lock;130 fibril_mutex_t lock; 132 131 }; 133 132 … … 137 136 measured_string_t *addr; 138 137 /** Actual device protocol address data. */ 139 char*addr_data;138 uint8_t *addr_data; 140 139 /** Address map. */ 141 140 arp_addr_t addresses; … … 144 143 }; 145 144 145 /** ARP address translation record. */ 146 struct arp_trans { 147 /** 148 * Hardware address for the translation. NULL denotes an incomplete 149 * record with possible waiters. 150 */ 151 measured_string_t *hw_addr; 152 /** Condition variable used for waiting for completion of the record. */ 153 fibril_condvar_t cv; 154 }; 155 146 156 #endif 147 157 148 158 /** @} 149 159 */ 160
Note:
See TracChangeset
for help on using the changeset viewer.