Home
last modified time | relevance | path

Searched refs:nm_addr (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_net_mgmt.c93 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()
[all …]