Searched refs:arp_fd (Results 1 – 8 of 8) sorted by relevance
/external/dhcpcd/ |
D | arp.c | 207 if (iface->arp_fd == -1) { in send_arp_announce() 209 add_event(iface->arp_fd, handle_arp_packet, iface); in send_arp_announce() 239 delete_event(iface->arp_fd); in send_arp_announce() 240 close(iface->arp_fd); in send_arp_announce() 241 iface->arp_fd = -1; in send_arp_announce() 265 if (iface->arp_fd == -1) { in send_arp_probe() 267 add_event(iface->arp_fd, handle_arp_packet, iface); in send_arp_probe()
|
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 | dhcpcd.h | 99 int arp_fd; member
|
D | dhcpcd.c | 1704 if (iface->arp_fd != -1) { in close_sockets() 1705 delete_event(iface->arp_fd); in close_sockets() 1706 close(iface->arp_fd); in close_sockets() 1707 iface->arp_fd = -1; in close_sockets()
|
D | net.c | 221 iface->arp_fd = -1; in init_interface()
|
/external/qemu/ |
D | net-android.c | 1301 static int arp_fd = 0; in tap_alloc() local 1373 TFR(arp_fd = open ("/dev/tap", O_RDWR, 0)); in tap_alloc() 1374 if (arp_fd < 0) in tap_alloc() 1382 if (ioctl(arp_fd, I_STR, &strioc_if) < 0){ in tap_alloc() 1391 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()
|