Home
last modified time | relevance | path

Searched refs:emu_lfd (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dipmi-bt-test.c117 static int emu_lfd; variable
318 FD_SET(emu_lfd, &readfds); in test_connect()
321 rv = select(emu_lfd + 1, &readfds, NULL, NULL, &tv); in test_connect()
323 emu_fd = accept(emu_lfd, NULL, 0); in test_connect()
386 emu_lfd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in open_socket()
387 if (emu_lfd == -1) { in open_socket()
391 if (bind(emu_lfd, (struct sockaddr *) &myaddr, sizeof(myaddr)) == -1) { in open_socket()
396 if (getsockname(emu_lfd, (struct sockaddr *) &myaddr , &addrlen) == -1) { in open_socket()
401 assert(listen(emu_lfd, 1) != -1); in open_socket()