Home
last modified time | relevance | path

Searched refs:link_fd (Results 1 – 5 of 5) sorted by relevance

/external/dhcpcd/
Dif-bsd.c212 if (iface->link_fd != -1) in open_link_socket()
213 close(iface->link_fd); in open_link_socket()
214 iface->link_fd = fd; in open_link_socket()
231 bytes = recv(iface->link_fd, buffer, BUFFER_LEN, MSG_DONTWAIT); in link_changed()
Dif-linux.c75 if (iface->link_fd != -1) in open_link_socket()
76 close(iface->link_fd); in open_link_socket()
77 iface->link_fd = fd; in open_link_socket()
182 return get_netlink(iface->link_fd, MSG_DONTWAIT, in link_changed()
Dnet.h107 int link_fd; member
Dclient.c768 if (iface->link_fd != -1) { in wait_for_fd()
769 fds[nfds].fd = iface->link_fd; in wait_for_fd()
1808 } else if (fd == iface->link_fd) in dhcp_run()
1834 if (iface->link_fd != -1) in dhcp_run()
1835 close(iface->link_fd); in dhcp_run()
Dnet.c441 iface->link_fd = -1; in read_interface()