Lines Matching refs:ai_addrlen
145 size_t ai_addrlen;
206 l = sizeof(AddrInfoSerialization) + ai->ai_addrlen + cnl;
215 s.ai_addrlen = ai->ai_addrlen;
219 memcpy((uint8_t*) p + sizeof(AddrInfoSerialization), ai->ai_addr, ai->ai_addrlen);
222 memcpy((char*) p + sizeof(AddrInfoSerialization) + ai->ai_addrlen, ai->ai_canonname, cnl);
706 l = sizeof(AddrInfoSerialization) + s.ai_addrlen + s.canonname_len;
718 ai->ai_addrlen = s.ai_addrlen;
720 if (s.ai_addrlen > 0) {
721 ai->ai_addr = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization), s.ai_addrlen);
729 ai->ai_canonname = memdup((const uint8_t*) *p + sizeof(AddrInfoSerialization) + s.ai_addrlen, s.canonname_len);