Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c95 int len, nll = 0; in recv_msg() local
100 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() argument
159 for (; NLMSG_OK(nh, nll); nh = NLMSG_NEXT(nh, nll)) { in read_route()
320 int nll; in get_route_table() local
361 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 …]