HomeSort by: relevance | last modified time | path
    Searched refs:link_fd (Results 1 - 5 of 5) sorted by relevancy

  /src/external/bsd/dhcpcd/dist/src/
dhcpcd.h 155 int link_fd; member in struct:dhcpcd_ctx
if-bsd.c 182 ctx->link_fd = xsocket(PF_ROUTE, SOCK_RAW | SOCK_CXNB, AF_UNSPEC);
183 if (ctx->link_fd == -1)
188 if (setsockopt(ctx->link_fd, SOL_SOCKET, SO_RERROR, &n,sizeof(n)) == -1)
196 if (setsockopt(ctx->link_fd, SOL_SOCKET, SO_USELOOPBACK,
206 if (setsockopt(ctx->link_fd, SOL_SOCKET, SO_RCVBUF,
213 if (setsockopt(ctx->link_fd, PF_ROUTE, RO_MSGFILTER,
221 if (setsockopt(ctx->link_fd, PF_ROUTE, ROUTE_MSGFILTER,
232 ps_rights_limit_fd_sockopt(ctx->link_fd);
843 if (write(ctx->link_fd, rtm, rtm->rtm_msglen) == -1)
1652 return setsockopt(ctx->link_fd, PF_ROUTE, RO_MISSFILTER
    [all...]
if.c 136 if (ctx->link_fd != -1) {
137 eloop_event_delete(ctx->eloop, ctx->link_fd);
138 close(ctx->link_fd);
139 ctx->link_fd = -1;
privsep-bsd.c 142 return write(ctx->link_fd, data, len);
dhcpcd.c 1230 if (setsockopt(ctx->link_fd, SOL_SOCKET,
1258 if (getsockopt(ctx->link_fd, SOL_SOCKET,
1275 rlen = read(ctx->link_fd, buf, sizeof(buf));
2089 ctx.control_fd = ctx.control_unpriv_fd = ctx.link_fd = -1;
2656 if (eloop_event_add(ctx.eloop, ctx.link_fd, ELE_READ,

Completed in 19 milliseconds