Lines Matching refs:nl
323 struct nlmsghdr nl; in get_route_table() member
341 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table()
342 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_route_table()
343 req.nl.nlmsg_type = RTM_GETROUTE; in get_route_table()
347 req.nl.nlmsg_pid = 0; in get_route_table()
348 req.nl.nlmsg_seq = ++seq; in get_route_table()
350 iov.iov_base = (void *)&req.nl; in get_route_table()
351 iov.iov_len = req.nl.nlmsg_len; in get_route_table()
462 struct nlmsghdr nl; in get_arp_table() member
480 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table()
481 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_arp_table()
482 req.nl.nlmsg_type = RTM_GETNEIGH; in get_arp_table()
485 req.nl.nlmsg_pid = 0; in get_arp_table()
486 req.nl.nlmsg_seq = ++seq; in get_arp_table()
488 iov.iov_base = (void *)&req.nl; in get_arp_table()
489 iov.iov_len = req.nl.nlmsg_len; in get_arp_table()