/haiku/src/system/libnetwork/netresolv/net/ |
H A D | vars6.c | 52 const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; 53 const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; 54 const struct in6_addr in6addr_nodelocal_allnodes = IN6ADDR_NODELOCAL_ALLNODES_INIT; 55 const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT; 56 const struct in6_addr in6addr_linklocal_allrouters = IN6ADDR_LINKLOCAL_ALLROUTERS_INIT;
|
H A D | gethnamaddr.c | 427 struct in6_addr in6; in getanswer() 698 (IN6_IS_ADDR_LINKLOCAL((const struct in6_addr *)addr) || in gethostbyaddr_r() 699 IN6_IS_ADDR_SITELOCAL((const struct in6_addr *)addr))) { in gethostbyaddr_r() 704 (IN6_IS_ADDR_V4MAPPED((const struct in6_addr *)addr) || in gethostbyaddr_r() 705 IN6_IS_ADDR_V4COMPAT((const struct in6_addr *)addr))) { in gethostbyaddr_r() 750 struct in6_addr host_addr; in gethostent_r() 1113 struct in6_addr host_addrs[MAXADDRS]; in _yp_hostent()
|
H A D | getnameinfo.c | 88 {PF_INET6, sizeof(struct in6_addr), sizeof(struct sockaddr_in6), 493 const struct in6_addr *a6; in ip6_sa2str()
|
H A D | getaddrinfo.c | 141 {PF_INET6, sizeof(struct in6_addr), 974 addrlen = sizeof(struct in6_addr); in matchlen() 1673 struct in6_addr *a6; 1875 struct in6_addr in6;
|
/haiku/headers/posix/netinet6/ |
H A D | in6.h | 13 struct in6_addr { struct 32 struct in6_addr sin6_addr; argument 53 extern const struct in6_addr in6addr_any; 54 extern const struct in6_addr in6addr_loopback; 58 struct in6_addr ipv6mr_multiaddr; 64 struct in6_addr ipi6_addr; /* src/dst IPv6 address */ 81 (!memcmp((a)->s6_addr, in6addr_any.s6_addr, sizeof(struct in6_addr))) 84 (!memcmp((a)->s6_addr, in6addr_loopback.s6_addr, sizeof(struct in6_addr))) 133 (!memcmp((a)->s6_addr, (b)->s6_addr, sizeof(struct in6_addr)))
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_address.cpp | 26 const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; 27 const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT; 33 in6_addr &i6addr = ((sockaddr_in6 *)address)->sin6_addr; in ipv6_mask_adress_inplace() 34 const in6_addr &i6mask = ((const sockaddr_in6 *)mask)->sin6_addr; in ipv6_mask_adress_inplace() 36 for (uint32 i = 0; i < sizeof(in6_addr); i++) in ipv6_mask_adress_inplace() 157 return !memcmp(&i6a->sin6_addr, &i6b->sin6_addr, sizeof(in6_addr)); in ipv6_equal_addresses() 191 && !memcmp(&i6a->sin6_addr, &i6b->sin6_addr, sizeof(in6_addr)); in ipv6_equal_addresses_and_ports() 206 const in6_addr *i6a; in ipv6_equal_masked_addresses() 212 const in6_addr *i6b; in ipv6_equal_masked_addresses() 219 return !memcmp(i6a, i6b, sizeof(in6_addr)); in ipv6_equal_masked_addresses() [all …]
|
H A D | ipv6_utils.h | 17 const char *ip6_sprintf(const in6_addr *addr, char *dst, 37 ipv6_checksum(const struct in6_addr* source, in ipv6_checksum() 38 const struct in6_addr* destination, in ipv6_checksum() 47 sum += compute_wordsum((uint8*)source, sizeof(in6_addr)); in ipv6_checksum() 48 sum += compute_wordsum((uint8*)destination, sizeof(in6_addr)); in ipv6_checksum()
|
H A D | ipv6_address.h | 20 operator==(const in6_addr &a1, const in6_addr &a2) 23 return !memcmp(&a1, &a2, sizeof(in6_addr));
|
H A D | multicast.h | 33 typedef struct in6_addr AddressType; 40 static const in6_addr &AddressFromSockAddr(const sockaddr *sockaddr) in AddressFromSockAddr() 42 static size_t HashAddress(const in6_addr &address) in HashAddress() 44 sizeof(in6_addr) / sizeof(uint32), 0); } in HashAddress() 176 sizeof(in6_addr) / sizeof(uint32), result); in HashKey()
|
H A D | ipv6.cpp | 66 const in6_addr& Dst() const { return header.ip6_dst; } in Dst() 67 const in6_addr& Src() const { return header.ip6_src; } in Src() 79 in6_addr source; 80 in6_addr destination; 164 typedef std::pair<const in6_addr*, uint32> KeyType; 506 sizeof(in6_addr) / sizeof(uint32), result); in HashKey() 552 memcpy(&key.source, &header.Src(), sizeof(in6_addr)); in reassemble_fragments() 553 memcpy(&key.destination, &header.Dst(), sizeof(in6_addr)); in reassemble_fragments() 811 fill_sockaddr_in6(sockaddr_in6* target, const in6_addr &address) in fill_sockaddr_in6() 817 memcpy(target->sin6_addr.s6_addr, address.s6_addr, sizeof(in6_addr)); in fill_sockaddr_in6() [all …]
|
H A D | ipv6_utils.cpp | 51 ip6_sprintf(const in6_addr *srcaddr, char *dst, size_t size) in ip6_sprintf()
|
/haiku/src/add-ons/kernel/network/datalink_protocols/ipv6_datagram/ |
H A D | ipv6_datagram.cpp | 49 in6_addr local_address; 65 const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; 75 in6_addr target_address; 99 in6_addr protocol_address; 113 static ndp_entry* Lookup(const in6_addr& protocolAddress); 114 static ndp_entry* Add(const in6_addr& protocolAddress, 127 typedef in6_addr KeyType; 130 size_t HashKey(in6_addr key) const in HashKey() 133 sizeof(in6_addr) / sizeof(uint32), 0); in HashKey() 141 bool Compare(in6_addr key, ndp_entry* value) const in Compare() [all …]
|
/haiku/headers/posix/netinet/ |
H A D | icmp6.h | 181 struct in6_addr mld_addr; /* multicast address */ 249 struct in6_addr nd_ns_target; /*target address */ 260 struct in6_addr nd_na_target; /* target address */ 282 struct in6_addr nd_rd_target; /* target address */ 283 struct in6_addr nd_rd_dst; /* destination address */ 314 struct in6_addr nd_opt_pi_prefix; 461 struct in6_addr rpm_prefix; 477 struct in6_addr rpu_prefix; 495 struct in6_addr rrr_prefix;
|
H A D | ip6.h | 82 struct in6_addr ip6_src; /* source address */ 83 struct in6_addr ip6_dst; /* destination address */
|
/haiku/headers/os/net/ |
H A D | NetworkAddress.h | 38 BNetworkAddress(const in6_addr& address, 62 void SetTo(const in6_addr& address, uint16 port = 0); 74 status_t SetAddress(const in6_addr& address);
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_private.h | 12 struct in6_addr in6a;
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkAddress.cpp | 123 BNetworkAddress::BNetworkAddress(const in6_addr& address, uint16 port) in BNetworkAddress() 357 BNetworkAddress::SetTo(const in6_addr& inet6Address, uint16 port) in SetTo() 452 for (uint8 i = 0; i < sizeof(in6_addr); i++, prefixLength -= 8) { in SetToMask() 505 BNetworkAddress::SetAddress(const in6_addr& inet6Address) in SetAddress() 694 sizeof(in6_addr)); in IsWildcard() 873 for (uint8 i = 0; i < sizeof(in6_addr); i++) { in PrefixLength()
|
/haiku/src/bin/network/ping/ |
H A D | main.c | 101 struct in6_addr a6; in main()
|
H A D | ping6.c | 195 #define IN6LEN sizeof(struct in6_addr) 1963 struct in6_addr *in6; in pr_rthdr() 2167 if (nilen % (sizeof(u_int32_t) + sizeof(struct in6_addr)) == 0) in pr_nodeaddr() 2198 nilen -= sizeof(struct in6_addr); in pr_nodeaddr() 2199 cp += sizeof(struct in6_addr); in pr_nodeaddr() 2467 if (l == sizeof(struct in6_addr) && in pr_icmph() 2752 struct in6_addr in6; in nigroup()
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Connection.cpp | 204 return sizeof(in6_addr); in InAddrSize()
|
/haiku/src/servers/net/ |
H A D | NetServer.cpp | 859 in6_addr addressRaw; in _ConfigureIPv6LinkLocal()
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 824 addrsize = sizeof(struct in6_addr); in inithosts() 891 struct in6_addr *mapped_in6 = NULL; in selecthost()
|
/haiku/src/system/libnetwork/netresolv/nameser/ |
H A D | ns_print.c | 677 struct in6_addr a; in ns_sprintrrf()
|
/haiku/src/bin/network/telnet/ |
H A D | commands.c | 2872 sizeof(struct in6_addr))) in sourceroute()
|