Lines Matching refs:nlh
40 struct nlmsghdr nlh; in xrtnl_wilddump_request() member
44 req.nlh.nlmsg_len = sizeof(req); in xrtnl_wilddump_request()
45 req.nlh.nlmsg_type = type; in xrtnl_wilddump_request()
46 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST; in xrtnl_wilddump_request()
47 req.nlh.nlmsg_pid = 0; in xrtnl_wilddump_request()
48 req.nlh.nlmsg_seq = rth->dump = ++rth->seq; in xrtnl_wilddump_request()
95 struct nlmsghdr nlh; in rtnl_dump_request() member
99 struct iovec iov[2] = { { &s.nlh, sizeof(s.nlh) }, { req, len } }; in rtnl_dump_request()
113 s.nlh.nlmsg_len = NLMSG_LENGTH(len); in rtnl_dump_request()
114 s.nlh.nlmsg_type = type; in rtnl_dump_request()
115 s.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST; in rtnl_dump_request()
117 s.nlh.nlmsg_seq = rth->dump = ++rth->seq; in rtnl_dump_request()