Lines Matching refs:nm_addr
93 struct sockaddr_nm *nm_addr = (struct sockaddr_nm *)addr; in znet_mgmt_bind() local
99 if (nm_addr->nm_ifindex) { in znet_mgmt_bind()
100 mgmt->iface = net_if_get_by_index(nm_addr->nm_ifindex); in znet_mgmt_bind()
109 mgmt->pid = nm_addr->nm_pid; in znet_mgmt_bind()
112 mgmt->mask = nm_addr->nm_mask; in znet_mgmt_bind()
146 struct sockaddr_nm *nm_addr = (struct sockaddr_nm *)src_addr; in znet_mgmt_recvfrom() local
194 if (nm_addr) { in znet_mgmt_recvfrom()
196 nm_addr->nm_ifindex = net_if_get_by_iface(iface); in znet_mgmt_recvfrom()
198 nm_addr->nm_ifindex = 0; in znet_mgmt_recvfrom()
201 nm_addr->nm_pid = mgmt->pid; in znet_mgmt_recvfrom()
202 nm_addr->nm_family = AF_NET_MGMT; in znet_mgmt_recvfrom()
203 nm_addr->nm_mask = raised_event; in znet_mgmt_recvfrom()