Searched refs:nll (Results 1 – 1 of 1) sorted by relevance
79 int len, nll = 0; in recv_msg() local84 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()93 nll += len; in recv_msg()100 return nll; in recv_msg()106 static void read_route(struct nlmsghdr *nh, int nll) in read_route() argument143 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route()304 int nll; in get_route_table() local345 nll = recv_msg(sa, sock); in get_route_table()346 if (nll < 0) { in get_route_table()347 printf("recv from netlink: %s\n", strerror(nll)); in get_route_table()[all …]