Searched refs:nladdr (Results 1 – 1 of 1) sorted by relevance
1279 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_bind() local1285 if (nladdr->nl_family != AF_NETLINK) in netlink_bind()1289 if (nladdr->nl_groups) { in netlink_bind()1298 if (nladdr->nl_pid != nlk->portid) in netlink_bind()1301 err = nladdr->nl_pid ? in netlink_bind()1302 netlink_insert(sk, net, nladdr->nl_pid) : in netlink_bind()1308 if (!nladdr->nl_groups && (nlk->groups == NULL || !(u32)nlk->groups[0])) in netlink_bind()1313 hweight32(nladdr->nl_groups) - in netlink_bind()1315 nlk->groups[0] = (nlk->groups[0] & ~0xffffffffUL) | nladdr->nl_groups; in netlink_bind()1337 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_connect() local[all …]