Changes in uspace/srv/net/il/ip/ip.h [aadf01e:91478aa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified uspace/srv/net/il/ip/ip.h ¶
raadf01e r91478aa 90 90 * @see device.h 91 91 */ 92 DEVICE_MAP_DECLARE( ip_netifs, ip_netif_t)92 DEVICE_MAP_DECLARE( ip_netifs, ip_netif_t ) 93 93 94 94 /** IP registered protocols. … … 96 96 * @see int_map.h 97 97 */ 98 INT_MAP_DECLARE( ip_protos, ip_proto_t)98 INT_MAP_DECLARE( ip_protos, ip_proto_t ) 99 99 100 100 /** IP routing table. 101 101 * @see generic_field.h 102 102 */ 103 GENERIC_FIELD_DECLARE( ip_routes, ip_route_t)103 GENERIC_FIELD_DECLARE( ip_routes, ip_route_t ) 104 104 105 105 /** IP network interface specific data. … … 108 108 /** Device identifier. 109 109 */ 110 device_id_t 110 device_id_t device_id; 111 111 /** Netif module service. 112 112 */ 113 services_t 113 services_t service; 114 114 /** Netif module phone. 115 115 */ 116 int 116 int phone; 117 117 /** ARP module. 118 118 * Assigned if using ARP. 119 119 */ 120 module_ref 120 module_ref arp; 121 121 /** IP version. 122 122 */ 123 int 123 int ipv; 124 124 /** Indicates whether using DHCP. 125 125 */ 126 int 126 int dhcp; 127 127 /** Indicates whether IP routing is enabled. 128 128 */ 129 int 129 int routing; 130 130 /** Device state. 131 131 */ 132 device_state_t 132 device_state_t state; 133 133 /** Broadcast address. 134 134 */ 135 in_addr_t 135 in_addr_t broadcast; 136 136 /** Routing table. 137 137 */ 138 ip_routes_t 138 ip_routes_t routes; 139 139 /** Packet dimension. 140 140 */ 141 packet_dimension_t 141 packet_dimension_t packet_dimension; 142 142 }; 143 143 … … 147 147 /** Protocol number. 148 148 */ 149 int 149 int protocol; 150 150 /** Protocol module service. 151 151 */ … … 153 153 /** Protocol module phone. 154 154 */ 155 int 155 int phone; 156 156 /** Protocol packet receiving function. 157 157 */ … … 164 164 /** Target address. 165 165 */ 166 in_addr_t 166 in_addr_t address; 167 167 /** Target network mask. 168 168 */ 169 in_addr_t 169 in_addr_t netmask; 170 170 /** Gateway. 171 171 */ 172 in_addr_t 172 in_addr_t gateway; 173 173 /** Parent netif. 174 174 */ 175 ip_netif_ref 175 ip_netif_ref netif; 176 176 }; 177 177 … … 181 181 /** Networking module phone. 182 182 */ 183 int 183 int net_phone; 184 184 /** Registered network interfaces. 185 185 */ 186 ip_netifs_t 186 ip_netifs_t netifs; 187 187 /** Netifs safeyt lock. 188 188 */ 189 fibril_rwlock_t 189 fibril_rwlock_t netifs_lock; 190 190 /** Registered protocols. 191 191 */ 192 ip_protos_t 192 ip_protos_t protos; 193 193 /** Protocols safety lock. 194 194 */ 195 fibril_rwlock_t 195 fibril_rwlock_t protos_lock; 196 196 /** Default gateway. 197 197 */ 198 ip_route_t 198 ip_route_t gateway; 199 199 /** Known support modules. 200 200 */ 201 modules_t 201 modules_t modules; 202 202 /** Default client connection function for support modules. 203 203 */ … … 205 205 /** Packet counter. 206 206 */ 207 uint16_t 207 uint16_t packet_counter; 208 208 /** Safety lock. 209 209 */ 210 fibril_rwlock_t 210 fibril_rwlock_t lock; 211 211 }; 212 212
Note:
See TracChangeset
for help on using the changeset viewer.