/bind-9.6-ESV-R11/lib/dns/rdata/in_1/ |
H A D | srv_33.h | 33 isc_uint16_t port; member in struct:dns_rdata_in_srv
|
H A D | wks_11.c | 53 mygetservbyname(const char *name, const char *proto, long *port) { argument 59 *port = ntohs(se->s_port); 73 long port; local 143 port = strtol(DNS_AS_STR(token), &e, 10); 146 else if (!mygetservbyname(service, ps, &port) && 147 !mygetservbyname(DNS_AS_STR(token), ps, &port)) 149 if (port < 0 || port > 0xffff) 151 if (port > maxport) 152 maxport = port; [all...] |
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | listenlist.h | 48 in_port_t port; member in struct:ns_listenelt 64 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, 95 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, 99 * all addresses with port 'port' (if 'enabled' is ISC_TRUE),
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwaddr.c | 56 in_port_t port) 64 isc_sockaddr_fromnetaddr(sa, &na, port); 55 lwaddr_sockaddr_fromlwresaddr(isc_sockaddr_t *sa, lwres_addr_t *la, in_port_t port) argument
|
H A D | listenlist.c | 35 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, argument 45 elt->port = port; 103 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, argument 119 result = ns_listenelt_create(mctx, port, acl, &elt);
|
H A D | main.c | 242 " [-f|-g] [-n number_of_cpus] [-p port] " 243 "[-P listen-port] [-s]\n" 257 " [-p port] [-s] [-t chrootdir] [-u username]\n" 358 int port; local 428 port = parse_int(isc_commandline_argument, "port"); 429 if (port < 1 || port > 65535) 430 ns_main_earlyfatal("port '%s' out of range", 432 ns_g_port = port; [all...] |
H A D | config.c | 73 port 53;\n\ 358 in_port_t port; local 367 portobj = cfg_tuple_get(list, "port"); 372 "port '%u' out of range", val); 375 port = (in_port_t) val; 377 port = defport; 379 result = ns_config_getport(config, &port); 395 isc_sockaddr_setport(&addrs[i], port); 455 in_port_t port; local 462 in_port_t port; member in struct:__anon6 [all...] |
H A D | interfacemgr.c | 449 * Search the interface list for an interface whose address and port 554 in_port_t port) 563 isc_sockaddr_fromnetaddr(addr, &interface->address, port); 656 isc_sockaddr_fromin6(&listen_addr, &in6a, le->port); 665 "interfaces, port %u", 666 le->port); 753 * Construct a socket address for this IP/port 767 le->port); 779 setup_listenon(mgr, &interface, le->port); 809 (ele->port 553 setup_listenon(ns_interfacemgr_t *mgr, isc_interface_t *interface, in_port_t port) argument [all...] |
H A D | lwresd.c | 561 in_port_t port; local 562 port = lwresd_g_listenport; 563 if (port == 0) 564 port = LWRES_UDP_PORT; 565 isc_sockaddr_setport(&listener->address, port); 785 * Identifying duplicates addr/port combinations is left to either 793 in_port_t port; local 798 port = lwresd_g_listenport; 799 if (port == 0) 800 port [all...] |
H A D | client.c | 1062 * should be dropped based on the port number. 1070 ns_client_dropport(in_port_t port) { argument 1071 switch (port) { 1098 * Don't send FORMERR to ports on the drop port list. 1111 "dropped error (%.*s) response: suspicious port", 1473 "dropped request: suspicious port"); 2246 * telnetting to port 53 (once per CPU) will
|
/bind-9.6-ESV-R11/lib/bind9/ |
H A D | getaddresses.c | 50 bind9_getaddresses(const char *hostname, in_port_t port, argument 84 isc_sockaddr_fromin(&addrs[0], &in4, port); 86 isc_sockaddr_v6fromin(&addrs[0], &in4, port); 128 port); 180 isc_sockaddr_fromin(&addrs[i], &sin->sin_addr, port); 185 port); 216 isc_sockaddr_fromin(&addrs[i], inp, port); 222 isc_sockaddr_fromin6(&addrs[i], in6p, port);
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | portset.c | 33 * bit corresponding to a single port in the ascending order. For example, 34 * the second most significant bit of buf[0] corresponds to port 1. 42 portset_isset(isc_portset_t *portset, in_port_t port) { argument 43 return (ISC_TF((portset->buf[port >> 5] & (1 << (port & 31))) != 0)); 47 portset_add(isc_portset_t *portset, in_port_t port) { argument 48 if (!portset_isset(portset, port)) { 50 portset->buf[port >> 5] |= (1 << (port & 31)); 55 portset_remove(isc_portset_t *portset, in_port_t port) { argument 90 isc_portset_isset(isc_portset_t *portset, in_port_t port) argument 104 isc_portset_add(isc_portset_t *portset, in_port_t port) argument 111 isc_portset_remove(isc_portset_t *portset, in_port_t port) argument [all...] |
H A D | sockaddr.c | 124 * Do the port first, giving us the opportunity to check for 282 in_port_t port) 290 sockaddr->type.sin.sin_port = htons(port); 311 in_port_t port) 319 sockaddr->type.sin6.sin6_port = htons(port); 326 in_port_t port) 336 sockaddr->type.sin6.sin6_port = htons(port); 371 in_port_t port) 382 sockaddr->type.sin.sin_port = htons(port); 393 sockaddr->type.sin6.sin6_port = htons(port); 281 isc_sockaddr_fromin(isc_sockaddr_t *sockaddr, const struct in_addr *ina, in_port_t port) argument 310 isc_sockaddr_fromin6(isc_sockaddr_t *sockaddr, const struct in6_addr *ina6, in_port_t port) argument 325 isc_sockaddr_v6fromin(isc_sockaddr_t *sockaddr, const struct in_addr *ina, in_port_t port) argument 370 isc_sockaddr_fromnetaddr(isc_sockaddr_t *sockaddr, const isc_netaddr_t *na, in_port_t port) argument 402 isc_sockaddr_setport(isc_sockaddr_t *sockaddr, in_port_t port) argument 421 in_port_t port = 0; local [all...] |
/bind-9.6-ESV-R11/contrib/queryperf/missing/ |
H A D | getnameinfo.c | 96 u_short port; local 125 port = ((struct sockinet *)sa)->si_port; /* network byte order */ 131 snprintf(numserv, sizeof(numserv), "%d", ntohs(port)); 136 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
H A D | getaddrinfo.c | 141 #define GET_AI(ai, afd, addr, port) {\ 154 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\ 211 u_short port; local 225 port = ANY; 284 * service port 293 port = htons(atoi(servname)); 315 port = sp->s_port; 354 GET_AI(cur->ai_next, afd, afd->a_addrany, port); 360 port); 401 GET_AI(top, &afdl[i], pton, port); 450 u_short port = port0 & 0xffff; local 544 u_short port = port0 & 0xffff; local [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | portlist.c | 43 in_port_t port; member in struct:dns_element 66 if (e1->port < e2->port) 68 if (e1->port > e2->port) 105 find_port(dns_element_t *list, unsigned int len, in_port_t port) { argument 112 if (list[xtry].port == port) 114 if (port > list[xtry].port) { 138 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) argument 189 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) argument 215 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port) argument [all...] |
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | getnameinfo.c | 66 * The name of the service associated with the port number in sa is 89 * port number. 166 unsigned short port; local 210 port = ((const struct sockaddr_in *)sa)->sin_port; 215 port = ((const struct sockaddr_in6 *)sa)->sin6_port; 220 port = 0; 222 POST(port); POST(addr); 232 (sp = getservbyport(port, proto)) == NULL) { 233 snprintf(numserv, sizeof(numserv), "%d", ntohs(port));
|
H A D | getaddrinfo.c | 26 * lwres_getaddrinfo() is used to get a list of IP addresses and port 32 * either a decimal port number or a service name as listed in 161 int socktype, int port); 163 int socktype, int port); 172 /*% Get a list of IP addresses and port numbers for host hostname and service servname. */ 181 int port, err, i; local 275 * First, look up the service name (port) if it was 282 port = strtol(servname, &e, 10); 286 if (port < 0 || port > 6553 560 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument 623 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument [all...] |
/bind-9.6-ESV-R11/bin/rndc/ |
H A D | rndc-confgen.c | 79 %s [-a] [-b bits] [-c keyfile] [-k keyname] [-p port] [-r randomfile] \ 85 -p port: the port named will listen on and rndc will connect to\n\ 143 int port; local 164 port = DEFAULT_PORT; 198 port = strtol(isc_commandline_argument, &p, 10); 199 if (*p != '\0' || port < 0 || port > 65535) 200 fatal("port '%s' out of range", 315 default-port [all...] |
H A D | rndc.c | 99 Usage: %s [-b address] [-c config] [-s server] [-p port]\n\ 155 get_addresses(const char *host, in_port_t port) { argument 166 result = bind9_getaddresses(host, port, 564 * Find the port to connect to. 570 (void)cfg_map_get(server, "port", &defport); 572 (void)cfg_map_get(options, "default-port", &defport); 577 fatal("port %u out of range", remoteport); 600 obj = cfg_tuple_get(address, "port"); 605 fatal("port %u out of range", 741 fatal("port ' [all...] |
/bind-9.6-ESV-R11/bin/tests/ |
H A D | sig0_test.c | 216 in_port_t port = 53; local 231 port = (unsigned int)atoi(isc_commandline_argument); 261 isc_sockaddr_fromin(&address, &inaddr, port);
|
/bind-9.6-ESV-R11/contrib/dlz/drivers/ |
H A D | dlz_mysql_driver.c | 790 int port; local 832 /* get db port. Not required, but must be > 0 if specified */ 833 tmp = getParameterValue(argv[1], "port="); 835 port = 0; 837 port = strtol(tmp, &endp, 10); 838 if (*endp != '\0' || port < 0) { 841 "Mysql driver port " 942 user, pass, dbname, port, socket,
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | adb.h | 123 in_port_t port; member in struct:dns_adbfind 336 in_port_t port, dns_adbfind_t **find); 373 * All addresses returned will have the sockaddr's port set to 'port.'
|
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | misc.c | 251 ** parseurl (url, &proto, &host, &port, ¶ ) 252 ** parses the given url (e.g. "proto://host.with.domain:port/para") 255 void parseurl (char *url, char **proto, char **host, char **port, char **para) argument 290 /* parse port */ 298 if ( port ) 299 *port = start; 1043 char *port; local 1049 proto = host = port = para = NULL; 1059 parseurl (url, &proto, &host, &port, ¶); 1065 if ( port ) [all...] |
/bind-9.6-ESV-R11/bin/nsupdate/ |
H A D | nsupdate.c | 842 get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) { argument 847 result = bind9_getaddresses(host, port, sockaddr, 1, &count); 1238 long port; local 1249 port = DNSDEFAULTPORT; 1252 port = strtol(word, &endp, 10); 1254 fprintf(stderr, "port '%s' is not numeric\n", word); 1256 } else if (port < 1 || port > 65535) { 1257 fprintf(stderr, "port '%s' is out of range " 1269 get_address(server, (in_port_t)port, userserve 1277 long port; local [all...] |