VirtualBox

Changeset 16756 in vbox


Ignore:
Timestamp:
Feb 14, 2009 4:15:40 AM (16 years ago)
Author:
vboxsync
Message:

NAT:workaround for Solaris build, difference in ioctl commands and its handlings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r16755 r16756  
    11131113                int inq, outq;
    11141114                int status;
     1115#ifndef RT_OS_SOLARIS
    11151116                inq = -1;
    11161117                socklen_t optlen = sizeof(int);
     
    11211122                status = ioctl(so->s, TIOCOUTQ, &outq); /* SIOCOUTQ see previous comment */
    11221123                AssertRelease(status == 0);
     1124#else
     1125                inq = outq = -1;
     1126                /*
     1127                 * Solaris has bit different ioctl commands and its handlings
     1128                 * hint: streamio(7) I_NREAD
     1129                 */
     1130#endif
    11231131
    11241132                if (   so->so_state & SS_ISFCONNECTING
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette