Changeset 63562 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Aug 16, 2016 2:04:03 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110217
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r63012 r63562 67 67 uint8_t *q = vend; 68 68 uint8_t len; 69 /* @todo magic validation */69 /** @todo magic validation */ 70 70 q += 4; /*magic*/ 71 71 while(*q != RFC1533_END) -
trunk/src/VBox/Devices/Network/slirp/ip_input.c
r63016 r63562 660 660 register caddr_t opts; 661 661 int olen; 662 NOREF(mopt); /* @todo:do we really will need this options buffer? */662 NOREF(mopt); /** @todo do we really will need this options buffer? */ 663 663 664 664 olen = (ip->ip_hl<<2) - sizeof(struct ip); -
trunk/src/VBox/Devices/Network/slirp/libalias/alias.c
r63217 r63562 1579 1579 LibAliasRefreshModules(void) 1580 1580 { 1581 /* @todo (r - vasily) here should be module loading */1581 /** @todo (r - vasily) here should be module loading */ 1582 1582 #ifndef VBOX 1583 1583 char buf[256], conf[] = "/etc/libalias.conf"; -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r62696 r63562 373 373 pData->slirp_ethaddr = &special_ethaddr[0]; 374 374 alias_addr.s_addr = pData->special_addr.s_addr | RT_H2N_U32_C(CTL_ALIAS); 375 /* @todo:add ability to configure this staff */375 /** @todo add ability to configure this staff */ 376 376 377 377 /* … … 418 418 } 419 419 #ifdef VBOX_WITH_NAT_SEND2HOME 420 /* @todo:we should know all interfaces available on host. */420 /** @todo we should know all interfaces available on host. */ 421 421 pData->pInSockAddrHomeAddress = RTMemAllocZ(sizeof(struct sockaddr)); 422 422 pData->cInHomeAddressSize = 1; … … 734 734 * receive more, and we have room for it XXX /2 ? 735 735 */ 736 /* @todo:vvl - check which predicat here will be more useful here in rerm of new sbufs. */736 /** @todo vvl - check which predicat here will be more useful here in rerm of new sbufs. */ 737 737 if ( CONN_CANFRCV(so) 738 738 && (SBUF_LEN(&so->so_snd) < (SBUF_SIZE(&so->so_snd)/2)) -
trunk/src/VBox/Devices/Network/slirp/socket.c
r63121 r63562 115 115 AssertReturn((pNewSocket, false)); 116 116 pData->pInSockAddrHomeAddress[idxAddr].sin_port = pSo->so_fport; 117 /* @todo:more verbose on errors,117 /** @todo more verbose on errors, 118 118 * @note: we shouldn't care if this send fail or not (we're in broadcast). 119 119 */ -
trunk/src/VBox/Devices/Network/slirp/tcp_input.c
r63016 r63562 481 481 { 482 482 QSOCKET_UNLOCK(tcb); 483 /* @todo fix SOLOOKUP macrodefinition to be usable here */483 /** @todo fix SOLOOKUP macrodefinition to be usable here */ 484 484 so = solookup(&tcb, ti->ti_src, ti->ti_sport, 485 485 ti->ti_dst, ti->ti_dport); -
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r63016 r63562 562 562 if (cVerbose > 0) 563 563 LogRel(("NAT: Old socket recv size: %dKB\n", opt / 1024)); 564 /* @todo (r-vvl) make it configurable (via extra data) */564 /** @todo (r-vvl) make it configurable (via extra data) */ 565 565 opt = pData->socket_rcv; 566 566 status = setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char *)&opt, sizeof(int)); -
trunk/src/VBox/Devices/Network/slirp/tftp.c
r63478 r63562 303 303 rc = tftpSessionParseAndMarkOption(pszTftpRRQRaw, &pTftpSession->OptionTSize); 304 304 305 /* @todo:we don't use timeout, but its value in the range 0-255 */305 /** @todo we don't use timeout, but its value in the range 0-255 */ 306 306 if ( RT_SUCCESS(rc) 307 307 && !RTStrICmp("timeout", g_TftpDesc[idxOptionArg].pszName)) 308 308 rc = tftpSessionParseAndMarkOption(pszTftpRRQRaw, &pTftpSession->OptionTimeout); 309 309 310 /* @todo:unknown option detection */310 /** @todo unknown option detection */ 311 311 if (RT_FAILURE(rc)) 312 312 { -
trunk/src/VBox/Devices/Network/slirp/udp.c
r63016 r63562 686 686 /* The original check was completely broken, as the commented out 687 687 * if statement was always true (INADDR_ANY=0). */ 688 /* @todo:vvl - alias_addr should be set (if required)688 /** @todo vvl - alias_addr should be set (if required) 689 689 * later by liabalias module. 690 690 */
Note:
See TracChangeset
for help on using the changeset viewer.