Searched refs:dhcp_fd (Results 1 – 3 of 3) sorted by relevance
/external/dhcpcd-6.8.2/ |
D | dhcp6.c | 1159 if (sendmsg(ctx->dhcp_fd, &ctx->sndhdr, 0) == -1) { in dhcp6_sendmessage() 2623 bytes = recvmsg(ctx->dhcp_fd, &ctx->rcvhdr, 0); in dhcp6_handledata() 2626 close(ctx->dhcp_fd); in dhcp6_handledata() 2627 eloop_event_delete(dctx->eloop, ctx->dhcp_fd, 0); in dhcp6_handledata() 2628 ctx->dhcp_fd = -1; in dhcp6_handledata() 3101 ctx->dhcp_fd = socket(PF_INET6, in dhcp6_open() 3104 if (ctx->dhcp_fd == -1) in dhcp6_open() 3107 if ((ctx->dhcp_fd = socket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP)) == -1) in dhcp6_open() 3109 if ((n = fcntl(ctx->dhcp_fd, F_GETFD, 0)) == -1 || in dhcp6_open() 3110 fcntl(ctx->dhcp_fd, F_SETFD, n | FD_CLOEXEC) == -1) in dhcp6_open() [all …]
|
D | ipv6.h | 212 int dhcp_fd; member
|
D | ipv6.c | 171 ctx->dhcp_fd = -1; in ipv6_init()
|