Lines Matching refs:nl
262 struct nlmsghdr nl; in get_route_table() member
280 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table()
281 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_route_table()
282 req.nl.nlmsg_type = RTM_GETROUTE; in get_route_table()
286 req.nl.nlmsg_pid = 0; in get_route_table()
287 req.nl.nlmsg_seq = ++seq; in get_route_table()
289 iov.iov_base = (void *)&req.nl; in get_route_table()
290 iov.iov_len = req.nl.nlmsg_len; in get_route_table()
398 struct nlmsghdr nl; in get_arp_table() member
416 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
417 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_arp_table()
418 req.nl.nlmsg_type = RTM_GETNEIGH; in get_arp_table()
421 req.nl.nlmsg_pid = 0; in get_arp_table()
422 req.nl.nlmsg_seq = ++seq; in get_arp_table()
424 iov.iov_base = (void *)&req.nl; in get_arp_table()
425 iov.iov_len = req.nl.nlmsg_len; in get_arp_table()