Searched defs:prefixlen (Results 1 - 19 of 19) sorted by relevance

/bind-9.11.3/lib/dns/rdata/in_1/
H A Da6_38.h21 isc_uint8_t prefixlen; member in struct:dns_rdata_in_a6
H A Da6_38.c24 unsigned char prefixlen; local
46 prefixlen = (unsigned char)token.value.as_ulong;
47 RETERR(mem_tobuffer(target, &prefixlen, 1));
52 if (prefixlen != 128) {
56 octets = prefixlen/8;
65 mask = 0xff >> (prefixlen % 8);
70 if (prefixlen == 0)
94 unsigned char prefixlen; local
107 prefixlen = sr.base[0];
108 INSIST(prefixlen <
140 unsigned char prefixlen; local
191 unsigned char prefixlen; local
390 unsigned char prefixlen, octets; local
431 unsigned int prefixlen; local
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dpeer.h59 unsigned int prefixlen; member in struct:dns_peer
125 unsigned int prefixlen, dns_peer_t **peer);
H A Dacl.h63 unsigned int prefixlen; member in struct:dns_aclipprefix
/bind-9.11.3/lib/dns/
H A Ddns64.c40 unsigned int prefixlen; /* member in struct:dns_dns64
50 unsigned int prefixlen, isc_netaddr_t *suffix,
59 REQUIRE(prefixlen == 32 || prefixlen == 40 || prefixlen == 48 ||
60 prefixlen == 56 || prefixlen == 64 || prefixlen == 96);
61 REQUIRE(isc_netaddr_prefixok(prefix, prefixlen) == ISC_R_SUCCESS);
67 nbytes = prefixlen /
49 dns_dns64_create(isc_mem_t *mctx, isc_netaddr_t *prefix, unsigned int prefixlen, isc_netaddr_t *suffix, dns_acl_t *clients, dns_acl_t *mapped, dns_acl_t *excluded, unsigned int flags, dns_dns64_t **dns64p) argument
[all...]
H A Dopensslrsa_link.c564 unsigned int prefixlen = 0; local
627 prefixlen = sizeof(sha256_prefix);
641 prefixlen = sizeof(sha512_prefix);
666 INSIST(prefixlen != 0);
667 INSIST(prefixlen + digestlen <= sizeof(digest));
669 memmove(digest + prefixlen, digest, digestlen);
670 memmove(digest, prefix, prefixlen);
671 status = RSA_private_encrypt(digestlen + prefixlen,
715 unsigned int prefixlen = 0; local
789 prefixlen
[all...]
H A Dpeer.c141 if (p->prefixlen < peer->prefixlen)
164 server->prefixlen))
195 unsigned int prefixlen = 0; local
200 prefixlen = 32;
203 prefixlen = 128;
209 return (dns_peer_newprefix(mem, addr, prefixlen, peerptr));
213 dns_peer_newprefix(isc_mem_t *mem, isc_netaddr_t *addr, unsigned int prefixlen, argument
226 peer->prefixlen = prefixlen;
[all...]
/bind-9.11.3/lib/isc/
H A Dnetaddr.c61 unsigned int prefixlen)
94 if (prefixlen > ipabytes * 8)
95 prefixlen = ipabytes * 8;
97 nbytes = prefixlen / 8;
98 nbits = prefixlen % 8;
205 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { argument
214 if (prefixlen > 32)
220 if (prefixlen > 128)
226 nbytes = prefixlen / 8;
227 nbits = prefixlen
60 isc_netaddr_eqprefix(const isc_netaddr_t *a, const isc_netaddr_t *b, unsigned int prefixlen) argument
[all...]
H A Dsockaddr.c96 unsigned int prefixlen)
101 return (isc_netaddr_eqprefix(&na, &nb, prefixlen));
95 isc_sockaddr_eqaddrprefix(const isc_sockaddr_t *a, const isc_sockaddr_t *b, unsigned int prefixlen) argument
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dpunycode.c111 size_t prefixlen = strlen(IDN_PUNYCODE_PREFIX); local
130 from += prefixlen;
210 size_t prefixlen = strlen(IDN_PUNYCODE_PREFIX); local
230 if (tolen < prefixlen) {
234 memcpy(to, IDN_PUNYCODE_PREFIX, prefixlen);
235 to += prefixlen;
236 tolen -= prefixlen;
H A Drace.c106 size_t prefixlen = strlen(IDN_RACE_PREFIX); local
124 from += prefixlen;
246 size_t prefixlen = strlen(IDN_RACE_PREFIX); local
265 if (tolen < prefixlen) {
269 memcpy(to, IDN_RACE_PREFIX, prefixlen);
270 to += prefixlen;
271 tolen -= prefixlen;
/bind-9.11.3/lib/isc/unix/
H A Difiter_ioctl.c433 int i, bits, prefixlen; local
532 prefixlen = lifreq.lifr_addrlen;
543 prefixlen = 128;
551 if (prefixlen > 8) {
553 prefixlen -= 8;
555 bits = 8 - prefixlen;
556 prefixlen = 0;
H A Dfile.c235 size_t prefixlen = s - path + 1; local
236 if ((prefixlen + strlen(templet) + 1) > buflen)
239 /* Copy 'prefixlen' bytes and NUL terminate. */
240 strlcpy(buf, path, ISC_MIN(prefixlen + 1, buflen));
/bind-9.11.3/lib/isc/win32/
H A Dfile.c334 size_t prefixlen = s - path + 1; local
335 if ((prefixlen + strlen(templet) + 1) > buflen)
338 /* Copy 'prefixlen' bytes and NUL terminate. */
339 strlcpy(buf, path, ISC_MIN(prefixlen + 1, buflen));
/bind-9.11.3/lib/isccfg/include/isccfg/
H A Dgrammar.h143 unsigned int prefixlen; member in struct:cfg_netprefix
/bind-9.11.3/bin/named/
H A Dinterfacemgr.c707 unsigned int prefixlen; local
713 prefixlen = (netaddr->family == AF_INET) ? 32 : 128;
715 netaddr, prefixlen, ISC_TRUE);
721 &prefixlen);
735 if (prefixlen == 0U) {
745 netaddr, prefixlen, ISC_TRUE);
H A Dserver.c1308 unsigned int prefixlen; local
1310 cfg_obj_asnetprefix(cfg_map_getname(cpeer), &na, &prefixlen); local
1313 result = dns_peer_newprefix(mctx, &na, prefixlen, &peer);
1747 unsigned int prefixlen, const char *server,
1763 REQUIRE(prefixlen == 32 || prefixlen == 40 || prefixlen == 48 ||
1764 prefixlen == 56 || prefixlen == 64 || prefixlen
1746 dns64_reverse(dns_view_t *view, isc_mem_t *mctx, isc_netaddr_t *na, unsigned int prefixlen, const char *server, const char *contact) argument
3581 unsigned int prefixlen; local
3608 &prefixlen); local
[all...]
/bind-9.11.3/lib/isccfg/
H A Dparser.c2539 unsigned int addrlen = 0, prefixlen; local
2569 prefixlen = pctx->token.value.as_ulong;
2570 if (prefixlen > addrlen) {
2576 prefixlen = addrlen;
2580 obj->value.netprefix.prefixlen = prefixlen;
2594 cfg_print_rawuint(pctx, p->prefixlen);
2605 unsigned int *prefixlen)
2609 REQUIRE(prefixlen != NULL);
2612 *prefixlen
2604 cfg_obj_asnetprefix(const cfg_obj_t *obj, isc_netaddr_t *netaddr, unsigned int *prefixlen) argument
[all...]
/bind-9.11.3/lib/bind9/
H A Dcheck.c487 unsigned int prefixlen; local
511 cfg_obj_asnetprefix(obj, &na, &prefixlen);
519 if (prefixlen != 32 && prefixlen != 40 && prefixlen != 48 &&
520 prefixlen != 56 && prefixlen != 64 && prefixlen != 96) {
523 prefixlen);
555 nbytes = prefixlen /
[all...]

Completed in 67 milliseconds