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

/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Da6_38.h30 isc_uint8_t prefixlen; member in struct:dns_rdata_in_a6
H A Da6_38.c33 unsigned char prefixlen; local
55 prefixlen = (unsigned char)token.value.as_ulong;
56 RETERR(mem_tobuffer(target, &prefixlen, 1));
61 if (prefixlen != 128) {
65 octets = prefixlen/8;
74 mask = 0xff >> (prefixlen % 8);
79 if (prefixlen == 0)
102 unsigned char prefixlen; local
115 prefixlen = sr.base[0];
116 INSIST(prefixlen <
148 unsigned char prefixlen; local
199 unsigned char prefixlen; local
398 unsigned char prefixlen, octets; local
439 unsigned int prefixlen; local
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dacl.h62 unsigned int prefixlen; member in struct:dns_aclipprefix
H A Dpeer.h68 unsigned int prefixlen; member in struct:dns_peer
127 unsigned int prefixlen, dns_peer_t **peer);
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/isc/
H A Dnetaddr.c70 unsigned int prefixlen)
103 if (prefixlen > ipabytes * 8)
104 prefixlen = ipabytes * 8;
106 nbytes = prefixlen / 8;
107 nbits = prefixlen % 8;
214 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { argument
223 if (prefixlen > 32)
229 if (prefixlen > 128)
235 nbytes = prefixlen / 8;
236 nbits = prefixlen
69 isc_netaddr_eqprefix(const isc_netaddr_t *a, const isc_netaddr_t *b, unsigned int prefixlen) argument
[all...]
H A Dsockaddr.c105 unsigned int prefixlen)
110 return (isc_netaddr_eqprefix(&na, &nb, prefixlen));
104 isc_sockaddr_eqaddrprefix(const isc_sockaddr_t *a, const isc_sockaddr_t *b, unsigned int prefixlen) argument
/bind-9.6-ESV-R11/lib/dns/
H A Dopensslrsa_link.c381 unsigned int prefixlen = 0; local
435 prefixlen = sizeof(sha256_prefix);
449 prefixlen = sizeof(sha512_prefix);
472 INSIST(prefixlen != 0);
473 INSIST(prefixlen + digestlen <= sizeof(digest));
475 memmove(digest + prefixlen, digest, digestlen);
476 memmove(digest, prefix, prefixlen);
477 status = RSA_private_encrypt(digestlen + prefixlen,
518 unsigned int prefixlen = 0; local
570 prefixlen
[all...]
H A Dpeer.c143 if (p->prefixlen < peer->prefixlen)
166 server->prefixlen))
197 unsigned int prefixlen = 0; local
202 prefixlen = 32;
205 prefixlen = 128;
211 return (dns_peer_newprefix(mem, addr, prefixlen, peerptr));
215 dns_peer_newprefix(isc_mem_t *mem, isc_netaddr_t *addr, unsigned int prefixlen, argument
228 peer->prefixlen = prefixlen;
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Difiter_ioctl.c439 int i, bits, prefixlen; local
538 prefixlen = lifreq.lifr_addrlen;
549 prefixlen = 128;
557 if (prefixlen > 8) {
559 prefixlen -= 8;
561 bits = 8 - prefixlen;
562 prefixlen = 0;
/bind-9.6-ESV-R11/lib/isccfg/include/isccfg/
H A Dgrammar.h131 unsigned int prefixlen; member in struct:cfg_netprefix
/bind-9.6-ESV-R11/bin/named/
H A Dinterfacemgr.c507 unsigned int prefixlen; local
513 prefixlen = (netaddr->family == AF_INET) ? 32 : 128;
515 netaddr, prefixlen, ISC_TRUE);
521 &prefixlen);
535 if (prefixlen == 0U) {
545 netaddr, prefixlen, ISC_TRUE);
H A Dserver.c787 unsigned int prefixlen; local
789 cfg_obj_asnetprefix(cfg_map_getname(cpeer), &na, &prefixlen); local
792 result = dns_peer_newprefix(mctx, &na, prefixlen, &peer);
/bind-9.6-ESV-R11/lib/isccfg/
H A Dparser.c1919 unsigned int addrlen = 0, prefixlen; local
1945 prefixlen = pctx->token.value.as_ulong;
1946 if (prefixlen > addrlen) {
1952 prefixlen = addrlen;
1956 obj->value.netprefix.prefixlen = prefixlen;
1970 cfg_print_rawuint(pctx, p->prefixlen);
1981 unsigned int *prefixlen)
1985 REQUIRE(prefixlen != NULL);
1988 *prefixlen
1980 cfg_obj_asnetprefix(const cfg_obj_t *obj, isc_netaddr_t *netaddr, unsigned int *prefixlen) argument
[all...]

Completed in 47 milliseconds