Lines Matching defs:local
311 struct sockaddr_in local;
338 memset(&local, 0, sizeof(local));
339 local.sin_family = AF_INET;
340 local.sin_port = htons(AVAHI_MDNS_PORT);
343 r = bind(fd, (struct sockaddr*) &local, sizeof(local));
345 r = bind_with_warn(fd, (struct sockaddr*) &local, sizeof(local));
373 struct sockaddr_in6 sa, local;
408 memset(&local, 0, sizeof(local));
409 local.sin6_family = AF_INET6;
410 local.sin6_port = htons(AVAHI_MDNS_PORT);
413 r = bind(fd, (struct sockaddr*) &local, sizeof(local));
415 r = bind_with_warn(fd, (struct sockaddr*) &local, sizeof(local));
558 #warning "FIXME: We need some code to set the outgoing interface/local address here if IP_PKTINFO/IP_MULTICAST_IF is not available"
911 struct sockaddr_in local;
919 memset(&local, 0, sizeof(local));
920 local.sin_family = AF_INET;
922 if (bind(fd, (struct sockaddr*) &local, sizeof(local)) < 0) {
951 struct sockaddr_in6 local;
965 memset(&local, 0, sizeof(local));
966 local.sin6_family = AF_INET6;
968 if (bind(fd, (struct sockaddr*) &local, sizeof(local)) < 0) {