Lines Matching refs:so_type
1751 int so_type=-1, optlen=sizeof(so_type);
1753 if(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type,
1755 fprintf(stderr, "qemu: error: getsockopt(SO_TYPE) for fd=%d failed\n", fd);
1758 switch(so_type) {
1765 fprintf(stderr, "qemu: warning: socket type=%d for fd=%d is not SOCK_DGRAM or SOCK_STREAM\n", so_type, fd);