Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c47 struct sockaddr addrm; in tp_udp_init() local
89 addrm.sa_family = AF_INET; in tp_udp_init()
90 ((struct sockaddr_in *)&addrm)->sin_port = in tp_udp_init()
92 ((struct sockaddr_in *)&addrm)->sin_addr.s_addr = INADDR_ANY; in tp_udp_init()
97 addrm.sa_family = AF_INET6; in tp_udp_init()
98 ((struct sockaddr_in6 *)&addrm)->sin6_port = in tp_udp_init()
100 memcpy(&((struct sockaddr_in6 *)&addrm)->sin6_addr, &in6addr_any, in tp_udp_init()
109 err = zsock_bind(udp->sock, &addrm, sizeof(addrm)); in tp_udp_init()
120 iface = net_if_ipv6_select_src_iface(&((struct sockaddr_in6 *)&addrm)->sin6_addr); in tp_udp_init()