Home
last modified time | relevance | path

Searched refs:arp_fd (Results 1 – 7 of 7) sorted by relevance

/external/dhcpcd/
Dlpf.c108 fd = &iface->arp_fd; in open_socket()
147 fd = iface->arp_fd; in send_raw_packet()
161 fd = iface->arp_fd; in get_raw_packet()
Dbpf.c113 fdp = &iface->arp_fd; in open_socket()
153 fd = iface->arp_fd; in send_raw_packet()
171 fd = iface->arp_fd; in get_raw_packet()
Dclient.c607 if (state->interface->arp_fd != -1) { in do_socket()
608 close(state->interface->arp_fd); in do_socket()
609 state->interface->arp_fd = -1; in do_socket()
796 if (iface->arp_fd != -1) { in wait_for_fd()
797 fds[nfds].fd = iface->arp_fd; in wait_for_fd()
1140 if (iface->arp_fd == -1) in handle_timeout()
1184 if (iface->arp_fd == -1) in handle_timeout()
1220 close(iface->arp_fd); in handle_timeout()
1221 iface->arp_fd = -1; in handle_timeout()
1797 else if (fd == iface->arp_fd) { in dhcp_run()
Dnet.h106 int arp_fd; member
Dnet.c440 iface->arp_fd = -1; in read_interface()
/external/qemu/
Dnet-android.c1258 static int arp_fd = 0; in tap_alloc() local
1330 TFR(arp_fd = open ("/dev/tap", O_RDWR, 0)); in tap_alloc()
1331 if (arp_fd < 0) in tap_alloc()
1339 if (ioctl(arp_fd, I_STR, &strioc_if) < 0){ in tap_alloc()
1348 if ((arp_muxid = ioctl (ip_fd, link_type, arp_fd)) < 0) in tap_alloc()
Dnet.c1173 static int arp_fd = 0; in tap_alloc() local
1245 TFR(arp_fd = open ("/dev/tap", O_RDWR, 0)); in tap_alloc()
1246 if (arp_fd < 0) in tap_alloc()
1254 if (ioctl(arp_fd, I_STR, &strioc_if) < 0){ in tap_alloc()
1263 if ((arp_muxid = ioctl (ip_fd, link_type, arp_fd)) < 0) in tap_alloc()