Home | History | Annotate | Download | only in slirp

Lines Matching refs:opt

253 	int opt;
389 opt = 1;
390 setsockopt(so->s,SOL_SOCKET,SO_REUSEADDR,(char *)&opt,sizeof(int));
391 opt = 1;
392 setsockopt(so->s,SOL_SOCKET,SO_OOBINLINE,(char *)&opt,sizeof(int));
781 unsigned long opt = 1;
783 opt = 1;
786 ioctlsocket(fd, FIONBIO, &opt);
788 int opt;
790 opt = fcntl(fd, F_GETFL, 0);
791 opt |= O_NONBLOCK;
792 fcntl(fd, F_SETFL, opt);
801 unsigned long opt = 0;
803 int opt = 0;
806 ioctlsocket(fd, FIONBIO, &opt);
808 int opt;
810 opt = fcntl(fd, F_GETFL, 0);
811 opt &= ~O_NONBLOCK;
812 fcntl(fd, F_SETFL, opt);