Lines Matching refs:udp_fd
3350 if (read(ctx->udp_fd, buffer, sizeof(buffer)) == -1) { in dhcp_handleudp()
3352 eloop_event_delete(ctx->eloop, ctx->udp_fd, 0); in dhcp_handleudp()
3353 close(ctx->udp_fd); in dhcp_handleudp()
3354 ctx->udp_fd = -1; in dhcp_handleudp()
3446 if (ctx->udp_fd != -1) { in dhcp_free()
3447 eloop_event_delete(ctx->eloop, ctx->udp_fd, 0); in dhcp_free()
3448 close(ctx->udp_fd); in dhcp_free()
3449 ctx->udp_fd = -1; in dhcp_free()
3558 if (ifp->ctx->udp_fd == -1) { in dhcp_start1()
3559 ifp->ctx->udp_fd = dhcp_openudp(NULL); in dhcp_start1()
3560 if (ifp->ctx->udp_fd == -1) { in dhcp_start1()
3568 ifp->ctx->udp_fd, dhcp_handleudp, in dhcp_start1()