Lines Matching refs:local
53 memset(&rth->local, 0, sizeof(rth->local)); in rtnl_open_byproto()
54 rth->local.nl_family = AF_NETLINK; in rtnl_open_byproto()
55 rth->local.nl_groups = subscriptions; in rtnl_open_byproto()
57 if (bind(rth->fd, (struct sockaddr *)&rth->local, in rtnl_open_byproto()
58 sizeof(rth->local)) < 0) { in rtnl_open_byproto()
62 addr_len = sizeof(rth->local); in rtnl_open_byproto()
63 if (getsockname(rth->fd, (struct sockaddr *)&rth->local, in rtnl_open_byproto()
68 if (addr_len != sizeof(rth->local)) { in rtnl_open_byproto()
72 if (rth->local.nl_family != AF_NETLINK) { in rtnl_open_byproto()
74 rth->local.nl_family); in rtnl_open_byproto()
208 h->nlmsg_pid != rtnl->local.nl_pid || in __rtnl_talk_iov()