/bind-9.11.3/lib/isc/include/isc/ |
H A D | md5.h | 15 * written by Colin Plumb in 1993, no copyright is claimed. 16 * This code is in the public domain; do with it what you wish. 31 * Still in the public domain. 69 isc_uint32_t in[16]; member in struct:__anon240
|
H A D | netaddr.h | 30 struct in_addr in; member in union:isc_netaddr::__anon241 59 * Convert a netmask in 's' into a prefix length in '*lenp'. 60 * The mask should consist of zero or more '1' bits in the 152 * Returns #ISC_TRUE if the address is in net zero. 178 * Test whether the netaddr 'na' is a loopback IPv4 or IPv6 address (in
|
/bind-9.11.3/lib/isc/ |
H A D | iterated_hash.c | 22 const unsigned char *in, int inlength) 32 isc_sha1_update(&ctx, in, inlength); 35 in = out; 19 isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH], unsigned int hashalg, int iterations, const unsigned char *salt, int saltlength, const unsigned char *in, int inlength) argument
|
H A D | aes.c | 34 isc_aes128_crypt(const unsigned char *key, const unsigned char *in, argument 47 RUNTIME_CHECK(EVP_EncryptUpdate(c, out, &len, in, 54 isc_aes192_crypt(const unsigned char *key, const unsigned char *in, argument 67 RUNTIME_CHECK(EVP_EncryptUpdate(c, out, &len, in, 74 isc_aes256_crypt(const unsigned char *key, const unsigned char *in, argument 87 RUNTIME_CHECK(EVP_EncryptUpdate(c, out, &len, in, 98 isc_aes128_crypt(const unsigned char *key, const unsigned char *in, argument 104 AES_encrypt(in, out, &k); 108 isc_aes192_crypt(const unsigned char *key, const unsigned char *in, argument 114 AES_encrypt(in, ou 118 isc_aes256_crypt(const unsigned char *key, const unsigned char *in, unsigned char *out) argument 139 isc_aes128_crypt(const unsigned char *key, const unsigned char *in, unsigned char *out) argument 146 isc_aes192_crypt(const unsigned char *key, const unsigned char *in, unsigned char *out) argument 153 isc_aes256_crypt(const unsigned char *key, const unsigned char *in, unsigned char *out) argument 160 isc_aes_crypt(const unsigned char *key, CK_ULONG keylen, const unsigned char *in, unsigned char *out) argument [all...] |
H A D | md5.c | 14 * written by Colin Plumb in 1993, no copyright is claimed. 15 * This code is in the public domain; do with it what you wish. 173 /*! This is the central step in the MD5 algorithm. */ 174 #define MD5STEP(f,w,x,y,z,in,s) \ 175 (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) 183 transform(isc_uint32_t buf[4], isc_uint32_t const in[16]) { argument 191 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); 192 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); 193 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); 194 MD5STEP(F1, b, c, d, a, in[ [all...] |
/bind-9.11.3/lib/dns/tests/ |
H A D | zonemgr_test.c | 153 struct in_addr in; local 178 in.s_addr = inet_addr("10.53.0.1"); 179 isc_sockaddr_fromin(&addr1, &in, 2112); 180 in.s_addr = inet_addr("10.53.0.2"); 181 isc_sockaddr_fromin(&addr2, &in, 5150); 192 in.s_addr = inet_addr("10.53.0.3"); 193 isc_sockaddr_fromin(&addr2, &in, 5150); 206 in.s_addr = inet_addr("10.53.0.2"); 207 isc_sockaddr_fromin(&addr2, &in, 5150);
|
H A D | dnstap_test.c | 136 struct in_addr in; local 179 in.s_addr = inet_addr("10.53.0.1"); 180 isc_sockaddr_fromin(&qaddr, &in, 2112); 181 in.s_addr = inet_addr("10.53.0.2"); 182 isc_sockaddr_fromin(&raddr, &in, 2112);
|
/bind-9.11.3/bin/tests/net/ |
H A D | netaddr_multicast.c | 48 struct in_addr in; local 53 r = inet_pton(AF_INET, addr->addr, (unsigned char *)&in); 56 isc_netaddr_fromin(na, &in);
|
/bind-9.11.3/lib/isc/tests/ |
H A D | sockaddr_test.c | 35 struct in_addr in; local 45 in.s_addr = inet_addr("127.0.0.1"); 46 isc_sockaddr_fromin(&addr, &in, 1); 68 struct in_addr in; local 105 in.s_addr = inet_addr(data4[i].string); 106 isc_sockaddr_fromin(&addr, &in, 1);
|
H A D | aes_test.c | 38 fromhexstr(const char *in, unsigned char *d); 58 fromhexstr(const char *in, unsigned char *d) argument 64 ret = isc_hex_decodestring(in, &b);
|
H A D | socket_test.c | 148 struct in_addr in; local 160 in.s_addr = inet_addr("127.0.0.1"); 161 isc_sockaddr_fromin(&addr1, &in, 0); 162 isc_sockaddr_fromin(&addr2, &in, 0); 223 struct in_addr in; local 235 in.s_addr = inet_addr("127.0.0.1"); 236 isc_sockaddr_fromin(&addr1, &in, 0); 237 isc_sockaddr_fromin(&addr2, &in, 0); 324 struct in_addr in; local 337 in 535 struct in_addr in; local [all...] |
/bind-9.11.3/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 230 struct timeval in, out; local 237 in.tv_sec = timeout / 1000; 238 in.tv_usec = (timeout % 1000) * 1000; 239 interval_deflate(&in, &out); 254 struct timeval in, out; local 264 in.tv_sec = timeout->tv_sec; 265 in.tv_usec = timeout->tv_nsec / 1000; 266 interval_deflate(&in, &out); 282 struct timeval in, out; local 289 in [all...] |
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | dlz_bdb_driver.c | 6 * above copyright notice and this permission notice appear in all 23 * above copyright notice and this permission notice appear in all 120 bdb_parse_data(char *in, parsed_data_t *pd) { argument 123 char *tmp = in; 263 /* free any memory duplicate string in the key field */ 340 /* free any memory duplicate string in the key field */ 432 /* free any memory duplicate string in the key field */ 595 "BDB could not open %s database in %s. "
|
H A D | dlz_bdbhpt_driver.c | 6 * above copyright notice and this permission notice appear in all 23 * above copyright notice and this permission notice appear in all 110 * Reverses a string in place. 137 bdbhpt_parse_data(char *in, bdbhpt_parsed_data_t *pd) { argument 140 char *tmp = in; 282 /* free any memory duplicate string in the key field */ 311 * all the different hosts in a zone. Then use the zone & host 312 * together to lookup the data in the dns_data database. YES - 518 /* free any memory duplicate string in the key field */ 641 "bdbhpt could not open %s database in [all...] |
H A D | dlz_filesystem_driver.c | 6 * above copyright notice and this permission notice appear in all 23 * above copyright notice and this permission notice appear in all 106 /* check that only allowed characters are in the domain name */ 119 /* only 1 dot in ok location, continue at next char */ 137 * addresses. Not dangerous in domain names, as not a 144 * '@' needs to be allowed for in zone data. Not 145 * dangerous in domain names, as not a special char. 161 create_path_helper(char *out, const char *in, config_data_t *cd) { argument 166 tmpString = isc_mem_strdup(ns_g_mctx, in); 269 * even though datadir and xfrdir will never be in th [all...] |
/bind-9.11.3/contrib/dlz/modules/bdbhpt/ |
H A D | dlz_bdbhpt_dynamic.c | 6 * above copyright notice and this permission notice appear in all 23 * above copyright notice and this permission notice appear in all 41 * copyright notice and this permission notice appear in all copies. 116 * Reverses a string in place. 141 bdbhpt_parse_data(log_t *log, char *in, bdbhpt_parsed_data_t *pd) { argument 144 char *tmp = in; 286 /* free any memory duplicate string in the key field */ 316 * all the different hosts in a zone. Then use the zone & host 317 * together to lookup the data in the dns_data database. YES - 513 /* free any memory duplicate string in th [all...] |
/bind-9.11.3/contrib/dlz/modules/filesystem/ |
H A D | dlz_filesystem_dynamic.c | 6 * above copyright notice and this permission notice appear in all 23 * above copyright notice and this permission notice appear in all 101 /* check that only allowed characters are in the domain name */ 114 /* only 1 dot in ok location, continue at next char */ 132 * addresses. Not dangerous in domain names, as not a 139 * '@' needs to be allowed for in zone data. Not 140 * dangerous in domain names, as not a special char. 156 create_path_helper(char *out, const char *in, config_data_t *cd) { argument 161 tmpString = strdup(in); 251 * even though datadir and xfrdir will never be in th [all...] |
/bind-9.11.3/lib/dns/ |
H A D | rdataset.c | 228 * Return the number of records in 'rdataset'. 256 * Move the rdata cursor to the first rdata in the rdataset (if any). 269 * Move the rdata cursor to the next rdata in the rdataset (if any). 322 dns_rdata_t *in = NULL, in_fixed[MAX_SHUFFLE]; local 331 * in cctx, and storing the result in 'target'. 372 in = isc_mem_get(cctx->mctx, count * sizeof(*in)); 374 if (in == NULL || out == NULL) 377 in [all...] |
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | fs_test.c | 4 * Redistribution and use in source and binary forms, with or without 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 100 const char *in; member in struct:test 127 for (t = &tests[0]; t->in != NULL; t++) { 130 printf("Input : >%s<\n", t->in); 133 RE(atf_fs_path_init_fmt(&p, "%s", t->in)); 172 const char *in; member in struct:test 185 for (t = &tests[0]; t->in != NULL; t++) { 188 printf("Input : %s\n", t->in); 212 const char *in; member in struct:test 253 const char *in; member in struct:test 291 const char *in; member in struct:test 330 const char *in; member in struct:test [all...] |
/bind-9.11.3/contrib/sdb/ldap/ |
H A D | ldapdb.c | 8 * copyright notice and this permission notice appear in all copies. 410 unhex(char *in) argument 413 char *p, *s = in; 428 return in;
|
/bind-9.11.3/bin/rndc/ |
H A D | rndc.c | 173 signing in the given zone.\n\ 282 fatal("bad or missing data section in response"); 356 fatal("bad or missing ctrl section in response"); 780 struct in_addr in; local 809 &in) == 1) { 810 isc_sockaddr_fromin(&local4, &in, 0); 918 * similar to what the user might enter in interactive mode
|
/bind-9.11.3/bin/tests/hashes/ |
H A D | t_hashes.c | 277 ck(const char *name, const IN_ *in, const OUT_ *out) argument 284 str_name = in->name != NULL ? in->name : (const char *)in->str; 315 IN_ *in, OUT_ *out) 326 update(&ctx, in->str, in->str_len); 329 ck(hname, in, out); 338 t_sha224(IN_ *in, OUT_ *out) argument 344 isc_sha224_update(&ctx, in 314 t_hash(const char *hname, HASH_INIT init, UPDATE update, FINAL final, IN_ *in, OUT_ *out) argument 354 t_hashes(IN_ *in, OUT_ *out_sha1, OUT_ *out_sha224, OUT_ *out_md5) argument 374 t_md5hmac(IN_ *in, OUT_ *out) argument 388 t_hmac(const char *hname, HMAC_INIT init, UPDATE update, SIGN sign, IN_ *in, OUT_ *out) argument 413 t_hmacs(IN_ *in, OUT_ *out_sha1, OUT_ *out_sha224, OUT_ *out_sha256, OUT_ *out_sha384, OUT_ *out_sha512) argument [all...] |
/bind-9.11.3/unit/atf-src/tools/ |
H A D | fs.cpp | 7 // Redistribution and use in source and binary forms, with or without 12 // 2. Redistributions in binary form must reproduce the above copyright 13 // notice, this list of conditions and the following disclaimer in the 80 //! asking for execute permissions, which appear in SunOS. 140 //! safely control its exit status and raise an exception in case of 171 // The erase parameter in this routine is to control nested mount points. 255 // Let's make it absolute in all cases just to be safe that this does 292 normalize(const std::string& in) argument 294 assert(!in.empty()); 300 const std::string::size_type next_pos = in [all...] |
/bind-9.11.3/bin/tools/ |
H A D | mdig.c | 750 " +[no]cl (Control display of class in records)\n" 755 "fields in records)\n" 762 " +[no]ttlid (Control display of ttls in records)\n" 763 " +[no]ttlunits (Display TTLs in human-readable units)\n" 764 " +[no]unknownformat (Print RDATA in RFC 3597 \"unknown\" format)\n" 766 " +[no]multiline (Print records in an expanded format)\n" 784 " +[no]aaonly (Set AA flag in query (+[no]aaflag))\n" 785 " +[no]adflag (Set AD flag in query)\n" 786 " +[no]cdflag (Set CD flag in query)\n" 787 " +[no]zflag (Set Z flag in quer 968 reverse_octets(const char *in, char **p, char *end) argument [all...] |
/bind-9.11.3/bin/delv/ |
H A D | delv.c | 17 #include <netinet/in.h> 154 "Where: domain is in the Domain Name System\n" 155 " q-class is one of (in,hs,ch,...) [default: in]\n" 175 " fields in records)\n" 176 " +[no]multiline (Print records in an expanded format)\n" 180 " +[no]unknownformat (Print RDATA in RFC 3597 \"unknown\" format)\n" 184 " +[no]ttl (Control display of ttls in records)\n" 609 * The key data in keystruct is not dynamically allocated. 745 fatal("Unable to parse built-in key 1507 reverse_octets(const char *in, char **p, char *end) argument [all...] |