Searched refs:rtnl_local (Results 1 – 2 of 2) sorted by relevance
169 if (h->nlmsg_pid != rtnl_local.nl_pid || in rtnl_receive()215 addrlen = sizeof(h->rtnl_local); in rtnl_open()217 h->rtnl_local.nl_pid = getpid(); in rtnl_open()224 memset(&h->rtnl_local, 0, sizeof(h->rtnl_local)); in rtnl_open()225 h->rtnl_local.nl_family = AF_NETLINK; in rtnl_open()226 h->rtnl_local.nl_groups = RTMGRP_LINK; in rtnl_open()227 if (bind(h->rtnl_fd, (struct sockaddr *) &h->rtnl_local, addrlen) < 0) { in rtnl_open()233 (struct sockaddr *) &h->rtnl_local, in rtnl_open()239 if (addrlen != sizeof(h->rtnl_local)) { in rtnl_open()244 if (h->rtnl_local.nl_family != AF_NETLINK) { in rtnl_open()[all …]
19 struct sockaddr_nl rtnl_local; member