Searched refs:listensock (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | dhcpd.c | 274 int listensock; member 778 if (gstate.listensock > 0) close(gstate.listensock); in open_listensock6() 782 gstate.listensock = xsocket(PF_INET6, SOCK_DGRAM, 0); in open_listensock6() 783 setsockopt(gstate.listensock, SOL_SOCKET, SO_REUSEADDR, &constone, sizeof(constone)); in open_listensock6() 784 setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_CHECKSUM, &constone, sizeof(constone)); in open_listensock6() 786 if (setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_RECVPKTINFO, &constone, in open_listensock6() 789 close(gstate.listensock); in open_listensock6() 793 …setsockopt(gstate.listensock, SOL_SOCKET, SO_BINDTODEVICE, gconfig.interface, strlen(gconfig.inter… in open_listensock6() 802 if (bind(gstate.listensock, (struct sockaddr *) &addr6, sizeof(addr6)) == -1) { in open_listensock6() 803 close(gstate.listensock); in open_listensock6() [all …]
|
/external/curl/tests/server/ |
D | sws.c | 1937 curl_socket_t listensock, in service_connection() argument 1985 http_connect(&msgsock, listensock, connecthost, req->connect_port); in service_connection()
|