Changeset a64c64d in mainline for uspace/srv/net/il/arp/arp.h
- Timestamp:
- 2010-03-09T22:24:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74520daf
- Parents:
- 9f2ea28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.h
r9f2ea28 ra64c64d 51 51 52 52 53 /** Type definition of the ARP global data.54 * @see arp_globals55 */56 typedef struct arp_globals arp_globals_t;57 58 53 /** Type definition of the ARP device specific data. 59 54 * @see arp_device … … 66 61 typedef arp_device_t * arp_device_ref; 67 62 63 /** Type definition of the ARP global data. 64 * @see arp_globals 65 */ 66 typedef struct arp_globals arp_globals_t; 67 68 68 /** Type definition of the ARP protocol specific data. 69 69 * @see arp_proto … … 75 75 */ 76 76 typedef arp_proto_t * arp_proto_ref; 77 78 /** ARP address map. 79 * Translates addresses. 80 * @see generic_char_map.h 81 */ 82 GENERIC_CHAR_MAP_DECLARE(arp_addr, measured_string_t) 77 83 78 84 /** ARP address cache. … … 88 94 INT_MAP_DECLARE(arp_protos, arp_proto_t) 89 95 90 /** ARP address map.91 * Translates addresses.92 * @see generic_char_map.h93 */94 GENERIC_CHAR_MAP_DECLARE(arp_addr, measured_string_t)95 96 96 /** ARP device specific data. 97 97 */ 98 98 struct arp_device{ 99 /** Device identifier.100 */101 device_id_t device_id;102 /** Hardware type.103 */104 hw_type_t hardware;105 /** Packet dimension.106 */107 packet_dimension_t packet_dimension;108 99 /** Actual device hardware address. 109 100 */ … … 118 109 */ 119 110 char * broadcast_data; 120 /** Device module service.111 /** Device identifier. 121 112 */ 122 services_t service; 113 device_id_t device_id; 114 /** Hardware type. 115 */ 116 hw_type_t hardware; 117 /** Packet dimension. 118 */ 119 packet_dimension_t packet_dimension; 123 120 /** Device module phone. 124 121 */ … … 128 125 */ 129 126 arp_protos_t protos; 127 /** Device module service. 128 */ 129 services_t service; 130 }; 131 132 /** ARP global data. 133 */ 134 struct arp_globals{ 135 /** ARP address cache. 136 */ 137 arp_cache_t cache; 138 /** The client connection processing function. 139 * The module skeleton propagates its own one. 140 */ 141 async_client_conn_t client_connection; 142 /** Networking module phone. 143 */ 144 int net_phone; 145 /** Safety lock. 146 */ 147 fibril_rwlock_t lock; 130 148 }; 131 149 … … 133 151 */ 134 152 struct arp_proto{ 135 /** Protocol service.136 */137 services_t service;138 153 /** Actual device protocol address. 139 154 */ … … 145 160 */ 146 161 arp_addr_t addresses; 147 }; 148 149 /** ARP global data. 150 */ 151 struct arp_globals{ 152 /** Networking module phone. 162 /** Protocol service. 153 163 */ 154 int net_phone; 155 /** Safety lock. 156 */ 157 fibril_rwlock_t lock; 158 /** ARP address cache. 159 */ 160 arp_cache_t cache; 161 /** The client connection processing function. 162 * The module skeleton propagates its own one. 163 */ 164 async_client_conn_t client_connection; 164 services_t service; 165 165 }; 166 166
Note:
See TracChangeset
for help on using the changeset viewer.