Changes in uspace/srv/net/il/arp/arp.h [a64c64d:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.h
ra64c64d raadf01e 51 51 52 52 53 /** Type definition of the ARP global data. 54 * @see arp_globals 55 */ 56 typedef struct arp_globals arp_globals_t; 57 53 58 /** Type definition of the ARP device specific data. 54 59 * @see arp_device … … 61 66 typedef arp_device_t * arp_device_ref; 62 67 63 /** Type definition of the ARP global data.64 * @see arp_globals65 */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.h81 */82 GENERIC_CHAR_MAP_DECLARE(arp_addr, measured_string_t)83 77 84 78 /** ARP address cache. … … 94 88 INT_MAP_DECLARE(arp_protos, arp_proto_t) 95 89 90 /** ARP address map. 91 * Translates addresses. 92 * @see generic_char_map.h 93 */ 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; 99 108 /** Actual device hardware address. 100 109 */ … … 109 118 */ 110 119 char * broadcast_data; 111 /** Device identifier.120 /** Device module service. 112 121 */ 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; 122 services_t service; 120 123 /** Device module phone. 121 124 */ … … 125 128 */ 126 129 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;148 130 }; 149 131 … … 151 133 */ 152 134 struct arp_proto{ 135 /** Protocol service. 136 */ 137 services_t service; 153 138 /** Actual device protocol address. 154 139 */ … … 160 145 */ 161 146 arp_addr_t addresses; 162 /** Protocol service. 147 }; 148 149 /** ARP global data. 150 */ 151 struct arp_globals{ 152 /** Networking module phone. 163 153 */ 164 services_t service; 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; 165 165 }; 166 166
Note:
See TracChangeset
for help on using the changeset viewer.