/bind-9.11.3/lib/dns/ |
H A D | ipkeylist.c | 76 dns_ipkeylist_t *dst) 81 REQUIRE(dst != NULL); 82 /* dst might be preallocated, we don't care, but it must be empty */ 83 REQUIRE(dst->count == 0); 88 result = dns_ipkeylist_resize(mctx, dst, src->count); 92 memmove(dst->addrs, src->addrs, src->count * sizeof(isc_sockaddr_t)); 95 memmove(dst->dscps, src->dscps, 102 dst->keys[i] = isc_mem_get(mctx, 104 if (dst->keys[i] == NULL) { 108 dns_name_init(dst 75 dns_ipkeylist_copy(isc_mem_t *mctx, const dns_ipkeylist_t *src, dns_ipkeylist_t *dst) argument [all...] |
H A D | nsec3.c | 22 #include <dst/dst.h> 1011 dns_nsec3param_salttotext(dns_rdata_nsec3param_t *nsec3param, char *dst, argument 1019 REQUIRE(dst != NULL); 1025 strlcpy(dst, "-", dstlen); 1031 isc_buffer_init(&b, dst, (unsigned int)dstlen);
|
H A D | rdata.c | 323 * (1) does not touch `dst' unless it's returning 1. 326 locator_pton(const char *src, unsigned char *dst) { argument 373 memmove(dst, tmp, NS_LOCATORSZ); 378 getquad(const void *src, struct in_addr *dst, argument 384 result = inet_aton(src, dst);
|
H A D | catz.c | 123 dns_catz_options_t *dst) 126 REQUIRE(dst != NULL); 127 REQUIRE(dst->masters.count == 0); 128 REQUIRE(dst->allow_query == NULL); 129 REQUIRE(dst->allow_transfer == NULL); 132 dns_ipkeylist_copy(mctx, &src->masters, &dst->masters); 134 if (dst->zonedir != NULL) { 135 isc_mem_free(mctx, dst->zonedir); 136 dst->zonedir = NULL; 140 dst 122 dns_catz_options_copy(isc_mem_t *mctx, const dns_catz_options_t *src, dns_catz_options_t *dst) argument [all...] |
H A D | zone.c | 78 #include <dst/dst.h> 576 isc_sockaddr_t dst; member in struct:dns_notify 10615 if (addr != NULL && isc_sockaddr_equal(addr, ¬ify->dst) && 10649 notify_isself(dns_zone_t *zone, isc_sockaddr_t *dst) { argument 10660 switch (isc_sockaddr_pf(dst)) { 10678 src = *dst; 10680 isc_netaddr_fromsockaddr(&dstaddr, dst); 10684 isself = (zone->isself)(zone->view, key, &src, dst, zone->rdclass, 10741 isc_sockaddr_any(¬ify->dst); 10981 isc_sockaddr_t dst; local 11054 isc_sockaddr_t dst; local [all...] |
/bind-9.11.3/lib/isc/ |
H A D | inet_ntop.c | 35 static const char *inet_ntop4(const unsigned char *src, char *dst, 39 static const char *inet_ntop6(const unsigned char *src, char *dst, 44 * isc_net_ntop(af, src, dst, size) 47 * pointer to presentation format address (`dst'), or NULL (see errno). 52 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 56 return (inet_ntop4(src, dst, size)); 59 return (inet_ntop6(src, dst, size)); 69 * inet_ntop4(src, dst, size) 72 * `dst' (as a const) 81 inet_ntop4(const unsigned char *src, char *dst, size_ argument 106 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | inet_pton.c | 35 static int inet_pton4(const char *src, unsigned char *dst); 36 static int inet_pton6(const char *src, unsigned char *dst); 43 * 0 if the address wasn't valid (`dst' is untouched in this case) 44 * -1 if some other error occurred (`dst' is untouched in this case, too) 49 isc_net_pton(int af, const char *src, void *dst) { argument 52 return (inet_pton4(src, dst)); 54 return (inet_pton6(src, dst)); 62 /*!\fn static int inet_pton4(const char *src, unsigned char *dst) 68 * does not touch `dst' unless it's returning 1. 73 inet_pton4(const char *src, unsigned char *dst) { argument 126 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
H A D | string.c | 238 isc_string_strlcpy(char *dst, const char *src, size_t size) argument 240 char *d = dst; 252 /* Not enough room in dst, add NUL and traverse rest of src */ 255 *d = '\0'; /* NUL-terminate dst */ 264 isc_string_strlcat(char *dst, const char *src, size_t size) argument 266 char *d = dst; 271 /* Find the end of dst and adjust bytes left but don't go past end */ 274 dlen = d - dst;
|
H A D | buffer.c | 484 isc_buffer_t *dst = NULL; local 493 result = isc_buffer_allocate(mctx, &dst, region.length); 497 result = isc_buffer_copyregion(dst, ®ion); 499 *dstp = dst;
|
/bind-9.11.3/lib/lwres/ |
H A D | compat.c | 125 lwres_strlcpy(char *dst, const char *src, size_t size) { argument 126 char *d = dst; 138 /* Not enough room in dst, add NUL and traverse rest of src */ 141 *d = '\0'; /* NUL-terminate dst */
|
H A D | lwinetntop.c | 33 static const char *inet_ntop4(const unsigned char *src, char *dst, 37 static const char *inet_ntop6(const unsigned char *src, char *dst, 42 * lwres_net_ntop(af, src, dst, size) 45 * pointer to presentation format address (`dst'), or NULL (see errno). 50 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 53 return (inet_ntop4(src, dst, size)); 56 return (inet_ntop6(src, dst, size)); 66 * inet_ntop4(src, dst, size) 69 * `dst' (as a const) 77 inet_ntop4(const unsigned char *src, char *dst, size_ argument 100 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument [all...] |
H A D | lwinetpton.c | 32 static int inet_pton4(const char *src, unsigned char *dst); 33 static int inet_pton6(const char *src, unsigned char *dst); 37 * lwres_net_pton(af, src, dst) 42 * 0 if the address wasn't valid (`dst' is untouched in this case) 43 * -1 if some other error occurred (`dst' is untouched in this case, too) 48 lwres_net_pton(int af, const char *src, void *dst) { argument 51 return (inet_pton4(src, dst)); 53 return (inet_pton6(src, dst)); 62 * inet_pton4(src, dst) 67 * does not touch `dst' unles 72 inet_pton4(const char *src, unsigned char *dst) argument 128 inet_pton6(const char *src, unsigned char *dst) argument [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | interfaceiter.c | 57 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src, argument 68 memset(dst, 0, sizeof(*dst)); 70 dst->family = family; 73 memmove(&dst->type.in, 79 memmove(&dst->type.in6, &sa6->sin6_addr, 83 isc_netaddr_setzone(dst, sa6->sin6_scope_id); 104 isc_netaddr_setzone(dst, 106 dst->type.in6.s6_addr[2] = 0; 107 dst [all...] |
H A D | ifiter_ioctl.c | 392 get_inaddr(isc_netaddr_t *dst, struct in_addr *src) { argument 393 dst->family = AF_INET; 394 memmove(&dst->type.in, src, sizeof(struct in_addr));
|
/bind-9.11.3/lib/isc/win32/ |
H A D | interfaceiter.c | 81 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) { argument 82 dst->family = family; 85 memmove(&dst->type.in, 90 memmove(&dst->type.in6, 93 dst->zone = ((struct sockaddr_in6 *) src)->sin6_scope_id;
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/ |
H A D | mapper.c | 343 unsigned long *src, *dst; local 380 dst = to; 402 dst = buffers[idx]; 410 r = (ctx->schemes[i].map)(ctx->schemes[i].context, src, dst, 412 if (r == idn_buffer_overflow && dst != to) { 419 src = dst;
|
H A D | normalizer.c | 252 unsigned long *src, *dst; local 290 dst = to; 311 dst = buffers[idx]; 319 r = (ctx->schemes[i]->proc)(src, dst, dstlen); 320 if (r == idn_buffer_overflow && dst != to) { 327 src = dst;
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstest.c | 441 dns_rdatatype_t rdtype, unsigned char *dst, 451 REQUIRE(dst != NULL); 480 isc_buffer_init(&target, dst, dstlen); 440 dns_test_rdata_fromstring(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t rdtype, unsigned char *dst, size_t dstlen, const char *src) argument
|
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/tests/ |
H A D | testsuite.c | 489 char *dst; local 495 for (src = string, dst = hex_string; *src != '\0'; src++) { 497 *dst++ = *src; 499 *dst++ = '\\'; 500 *dst++ = 'x'; 501 *dst++ = hex[*(const unsigned char *)src >> 4]; 502 *dst++ = hex[*src & 0x0f]; 505 *dst = '\0'; 517 char *dst; local 523 for (src = string, dst [all...] |
/bind-9.11.3/bin/named/ |
H A D | main.c | 44 #include <dst/result.h> 334 char *dst; local 339 dst = saved_command_line; 342 for (i = 1; i < argc && dst < eob; i++) { 343 *dst++ = ' '; 346 while (*src != '\0' && dst < eob) { 356 *dst++ = *src++; 359 *dst++ = '\\'; 367 if (dst == eob) 370 *dst [all...] |