Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/libiproute/
Dlibnetlink.c97 struct sockaddr_nl nladdr; in rtnl_dump_request() member
103 s.msg.msg_name = (void*)&s.nladdr; in rtnl_dump_request()
104 s.msg.msg_namelen = sizeof(s.nladdr); in rtnl_dump_request()
111 s.nladdr.nl_family = AF_NETLINK; in rtnl_dump_request()
130 struct sockaddr_nl nladdr; in rtnl_dump_filter() local
138 .msg_name = (void*)&nladdr, in rtnl_dump_filter()
139 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter()
159 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_dump_filter()
167 if (nladdr.nl_pid != 0 || in rtnl_dump_filter()
194 err = filter(&nladdr, h, arg1); in rtnl_dump_filter()
[all …]
Diproute.c729 struct sockaddr_nl nladdr; in rtnl_rtcache_request() local
731 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_rtcache_request()
733 nladdr.nl_family = AF_NETLINK; in rtnl_rtcache_request()
746 return xsendto(rth->fd, (void*)&req, sizeof(req), (struct sockaddr*)&nladdr, sizeof(nladdr)); in rtnl_rtcache_request()