Lines Matching refs:nl
327 struct nlmsghdr nl; in get_route_table() member
345 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table()
346 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_route_table()
347 req.nl.nlmsg_type = RTM_GETROUTE; in get_route_table()
351 req.nl.nlmsg_pid = 0; in get_route_table()
352 req.nl.nlmsg_seq = ++seq; in get_route_table()
354 iov.iov_base = (void *)&req.nl; in get_route_table()
355 iov.iov_len = req.nl.nlmsg_len; in get_route_table()
477 struct nlmsghdr nl; in get_arp_table() member
495 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
496 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_arp_table()
497 req.nl.nlmsg_type = RTM_GETNEIGH; in get_arp_table()
500 req.nl.nlmsg_pid = 0; in get_arp_table()
501 req.nl.nlmsg_seq = ++seq; in get_arp_table()
503 iov.iov_base = (void *)&req.nl; in get_arp_table()
504 iov.iov_len = req.nl.nlmsg_len; in get_arp_table()