Lines Matching refs:ipv6
250 if ( (sa1-> ipv6.sin6_port == sa2->ipv6.sin6_port) &&
251 (memcmp(&(sa1->ipv6.sin6_addr), &(sa2->ipv6.sin6_addr), sizeof(struct in6_addr)) == 0))
309 inet_ntop( AF_INET6, addr -> ipv6.sin6_addr.s6_addr, tmp_addr, sizeof(tmp_addr) );
311 if (IN6_IS_ADDR_LINKLOCAL( &(addr -> ipv6.sin6_addr) ) )
312 sprintf(addr_string, "[%s%%%d]", tmp_addr, addr -> ipv6.sin6_scope_id);
314 *port = ntohs (addr->ipv6.sin6_port);
442 /* if we only have a literal ipv6 address, we use the mac-address */
816 ( IN6_IS_ADDR_LINKLOCAL( &(scanner_sa -> ipv6.sin6_addr ) ) ) )
883 return ntohs(scanner_sa.ipv6.sin6_port);
1018 local_sa_copy.ipv6.sin6_port = htons(BJNP_PORT_SCAN);
1020 if (IN6_IS_ADDR_LOOPBACK( &(local_sa_copy.ipv6.sin6_addr) ) )
1031 dest_sa -> ipv6.sin6_family = AF_INET6;
1034 dest_sa -> ipv6.sin6_port = htons(0);
1036 inet_pton(AF_INET6, "ff02::1", dest_sa -> ipv6.sin6_addr.s6_addr);
1077 dest_addr.ipv6.sin6_port = htons(port);
2165 local.ipv6.sin6_family = AF_INET6;
2166 local.ipv6.sin6_addr = in6addr_any;