Lines Matching refs:raddr
122 AvahiAddress raddr; in rtm_addr() local
155 raddr.proto = avahi_af_to_proto(sa->sa_family); in rtm_addr()
173 memcpy(raddr.data.data, &((struct sockaddr_in *)sa)->sin_addr, sizeof(struct in_addr)); in rtm_addr()
185 memcpy(raddr.data.data, &((struct sockaddr_in6 *)sa)->sin6_addr, sizeof(struct in6_addr)); in rtm_addr()
187 if (IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)raddr.data.data)) in rtm_addr()
189 ((struct in6_addr *)raddr.data.data)->s6_addr[2] = 0; in rtm_addr()
190 ((struct in6_addr *)raddr.data.data)->s6_addr[3] = 0; in rtm_addr()
214 if (!(addriface = avahi_interface_monitor_get_address(m, iface, &raddr))) in rtm_addr()
215 if (!(addriface = avahi_interface_address_new(m, iface, &raddr, prefixlen))) in rtm_addr()
217 if (raddr.proto == AVAHI_PROTO_INET6) in rtm_addr()
219 …!(IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)raddr.data.data) || IN6_IS_ADDR_MULTICAST((struct in6_a… in rtm_addr()
228 if (!(addriface = avahi_interface_monitor_get_address(m, iface, &raddr))) in rtm_addr()