Changes in uspace/srv/net/il/ip/ip.c [ccca251:28a3e74] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
rccca251 r28a3e74 365 365 366 366 if (ip_netif->dhcp) { 367 / / TODO dhcp367 /* TODO dhcp */ 368 368 net_free_settings(configuration, data); 369 369 return ENOTSUP; … … 398 398 } 399 399 } else { 400 / / TODO ipv6 in separate module400 /* TODO ipv6 in separate module */ 401 401 net_free_settings(configuration, data); 402 402 return ENOTSUP; … … 517 517 ip_netif->dhcp ? "dhcp" : "static"); 518 518 519 / / TODO ipv6 addresses519 /* TODO ipv6 addresses */ 520 520 521 521 char address[INET_ADDRSTRLEN]; … … 946 946 947 947 /* Greatest multiple of 8 lower than content */ 948 / / TODO even fragmentation?948 /* TODO even fragmentation? */ 949 949 length = length & ~0x7; 950 950 … … 1212 1212 } 1213 1213 1214 /* If the local host is the destination */1214 /* Ff the local host is the destination */ 1215 1215 if ((route->address.s_addr == dest->s_addr) && 1216 1216 (dest->s_addr != IPV4_LOCALHOST_ADDRESS)) { … … 1279 1279 in_addr_t destination; 1280 1280 1281 / / TODO search set ipopt route?1281 /* TODO search set ipopt route? */ 1282 1282 destination.s_addr = header->destination_address; 1283 1283 return destination; … … 1321 1321 if ((header->flags & IPFLAG_MORE_FRAGMENTS) || 1322 1322 IP_FRAGMENT_OFFSET(header)) { 1323 / / TODO fragmented1323 /* TODO fragmented */ 1324 1324 return ENOTSUP; 1325 1325 } … … 1437 1437 phone = ip_prepare_icmp_and_get_phone(0, packet, header); 1438 1438 if (phone >= 0) { 1439 /* TTLexceeded ICMP */1439 /* ttl exceeded ICMP */ 1440 1440 icmp_time_exceeded_msg(phone, ICMP_EXC_TTL, packet); 1441 1441 } … … 1777 1777 if ((type != ICMP_DEST_UNREACH) || 1778 1778 (code != ICMP_HOST_UNREACH)) { 1779 /* No, something else */1779 /* No, something else */ 1780 1780 break; 1781 1781 }
Note:
See TracChangeset
for help on using the changeset viewer.