Home
last modified time | relevance | path

Searched refs:control_fd (Results 1 – 3 of 3) sorted by relevance

/external/dhcpcd-6.8.2/
Dcontrol.c194 control_handle1(ctx, ctx->control_fd, 0); in control_handle()
282 ctx->control_fd = fd; in control_start()
292 return ctx->control_fd; in control_start()
304 if (ctx->control_fd == -1) in control_stop()
306 eloop_event_delete(ctx->eloop, ctx->control_fd, 0); in control_stop()
307 close(ctx->control_fd); in control_stop()
308 ctx->control_fd = -1; in control_stop()
338 if ((ctx->control_fd = make_sock(&sa, ifname, 0)) == -1) in control_open()
341 if (connect(ctx->control_fd, (struct sockaddr *)&sa, len) == -1) { in control_open()
342 close(ctx->control_fd); in control_open()
[all …]
Ddhcpcd.h112 int control_fd; member
Ddhcpcd.c1479 ctx.pid_fd = ctx.control_fd = ctx.control_unpriv_fd = ctx.link_fd = -1; in main()