Lines Matching refs:addrcount
206 u32 addrcount; member
210 u32 addrcount; member
783 cb->reply.data.a.addrcount, cb->ttl, in reply_run_callback()
801 cb->reply.data.aaaa.addrcount, cb->ttl, in reply_run_callback()
1095 int addrcount, addrtocopy; in reply_parse() local
1101 addrcount = datalength >> 2; in reply_parse()
1102 addrtocopy = MIN(MAX_V4_ADDRS - reply.data.a.addrcount, (unsigned)addrcount); in reply_parse()
1107 memcpy(&reply.data.a.addresses[reply.data.a.addrcount], in reply_parse()
1110 reply.data.a.addrcount += addrtocopy; in reply_parse()
1112 if (reply.data.a.addrcount == MAX_V4_ADDRS) break; in reply_parse()
1133 int addrcount, addrtocopy; in reply_parse() local
1139 addrcount = datalength >> 4; /* each address is 16 bytes long */ in reply_parse()
1140 addrtocopy = MIN(MAX_V6_ADDRS - reply.data.aaaa.addrcount, (unsigned)addrcount); in reply_parse()
1145 memcpy(&reply.data.aaaa.addresses[reply.data.aaaa.addrcount], in reply_parse()
1147 reply.data.aaaa.addrcount += addrtocopy; in reply_parse()
1150 if (reply.data.aaaa.addrcount == MAX_V6_ADDRS) break; in reply_parse()