Lines Matching refs:nladdr
173 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request() local
179 .msg_name = &nladdr, in rtnl_dump_request()
180 .msg_namelen = sizeof(nladdr), in rtnl_dump_request()
196 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request_n() local
202 .msg_name = &nladdr, in rtnl_dump_request_n()
203 .msg_namelen = sizeof(nladdr), in rtnl_dump_request_n()
218 struct sockaddr_nl nladdr; in rtnl_dump_filter_l() local
221 .msg_name = &nladdr, in rtnl_dump_filter_l()
222 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter_l()
264 if (nladdr.nl_pid != 0 || in rtnl_dump_filter_l()
294 err = a->filter(&nladdr, h, a->arg1); in rtnl_dump_filter_l()
340 struct sockaddr_nl nladdr; in rtnl_talk() local
346 .msg_name = &nladdr, in rtnl_talk()
347 .msg_namelen = sizeof(nladdr), in rtnl_talk()
353 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_talk()
354 nladdr.nl_family = AF_NETLINK; in rtnl_talk()
385 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_talk()
402 if (nladdr.nl_pid != 0 || in rtnl_talk()
473 struct sockaddr_nl nladdr; in rtnl_listen() local
476 .msg_name = &nladdr, in rtnl_listen()
477 .msg_namelen = sizeof(nladdr), in rtnl_listen()
489 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_listen()
490 nladdr.nl_family = AF_NETLINK; in rtnl_listen()
491 nladdr.nl_pid = 0; in rtnl_listen()
492 nladdr.nl_groups = 0; in rtnl_listen()
515 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_listen()
548 err = handler(&nladdr, &ctrl, h, jarg); in rtnl_listen()
570 struct sockaddr_nl nladdr; in rtnl_from_file() local
574 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_from_file()
575 nladdr.nl_family = AF_NETLINK; in rtnl_from_file()
576 nladdr.nl_pid = 0; in rtnl_from_file()
577 nladdr.nl_groups = 0; in rtnl_from_file()
614 err = handler(&nladdr, NULL, h, jarg); in rtnl_from_file()