Searched refs:udp_fd (Results 1 – 3 of 3) sorted by relevance
128 int udp_fd; member
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()[all …]
1485 ctx.udp_fd = -1; in main()