/src/usr.sbin/faithd/ |
faithd.c | 89 static int sockfd = 0; variable in typeref:typename:int 154 sockfd = socket(PF_ROUTE, SOCK_RAW, PF_UNSPEC); 155 if (sockfd < 0) { 321 sockfd = socket(PF_ROUTE, SOCK_RAW, PF_UNSPEC); 322 if (sockfd < 0) { 362 if (sockfd) { 363 pfd[1].fd = sockfd; 818 len = read(sockfd, msg, sizeof(msg)); 830 (void)close(sockfd); 831 sockfd = 0 [all...] |
/src/sys/arch/usermode/include/ |
thunk.h | 131 int thunk_gdb_accept(int sockfd); 234 int sockfd; member in struct:__anondca92e2e0808
|
/src/sys/arch/usermode/usermode/ |
thunk.c | 989 rfb->sockfd = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); 990 if (rfb->sockfd == -1) { 1000 if (bind(rfb->sockfd, (struct sockaddr *)&sin, sizeof(sin)) == -1) { 1003 close(rfb->sockfd); 1007 if (listen(rfb->sockfd, 1) != 0) { 1010 close(rfb->sockfd); 1021 int sockfd; local in function:thunk_gdb_open 1025 sockfd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 1026 if (sockfd < 0) { 1037 if (bind(sockfd, (struct sockaddr *)&sin, sizeof(sin)) < 0) [all...] |