Searched refs:sock_arp (Results 1 – 1 of 1) sorted by relevance
455 int sock, sock_arp, nll; in monitor_routes_thread() local477 sock_arp = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in monitor_routes_thread()478 if (sock_arp < 0) { in monitor_routes_thread()484 fcntl(sock_arp, F_SETFL, O_NONBLOCK); in monitor_routes_thread()488 if (bind(sock_arp, (struct sockaddr *)&la, sizeof(la)) < 0) { in monitor_routes_thread()493 fds_arp.fd = sock_arp; in monitor_routes_thread()523 nll = recv_msg(la, sock_arp); in monitor_routes_thread()538 close(sock_arp); in monitor_routes_thread()