Searched defs:addrlen (Results 1 - 8 of 8) sorted by relevance

/bind-9.11.3/lib/dns/rdata/generic/
H A Dopt_41.c117 isc_uint8_t addrlen; local
125 addrlen = uint8_fromregion(&sregion);
141 if (addrlen != 0U || scope != 0U)
145 if (addrlen > 32U || scope > 32U)
149 if (addrlen > 128U || scope > 128U)
155 addrbytes = (addrlen + 7) / 8;
159 if (addrbytes != 0U && (addrlen % 8) != 0) {
160 isc_uint8_t bits = ~0U << (8 - (addrlen % 8));
/bind-9.11.3/lib/lwres/
H A Dlwresutil.c63 * looked up is given by addr and its length is addrlen bytes. The
348 lwres_uint16_t addrlen, const unsigned char *addr,
362 REQUIRE(addrlen != 0);
383 request.addr.length = addrlen;
384 memmove(request.addr.address, addr, addrlen);
347 lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype, lwres_uint16_t addrlen, const unsigned char *addr, lwres_gnbaresponse_t **structp) argument
H A Dgetaddrinfo.c158 *ai_alloc(int family, int addrlen);
745 ai_alloc(int family, int addrlen) { argument
752 ai->ai_addr = SA(calloc(1, addrlen));
757 ai->ai_addrlen = addrlen;
761 ai->ai_addr->sa_len = addrlen;
/bind-9.11.3/lib/irs/
H A Dgetaddrinfo.c160 *ai_alloc(int family, int addrlen);
1229 ai_alloc(int family, int addrlen) { argument
1236 ai->ai_addr = SA(calloc(1, addrlen));
1241 ai->ai_addrlen = addrlen;
1245 ai->ai_addr->sa_len = addrlen;
/bind-9.11.3/lib/dns/
H A Dmessage.c3374 isc_uint8_t addrlen, addrbytes, scopelen; local
3384 addrlen = isc_buffer_getuint8(ecsbuf);
3387 addrbytes = (addrlen + 7) / 8;
3400 if (addrlen != 0U || scopelen != 0U)
3405 if (addrlen > 32 || scopelen > 32)
3410 if (addrlen > 128 || scopelen > 128)
3420 snprintf(addr_text, sizeof(addr_text), "/%d/%d", addrlen, scopelen);
/bind-9.11.3/lib/isccfg/
H A Dparser.c2539 unsigned int addrlen = 0, prefixlen; local
2550 addrlen = 32;
2553 addrlen = 128;
2570 if (prefixlen > addrlen) {
2576 prefixlen = addrlen;
/bind-9.11.3/bin/named/
H A Dclient.c1978 isc_uint8_t addrlen, addrbytes, scope, *paddr; local
2003 addrlen = isc_buffer_getuint8(buf);
2023 if (addrlen != 0U) {
2028 addrlen);
2034 if (addrlen > 32U) {
2039 addrlen);
2045 if (addrlen > 128U) {
2050 addrlen);
2062 addrbytes = (addrlen + 7) / 8;
2076 if ((addrlen
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dsocket.c3530 ISC_SOCKADDR_LEN_T addrlen; local
3582 addrlen = sizeof(NEWCONNSOCK(dev)->peer_address.type);
3583 memset(&NEWCONNSOCK(dev)->peer_address.type, 0, addrlen);
3585 (void *)&addrlen);
3646 if (addrlen == 0U) {
3680 NEWCONNSOCK(dev)->peer_address.length = addrlen;

Completed in 55 milliseconds