Lines Matching refs:nd_fd
279 if (state->nd_fd != -1) in ipv6nd_openif()
280 return state->nd_fd; in ipv6nd_openif()
307 state->nd_fd = fd; in ipv6nd_openif()
399 if (state->nd_fd == -1) { in ipv6nd_sendrsprobe()
405 s = state->nd_fd; in ipv6nd_sendrsprobe()
407 if (ctx->nd_fd == -1) { in ipv6nd_sendrsprobe()
408 ctx->nd_fd = ipv6nd_open(true); in ipv6nd_sendrsprobe()
409 if (ctx->nd_fd == -1) { in ipv6nd_sendrsprobe()
413 if (eloop_event_add(ctx->eloop, ctx->nd_fd, ELE_READ, in ipv6nd_sendrsprobe()
417 s = ifp->ctx->nd_fd; in ipv6nd_sendrsprobe()
488 s = state->nd_fd; in ipv6nd_sendadvertisement()
490 s = ctx->nd_fd; in ipv6nd_sendadvertisement()
872 eloop_event_delete(ctx->eloop, state->nd_fd); in ipv6nd_free()
873 close(state->nd_fd); in ipv6nd_free()
894 if (ctx->nd_fd != -1) { in ipv6nd_free()
895 eloop_event_delete(ctx->eloop, ctx->nd_fd); in ipv6nd_free()
896 close(ctx->nd_fd); in ipv6nd_free()
897 ctx->nd_fd = -1; in ipv6nd_free()
2146 fd = state->nd_fd; in ipv6nd_handledata()
2149 fd = ctx->nd_fd; in ipv6nd_handledata()
2181 state->nd_fd = -1; in ipv6nd_startrs1()