Searched refs:arp_fd (Results 1 – 7 of 7) sorted by relevance
/external/dhcpcd/ |
D | lpf.c | 108 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()
|
D | bpf.c | 113 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()
|
D | client.c | 606 if (state->interface->arp_fd != -1) { in do_socket() 607 close(state->interface->arp_fd); in do_socket() 608 state->interface->arp_fd = -1; in do_socket() 797 if (iface->arp_fd != -1) { in wait_for_fd() 798 fds[nfds].fd = iface->arp_fd; in wait_for_fd() 1158 if (iface->arp_fd == -1) in handle_timeout() 1199 if (iface->arp_fd == -1) in handle_timeout() 1235 close(iface->arp_fd); in handle_timeout() 1236 iface->arp_fd = -1; in handle_timeout() 1812 else if (fd == iface->arp_fd) { in dhcp_run()
|
D | net.h | 106 int arp_fd; member
|
D | net.c | 440 iface->arp_fd = -1; in read_interface()
|
/external/qemu/ |
D | net-android.c | 1297 static int arp_fd = 0; in tap_alloc() local 1369 TFR(arp_fd = open ("/dev/tap", O_RDWR, 0)); in tap_alloc() 1370 if (arp_fd < 0) in tap_alloc() 1378 if (ioctl(arp_fd, I_STR, &strioc_if) < 0){ in tap_alloc() 1387 if ((arp_muxid = ioctl (ip_fd, link_type, arp_fd)) < 0) in tap_alloc()
|
D | net.c | 1173 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()
|