Searched refs:link_fd (Results 1 – 5 of 5) sorted by relevance
212 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()
75 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()
107 int link_fd; member
768 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()
441 iface->link_fd = -1; in read_interface()