Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/libiproute/
Dlibnetlink.c40 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()
[all …]
Diproute.c726 struct nlmsghdr nlh; in rtnl_rtcache_request() member
735 req.nlh.nlmsg_len = sizeof(req); in rtnl_rtcache_request()
737 req.nlh.nlmsg_type = RTM_GETROUTE; in rtnl_rtcache_request()
739 req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_REQUEST; in rtnl_rtcache_request()
741 req.nlh.nlmsg_seq = rth->dump = ++rth->seq; in rtnl_rtcache_request()