Home | History | Annotate | Download | only in base

Lines Matching refs:bytes

373 // |bytes| should be an array of length 4.
374 const struct addrinfo* GetIPv4Address(const uint8* bytes) {
389 memcpy(&addr4->sin_addr, bytes, 4);
397 // |bytes| should be an array of length 16.
398 const struct addrinfo* GetIPv6Address(const uint8* bytes) {
413 memcpy(&addr6->sin6_addr, bytes, 16);