Lines Matching defs:sa6
278 struct sockaddr_in6 sa6;
375 sa6.sin6_family = AF_INET6;
376 sa6.sin6_addr = in6addr_any;
377 sa6.sin6_scope_id = 0;
382 err = SetupSocket( inMDNS, (const struct sockaddr*) &sa6, zeroIPPort, &inMDNS->p->unicastSock6.fd );
390 sa6len = sizeof( sa6 );
391 err = getsockname( inMDNS->p->unicastSock6.fd, (struct sockaddr*) &sa6, &sa6len );
393 inMDNS->p->unicastSock6.port.NotAnInteger = sa6.sin6_port;
1563 struct sockaddr_in6 * sa6;
1565 sa6 = (struct sockaddr_in6 *) &addr;
1566 sa6->sin6_family = AF_INET6;
1567 sa6->sin6_port = inDstPort.NotAnInteger;
1568 sa6->sin6_flowinfo = 0;
1569 sa6->sin6_addr = *( (struct in6_addr *) &inDstIP->ip.v6 );
1570 sa6->sin6_scope_id = 0; // Windows requires the scope ID to be zero. IPV6_MULTICAST_IF specifies interface.
3024 struct sockaddr_in6 sa6;
3031 mDNSPlatformMemZero( &sa6, sizeof( sa6 ) );
3032 sa6.sin6_family = AF_INET6;
3033 sa6.sin6_port = port.NotAnInteger;
3034 sa6.sin6_flowinfo = 0;
3035 sa6.sin6_addr = sa6p->sin6_addr;
3036 sa6.sin6_scope_id = sa6p->sin6_scope_id;
3038 err = bind( sock, (struct sockaddr *) &sa6, sizeof( sa6 ) );
3138 struct sockaddr_in6 * sa6;
3140 sa6 = (struct sockaddr_in6 *) inSA;
3142 outIP->ip.v6 = *( (mDNSv6Addr *) &sa6->sin6_addr );
3143 if( IN6_IS_ADDR_LINKLOCAL( &sa6->sin6_addr ) )
3149 outPort->NotAnInteger = sa6->sin6_port;
3776 struct sockaddr_in6 * sa6;
3783 sa6 = (struct sockaddr_in6 *) calloc( 1, sizeof( *sa6 ) );
3784 require_action( sa6, exit, err = WSAENOBUFS );
3785 sa6->sin6_family = AF_INET6;
3797 sa6->sin6_addr.s6_addr[ maskIndex++ ] = maskByte;
3799 ifa->ifa_netmask = (struct sockaddr *) sa6;
4383 struct sockaddr_in6 sa6;
4388 sa6.sin6_family = AF_INET6;
4389 dwSize = sizeof( sa6 );
4391 err = WSAStringToAddressA( string, AF_INET6, NULL, (struct sockaddr*) &sa6, &dwSize );
4395 err = SetupAddr( ip, (struct sockaddr*) &sa6 );