Changeset ccca251 in mainline
- Timestamp:
- 2011-04-07T16:24:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 53debe0, 8436590, fc35e98
- Parents:
- 3f56c90
- Location:
- uspace
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/stats/stats.c
r3f56c90 rccca251 265 265 /* Threads */ 266 266 if ((off = arg_parse_short_long(argv[i], "-t", "--task=")) != -1) { 267 / * TODO: Support for 64b range */267 // TODO: Support for 64b range 268 268 int tmp; 269 269 int ret = arg_parse_int(argc, argv, &i, &tmp, off); -
uspace/lib/net/generic/net_checksum.c
r3f56c90 rccca251 106 106 seed = (seed << 1) ^ ((uint32_t) CRC_DIVIDER_BE); 107 107 } else { 108 /* shift otherwise */108 /* Shift otherwise */ 109 109 seed <<= 1; 110 110 } -
uspace/lib/net/il/ip_client.c
r3f56c90 rccca251 123 123 return EOK; 124 124 125 /* TODO IPv6 */ 126 /* case AF_INET6: 125 // TODO IPv6 126 #if 0 127 case AF_INET6: 127 128 if (addrlen != sizeof(struct sockaddr_in6)) 128 129 return EINVAL; … … 130 131 address_in6 = (struct sockaddr_in6 *) addr; 131 132 return EOK; 132 */ 133 #endif 133 134 134 135 default: … … 258 259 header_in->data_length = htons(data_length); 259 260 return EOK; 260 / * TODO IPv6 */261 // TODO IPv6 261 262 } else { 262 263 return EINVAL; -
uspace/lib/net/include/ip_client.h
r3f56c90 rccca251 54 54 socklen_t, struct sockaddr *, socklen_t, size_t, void **, size_t *); 55 55 56 / * TODO ipopt manipulation */56 // TODO ipopt manipulation 57 57 58 58 #endif -
uspace/lib/net/tl/socket_core.c
r3f56c90 rccca251 306 306 307 307 case AF_INET6: 308 / * TODO IPv6 */308 // TODO IPv6 309 309 break; 310 310 } … … 376 376 377 377 count = 0; 378 // socket_id = socket_globals.last_id; 378 #if 0 379 socket_id = socket_globals.last_id; 380 #endif 379 381 do { 380 382 if (count < SOCKET_ID_TRIES) { … … 388 390 if (socket_id < INT_MAX) { 389 391 ++ socket_id; 390 /* } else if(socket_globals.last_id) { 391 * socket_globals.last_id = 0; 392 * socket_id = 1; 393 */ } else { 392 #if 0 393 } else if(socket_globals.last_id) { 394 socket_globals.last_id = 0; 395 socket_id = 1; 396 #endif 397 } else { 394 398 return ELIMIT; 395 399 } -
uspace/srv/hw/irc/apic/apic.c
r3f56c90 rccca251 56 56 static int apic_enable_irq(sysarg_t irq) 57 57 { 58 / * FIXME: TODO */58 // FIXME: TODO 59 59 return ENOTSUP; 60 60 } -
uspace/srv/net/il/ip/ip.c
r3f56c90 rccca251 365 365 366 366 if (ip_netif->dhcp) { 367 / * TODO dhcp */367 // TODO dhcp 368 368 net_free_settings(configuration, data); 369 369 return ENOTSUP; … … 398 398 } 399 399 } else { 400 / * TODO ipv6 in separate module */400 // 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 addresses */519 // 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 /* Ff the local host is the destination */1214 /* If 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 fragmented */1323 // 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 1779 /* No, something else */ 1780 1780 break; 1781 1781 } -
uspace/srv/vfs/vfs_ops.c
r3f56c90 rccca251 611 611 void vfs_open_node(ipc_callid_t rid, ipc_call_t *request) 612 612 { 613 / * FIXME: check for sanity of the supplied fs, dev and index */613 // FIXME: check for sanity of the supplied fs, dev and index 614 614 615 615 /*
Note:
See TracChangeset
for help on using the changeset viewer.