Home
last modified time | relevance | path

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

/external/avahi/avahi-core/
Dsocket.c67 static void mdns_mcast_group_ipv4(struct sockaddr_in *ret_sa) { in mdns_mcast_group_ipv4() argument
68 assert(ret_sa); in mdns_mcast_group_ipv4()
70 memset(ret_sa, 0, sizeof(struct sockaddr_in)); in mdns_mcast_group_ipv4()
71 ret_sa->sin_family = AF_INET; in mdns_mcast_group_ipv4()
72 ret_sa->sin_port = htons(AVAHI_MDNS_PORT); in mdns_mcast_group_ipv4()
73 inet_pton(AF_INET, AVAHI_IPV4_MCAST_GROUP, &ret_sa->sin_addr); in mdns_mcast_group_ipv4()
76 static void mdns_mcast_group_ipv6(struct sockaddr_in6 *ret_sa) { in mdns_mcast_group_ipv6() argument
77 assert(ret_sa); in mdns_mcast_group_ipv6()
79 memset(ret_sa, 0, sizeof(struct sockaddr_in6)); in mdns_mcast_group_ipv6()
80 ret_sa->sin6_family = AF_INET6; in mdns_mcast_group_ipv6()
[all …]