Searched defs:alen (Results 1 - 3 of 3) sorted by relevance

/systemd/src/nss-myhostname/
H A Dnss-myhostname.c198 size_t l_canonical, l_additional, idx, ms, alen; local
209 alen = FAMILY_ADDRESS_SIZE(af);
221 (c > 0 ? c : 1) * ALIGN(alen) +
261 memcpy(r_addr + i*ALIGN(alen), &a->address, alen);
266 idx += c*ALIGN(alen);
273 idx += ALIGN(alen);
282 ((char**) r_addr_list)[i] = r_addr + i*ALIGN(alen);
299 result->h_length = alen;
/systemd/src/nss-mymachines/
H A Dnss-mymachines.c246 size_t l, idx, ms, alen; local
302 alen = FAMILY_ADDRESS_SIZE(af);
305 ms = ALIGN(l+1) + c * ALIGN(alen) + (c+2) * sizeof(char*);
345 if (sz != alen) {
350 memcpy(r_addr + i*ALIGN(alen), a, alen);
355 idx += c * ALIGN(alen);
364 ((char**) r_addr_list)[i] = r_addr + i*ALIGN(alen);
374 result->h_length = alen;
/systemd/src/nss-resolve/
H A Dnss-resolve.c316 size_t l, idx, ms, alen; local
386 alen = FAMILY_ADDRESS_SIZE(af);
389 ms = ALIGN(l+1) + c * ALIGN(alen) + (c+2) * sizeof(char*);
439 if (sz != alen) {
444 memcpy(r_addr + i*ALIGN(alen), a, alen);
451 idx += c * ALIGN(alen);
456 ((char**) r_addr_list)[i] = r_addr + i*ALIGN(alen);
466 result->h_length = alen;

Completed in 14 milliseconds