Searched refs:nll (Results 1 – 1 of 1) sorted by relevance
95 int len, nll = 0; in recv_msg() local100 len = recv(sock, buf_ptr, sizeof(buf) - nll, 0); in recv_msg()109 nll += len; in recv_msg()116 return nll; in recv_msg()122 static void read_route(struct nlmsghdr *nh, int nll) in read_route() argument159 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route()320 int nll; in get_route_table() local361 nll = recv_msg(sa, sock); in get_route_table()362 if (nll < 0) { in get_route_table()363 printf("recv from netlink: %s\n", strerror(nll)); in get_route_table()[all …]