/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/ |
H A D | query-loc.c | 23 struct in_addr addr; local 60 if ((addr.s_addr = inet_addr (host)) == INADDR_NONE) 71 ((char *) &addr, sizeof (addr), AF_INET); 83 loc = getlocbyaddr (addr, NULL);
|
H A D | loc.h | 64 struct in_addr addr; member in struct:list_in_addr
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | gxba_test.c | 67 void *addr; local 76 addr = &in_addr; 80 addr = &in6_addr; 88 he = gethostbyaddr(addr, len, af); 91 he = getipnodebyaddr(addr, len, af, &error);
|
H A D | lwres_test.c | 155 lwres_addr_t *addr; local 178 addr = LWRES_LIST_HEAD(res->addrs); 180 INSIST(addr != NULL); 182 if (addr->family == LWRES_ADDRTYPE_V4) 183 (void)inet_ntop(AF_INET, addr->address, 186 (void)inet_ntop(AF_INET6, addr->address, 189 addr->length, addr->family, outbuf); 190 addr = LWRES_LIST_NEXT(addr, lin [all...] |
/bind-9.6-ESV-R11/bin/tests/net/ |
H A D | netaddr_multicast.c | 37 const char *addr; member in struct:__anon28 54 to_netaddr(t_addr_t *addr, isc_netaddr_t *na) { argument 59 switch (addr->family) { 61 r = inet_pton(AF_INET, addr->addr, (unsigned char *)&in); 67 r = inet_pton(AF_INET6, addr->addr, (unsigned char *)&in6); 83 t_addr_t *addr; local 90 addr = &addrs[i]; 91 result = to_netaddr(addr, [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | dump.c | 55 dumpAddr(const char FAR *addr, int len, char *buff, size_t size) { argument 63 sprintf(digits, "%d", (addr[i] & 0xff));
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | inet_aton.c | 89 isc_net_aton(const char *cp, struct in_addr *addr) { argument 188 if (addr != NULL) 189 addr->s_addr = htonl(val);
|
H A D | netscope.c | 33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument 46 in6 = (struct in6_addr *)addr;
|
/bind-9.6-ESV-R11/lib/isc/tests/ |
H A D | sockaddr_test.c | 42 isc_sockaddr_t addr; local 54 isc_sockaddr_fromin(&addr, &in, 1); 55 h1 = isc_sockaddr_hash(&addr, ISC_TRUE); 56 h2 = isc_sockaddr_hash(&addr, ISC_FALSE); 61 isc_sockaddr_fromin6(&addr, &in6, 1); 62 h3 = isc_sockaddr_hash(&addr, ISC_TRUE); 63 h4 = isc_sockaddr_hash(&addr, ISC_FALSE);
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwinetaton.c | 93 lwres_net_aton(const char *cp, struct in_addr *addr) { argument 197 if (addr != NULL) 198 addr->s_addr = htonl(val);
|
H A D | lwres_gabn.c | 196 lwres_addr_t *addr; local 213 addr = LWRES_LIST_HEAD(req->addrs); 214 while (addr != NULL) { 216 payload_length += addr->length; 217 addr = LWRES_LIST_NEXT(addr, link); 270 addr = LWRES_LIST_HEAD(req->addrs); 271 while (addr != NULL) { 272 lwres_buffer_putuint32(b, addr->family); 273 lwres_buffer_putuint16(b, addr 345 lwres_addr_t *addr; local 483 lwres_addr_t *addr; local [all...] |
H A D | gethost.c | 77 * addr is an address of length len bytes and protocol family type -- 88 * reverse lookup of address addr which is len bytes long and is of 192 lwres_gethostbyaddr(const char *addr, int len, int type) { argument 197 he = lwres_getipnodebyaddr(addr, len, type, &lwres_h_errno); 249 lwres_gethostbyaddr_r(const char *addr, int len, int type, argument 256 he = lwres_getipnodebyaddr(addr, len, type, error);
|
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | interfacemgr.h | 76 isc_sockaddr_t addr; /*%< Address and port. */ member in struct:ns_interface 174 ns_interfacemgr_listeningon(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock11/ |
H A D | dllfunc.c | 121 gethostbyaddr(const char FAR * addr, int len, int type) { argument 130 dumpAddr(addr, len, abuff, sizeof(abuff))); 134 ret = _org_gethostbyaddr(addr, len, type); 190 WSAAsyncGetHostByAddr(HWND hWnd, u_int wMsg, const char FAR * addr, argument 204 dumpAddr(addr, len, abuff, sizeof(abuff))); 205 ret = _org_WSAAsyncGetHostByAddr(hWnd, wMsg, addr, len, type,
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | dispatch.h | 73 * "addr" is the host that sent it to us, 85 isc_sockaddr_t addr; /*%< address recv'd from */ member in struct:dns_dispatchevent
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | sortlist.c | 117 ns_sortlist_addrorder2(const isc_netaddr_t *addr, const void *arg) { argument 121 (void)dns_acl_match(addr, NULL, sortacl, 133 ns_sortlist_addrorder1(const isc_netaddr_t *addr, const void *arg) { argument 135 if (dns_aclelement_match(addr, NULL, matchelt,
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | iptable.c | 63 dns_iptable_addprefix(dns_iptable_t *tab, isc_netaddr_t *addr, argument 74 NETADDR_TO_PREFIX_T(addr, pfx, bitlen);
|
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | ipseckey_45.c | 34 struct in_addr addr; local 85 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) 90 memmove(region.base, &addr, 4);
|
H A D | l32_105.c | 29 struct in_addr addr; local 49 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) 54 memmove(region.base, &addr, 4);
|
H A D | mx_15.c | 34 struct in_addr addr; local 42 if (inet_aton(tmp, &addr) == 1 ||
|
/bind-9.6-ESV-R11/lib/dns/rdata/hs_4/ |
H A D | a_1.c | 32 struct in_addr addr; local 46 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) 51 memmove(region.base, &addr, 4);
|
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/ |
H A D | a_1.c | 34 struct in_addr addr; local 48 if (getquad(DNS_AS_STR(token), &addr, lexer, callbacks) != 1) 53 memmove(region.base, &addr, 4);
|
H A D | aaaa_28.c | 34 unsigned char addr[16]; local 49 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1) 54 memmove(region.base, addr, 16);
|
/bind-9.6-ESV-R11/contrib/queryperf/missing/ |
H A D | getnameinfo.c | 98 char *addr, *p; local 126 addr = (char *)sa + afd->a_off; 185 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) 193 hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); 195 hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); 217 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
|
/bind-9.6-ESV-R11/lib/dns/rdata/ch_3/ |
H A D | a_1.c | 73 isc_uint16_t addr; local 85 addr = uint16_fromregion(®ion); 90 sprintf(buf, "%o", addr); /* note octal */
|