Searched defs:dst (Results 1 - 14 of 14) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/
H A Dinet_ntop.c42 static const char *inet_ntop4(const unsigned char *src, char *dst,
46 static const char *inet_ntop6(const unsigned char *src, char *dst,
51 * isc_net_ntop(af, src, dst, size)
54 * pointer to presentation format address (`dst'), or NULL (see errno).
59 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument
63 return (inet_ntop4(src, dst, size));
66 return (inet_ntop6(src, dst, size));
76 * inet_ntop4(src, dst, size)
79 * `dst' (as a const)
88 inet_ntop4(const unsigned char *src, char *dst, size_ argument
111 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument
[all...]
H A Dinet_pton.c44 static int inet_pton4(const char *src, unsigned char *dst);
45 static int inet_pton6(const char *src, unsigned char *dst);
52 * 0 if the address wasn't valid (`dst' is untouched in this case)
53 * -1 if some other error occurred (`dst' is untouched in this case, too)
58 isc_net_pton(int af, const char *src, void *dst) { argument
61 return (inet_pton4(src, dst));
63 return (inet_pton6(src, dst));
71 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
77 * does not touch `dst' unless it's returning 1.
82 inet_pton4(const char *src, unsigned char *dst) { argument
134 inet_pton6(const char *src, unsigned char *dst) argument
[all...]
H A Dstring.c247 isc_string_strlcpy(char *dst, const char *src, size_t size) argument
249 char *d = dst;
261 /* Not enough room in dst, add NUL and traverse rest of src */
264 *d = '\0'; /* NUL-terminate dst */
273 isc_string_strlcat(char *dst, const char *src, size_t size) argument
275 char *d = dst;
280 /* Find the end of dst and adjust bytes left but don't go past end */
283 dlen = d - dst;
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwinetntop.c42 static const char *inet_ntop4(const unsigned char *src, char *dst,
46 static const char *inet_ntop6(const unsigned char *src, char *dst,
51 * lwres_net_ntop(af, src, dst, size)
54 * pointer to presentation format address (`dst'), or NULL (see errno).
59 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument
62 return (inet_ntop4(src, dst, size));
65 return (inet_ntop6(src, dst, size));
75 * inet_ntop4(src, dst, size)
78 * `dst' (as a const)
86 inet_ntop4(const unsigned char *src, char *dst, size_ argument
109 inet_ntop6(const unsigned char *src, char *dst, size_t size) argument
[all...]
H A Dlwinetpton.c41 static int inet_pton4(const char *src, unsigned char *dst);
42 static int inet_pton6(const char *src, unsigned char *dst);
46 * lwres_net_pton(af, src, dst)
51 * 0 if the address wasn't valid (`dst' is untouched in this case)
52 * -1 if some other error occurred (`dst' is untouched in this case, too)
57 lwres_net_pton(int af, const char *src, void *dst) { argument
60 return (inet_pton4(src, dst));
62 return (inet_pton6(src, dst));
71 * inet_pton4(src, dst)
76 * does not touch `dst' unles
81 inet_pton4(const char *src, unsigned char *dst) argument
136 inet_pton6(const char *src, unsigned char *dst) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dinterfaceiter.c66 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src, argument
77 memset(dst, 0, sizeof(*dst));
79 dst->family = family;
82 memmove(&dst->type.in,
88 memmove(&dst->type.in6, &sa6->sin6_addr,
92 isc_netaddr_setzone(dst, sa6->sin6_scope_id);
113 isc_netaddr_setzone(dst,
115 dst->type.in6.s6_addr[2] = 0;
116 dst
[all...]
H A Difiter_ioctl.c399 get_inaddr(isc_netaddr_t *dst, struct in_addr *src) { argument
400 dst->family = AF_INET;
401 memmove(&dst->type.in, src, sizeof(struct in_addr));
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dmapper.c343 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 Dnormalizer.c252 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.6-ESV-R11/lib/isc/win32/
H A Dinterfaceiter.c87 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) { argument
88 dst->family = family;
91 memmove(&dst->type.in,
96 memmove(&dst->type.in6,
99 dst->zone = ((struct sockaddr_in6 *) src)->sin6_scope_id;
/bind-9.6-ESV-R11/bin/named/
H A Dmain.c51 #include <dst/result.h>
265 char *dst; local
270 dst = saved_command_line;
273 for (i = 1; i < argc && dst < eob; i++) {
274 *dst++ = ' ';
277 while (*src != '\0' && dst < eob) {
287 *dst++ = *src++;
290 *dst++ = '\\';
298 if (dst == eob)
301 *dst
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/tests/
H A Dtestsuite.c489 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.6-ESV-R11/lib/dns/
H A Drdata.c232 * (1) does not touch `dst' unless it's returning 1.
235 locator_pton(const char *src, unsigned char *dst) { argument
282 memmove(dst, tmp, NS_LOCATORSZ);
287 getquad(const void *src, struct in_addr *dst, argument
293 result = inet_aton(src, dst);
H A Dzone.c78 #include <dst/dst.h>
446 isc_sockaddr_t dst; member in struct:dns_notify
6739 if (addr != NULL && isc_sockaddr_equal(addr, &notify->dst))
6746 notify_isself(dns_zone_t *zone, isc_sockaddr_t *dst) { argument
6757 switch (isc_sockaddr_pf(dst)) {
6775 src = *dst;
6777 isc_netaddr_fromsockaddr(&dstaddr, dst);
6781 isself = (zone->isself)(zone->view, key, &src, dst, zone->rdclass,
6837 isc_sockaddr_any(&notify->dst);
7048 isc_sockaddr_t dst; local
7116 isc_sockaddr_t dst; local
[all...]

Completed in 4115 milliseconds