src/standard.c
void v4tov6(struct in6_addr *sin6_addr, struct in_addr *sin_addr)
{
	memcpy(sin6_addr->s6_addr, rfc4291_pfx, sizeof(rfc4291_pfx));
	memcpy(sin6_addr->s6_addr+12, &sin_addr->s_addr, 4);
}
/* Map IPv4 adress on IPv6 address, as specified in RFC 3513. */
Map IPv4 adress on IPv6 address, as specified in RFC 3513.
Map IPv4 adress on IPv6 address as specified in RFC 3513 .
void v4tov6(struct in6_addr *sin6_addr, struct in_addr *sin_addr)
{
	memcpy(sin6_addr->s6_addr, rfc4291_pfx, sizeof(rfc4291_pfx));
	memcpy(sin6_addr->s6_addr+12, &sin_addr->s_addr, 4);
}
void v4tov6 ( struct in6_addr * sin6_addr , struct in_addr * sin_addr ) { memcpy ( sin6_addr -> s6_addr , rfc4291_pfx , sizeof ( rfc4291_pfx ) ) ; memcpy ( sin6_addr -> s6_addr + 12 , & sin_addr -> s_addr , 4 ) ; }
Map IPv4 adress on IPv6 address, as specified in RFC 3513.
Map IPv4 adress on IPv6 address as specified in RFC 3513 .