Searched defs:tcpfd (Results 1 - 2 of 2) sorted by relevance
/external/dnsmasq/src/ |
H A D | network.c | 270 int tcpfd, fd; local 288 if ((tcpfd = socket(AF_INET6, SOCK_STREAM, 0)) == -1) 292 setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 || 294 setsockopt(tcpfd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 || 296 !fix_fd(tcpfd) || 302 bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 || 303 listen(tcpfd, 5) == -1 || 309 l->tcpfd = tcpfd; 324 int tcpfd local [all...] |
H A D | dnsmasq.h | 336 int flags, tcpfd; member in struct:server 349 int fd, tcpfd, tftpfd, family; member in struct:listener
|
Completed in 62 milliseconds