Searched refs:arp_fd (Results 1 – 5 of 5) sorted by relevance
198 if (state->arp_fd == -1) { in arp_open()199 state->arp_fd = if_openrawsocket(ifp, ETHERTYPE_ARP); in arp_open()200 if (state->arp_fd == -1) { in arp_open()205 eloop_event_add(ifp->ctx->eloop, state->arp_fd, in arp_open()390 if (state->arp_fd != -1) { in arp_close()391 eloop_event_delete(ifp->ctx->eloop, state->arp_fd, 0); in arp_close()392 close(state->arp_fd); in arp_close()393 state->arp_fd = -1; in arp_close()
234 int arp_fd; member
398 fd = state->arp_fd; in if_sendrawpacket()418 fd = state->arp_fd; in if_readrawpacket()
1224 fd = state->arp_fd; in if_sendrawpacket()1260 fd = state->arp_fd; in if_readrawpacket()
3400 state->raw_fd = state->arp_fd = -1; in dhcp_dump()3474 state->raw_fd = state->arp_fd = -1; in dhcp_init()