Searched +full:no +full:- +full:srv +full:- +full:ipv4 +full:- +full:single +full:- +full:target (Results 1 – 19 of 19) sorted by relevance
1 resolver_tests_common_zone_name: resolver-tests-version-4.grpctestingexp.3 - expected_addrs:4 - {address: '5.5.5.5:443', is_balancer: false}7 record_to_resolve: no-srv-ipv4-single-target9 no-srv-ipv4-single-target:10 - {TTL: '2100', data: 5.5.5.5, type: A}11 - expected_addrs:12 - {address: '1.2.3.4:1234', is_balancer: true}15 record_to_resolve: srv-ipv4-single-target17 _grpclb._tcp.srv-ipv4-single-target:[all …]
8 # http://www.apache.org/licenses/LICENSE-2.016 # This file is auto-generated28 argp = argparse.ArgumentParser(description='Run c-ares resolver tests')29 argp.add_argument('--test_bin_path', default=None, type=str,31 argp.add_argument('--dns_server_bin_path', default=None, type=str,33 argp.add_argument('--records_config_path', default=None, type=str,36 argp.add_argument('--dns_server_port', default=None, type=int,38 argp.add_argument('--dns_resolver_bin_path', default=None, type=str,40 argp.add_argument('--tcp_connect_bin_path', default=None, type=str,68 '--server_host', '127.0.0.1',[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.024 runs in a single address space and memory is extremely constrained.25 All the APIs here are malloc-free, which means that the caller is31 because memory is so limited that no more is available.33 memory requirements, with absolutely no uncertainty or run-time variation,36 For applications running on general-purpose desktop operating systems40 requests to a single "mdnsd" daemon running in the background.46 using malloc(), and then calls through to the low-level malloc-free[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.029 // -- domain labels have an initial length byte, not a terminating null character35 #pragma mark - Program Constants39 mDNSexport const mDNSInterfaceID mDNSInterfaceMark = (mDNSInterfaceID)-1;40 mDNSexport const mDNSInterfaceID mDNSInterface_LocalOnly = (mDNSInterfaceID)-2;41 mDNSexport const mDNSInterfaceID mDNSInterface_Unicast = (mDNSInterfaceID)-3;42 mDNSexport const mDNSInterfaceID mDNSInterface_P2P = (mDNSInterfaceID)-4;47 // LLMNR uses IPv4 multicast address 224.0.0.252, IPv6 multicast address FF02::0001:0003, and UDP p…[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2002-2006 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.018 * Elimate all mDNSPlatformMemAllocate/mDNSPlatformMemFree from this code -- the core code19 * is supposed to be malloc-free so that it runs in constant memory determined at compile-time.20 …* Any dynamic run-time requirements should be handled by the platform layer below or client layer …31 …// of parentheses, this signals to the compiler that you really intended an assignment and no warn…39 // In each of these domains we search for our special pointer records (lb._dns-sd._udp.<domain>, et…57 #pragma mark - General Utility Functions63 rr->LastAPTime = m->timenow; in SetRecordRetry()[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2002-2006 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.018 * from outside the mDNS project -- all the types it expects to find are defined right here.22 * making *any* assumptions about availability of so-called "standard" C functions,34 * thinking that variables x and y are both of type "char*" -- and anyone who doesn't40 #include "uDNS.h" // Defines entry points into unicast-specific routines51 …// of parentheses, this signals to the compiler that you really intended an assignment and no warn…84 #pragma mark - Program Constants98 "b._dns-sd._udp.", // Browse[all …]
5 # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.10 # uneccessarily. If you have a dial-on-demand link they also stop14 #domain-needed15 # Never forward addresses in the non-routed address spaces.16 #bogus-priv19 # Uncomment this to filter useless windows-originated DNS requests20 # which can trigger dial-on-demand links needlessly.21 # Note that (amongst other things) this blocks all SRV requests,22 # so don't use it if you use eg Kerberos, SIP, XMMP or Google-talk.23 # This option only affects forwarding, SRV records originating for[all …]
1 release 0.4 - initial public release3 release 0.5 - added caching, removed compiler warning on linux PPC5 release 0.6 - TCP handling: close socket and return to connect state if we 9 Added a patch from Cris Bailiff <c.bailiff@e-secure.com.au>28 Fix bad bug resulting from not initialising value-result 29 address-length parameter to recvfrom() and accept() - it35 (1) Dnsmasq no longer blocks during long lookups.39 (3) Time-to-live data from upstream server is read and42 the -h option is given).44 a file other than /etc/resolv.conf (-r option) this allows[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2003-2004, Apple Computer, Inc. All rights reserved.20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY36 * of zero-configuration networking (ZEROCONF).42 * all the information -- such as name, IP address, and port --46 * AppleTalk. Bonjour allows applications to provide user-friendly printer61 * For example, Mac OS X 10.4.9 has mDNSResponder-108.4, which would be represented as62 * version 1080400. This allows C code to do simple greater-than and less-than comparisons:63 …* e.g. an application that requires the DNSServiceGetProperty() call (new in mDNSResponder-126) ca…69 * The version defined in this header file symbol allows for compile-time[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2003-2006 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.042 // Normally we append search domains only for queries with a single label that are not47 // Apple-specific functionality, not required for other platforms72 // User IDs 0-500 are system-wide processes, not actual users in the usual sense78 #pragma mark -79 #pragma mark - Types and Data Structures103 …AuthRecord *rr; // Pointer to variable-sized AuthRecord (Why a pointer? Why not just embed it h…106 // A single registered service: ServiceRecordSet + bookkeeping[all …]
1 /* dnsmasq is Copyright (c) 2000-2009 Simon Kelley39 /* options which don't have a one-char version */86 {"no-hosts", 0, 0, 'h'},87 {"no-poll", 0, 0, 'n'},89 {"no-daemon", 0, 0, 'd'},90 {"log-queries", 0, 0, 'q'},93 {"resolv-file", 2, 0, 'r'},94 {"mx-host", 1, 0, 'm'},95 {"mx-target", 1, 0, 't'},96 {"cache-size", 2, 0, 'c'},[all …]
1 /* dnsmasq is Copyright (c) 2000-2009 Simon Kelley24 ((size_t)((pp) - (unsigned char*) (header) + (len)) <= (plen))45 /* check that there are the correct no of bytes after the name */ in extract_name()49 if (cp != (unsigned char*) name) cp--; in extract_name()90 digs = ((count - 1) >> 2) + 1; in extract_name()93 if (cp - (unsigned char*) name + digs + 9 >= MAXDNAME) return 0; in extract_name()94 if (!CHECK_LEN(header, p, plen, (count - 1) >> 3)) return 0; in extract_name()106 *cp++ = dig < 10 ? dig + '0' : dig + 'A' - 10; in extract_name()111 } else { /* label_type = 0 -> label. */ in extract_name()112 if (cp - (unsigned char*) name + l + 1 >= MAXDNAME) return 0; in extract_name()[all …]
15 Application developers should typically use the high-level asyncio functions,18 of lower-level code, libraries, and frameworks, who need finer control over23 The following low-level functions can be used to get, set, or create30 If there is no running event loop a :exc:`RuntimeError` is raised.37 Get the current event loop. If there is no current event loop set60 :ref:`setting a custom event loop policy <asyncio-policies>`.84 .. _asyncio-event-loop:89 Event loops have **low-level** APIs for the following:146 This method is idempotent and irreversible. No other methods157 Note that there is no need to call this function when[all …]
37 MSG = 'Michael Gilfix was here\u1234\r\n'.encode('utf-8') ## test unicode string and carriage return144 """Subclass of unittest.TestCase with thread-safe cleanup methods.452 """Socket tests for client-server connection.508 # gives a drop-in replacement for SocketConnectedTest, but different611 """Base class for Unix-domain socket tests."""629 """Base class for Unix-domain SOCK_STREAM tests."""636 """Base class for IPv4 socket tests."""648 """Base class for TCP-over-IPv4 tests."""654 """Base class for UDP-over-IPv4 tests."""660 """Base class for SCTP tests in one-to-one (SOCK_STREAM) mode."""[all …]
1 /* -*- Mode: C; tab-width: 4 -*-3 * Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved.9 * http://www.apache.org/licenses/LICENSE-2.026 * thinking that variables x and y are both of type "char*" -- and anyone who doesn't49 // Both mDNS.c and mDNSWin32.h declare UDPSocket_struct type resulting in a compile-time error, so 78 // These are meta-categories;131 #define ExactlyOneFilter (Filters && !Filters->next)143 // Special version of printf that knows how to print IP addresses, DNS-format name strings, etc.185 #define HostEntryTotalPackets(H) ((H)->pkts[HostPkt_Q] + (H)->pkts[HostPkt_L] + (H)->pkts[HostPkt_R…201 for (i = 0; i < list->num; i++) in FindHost()[all …]
4 ## inet6.py --- IPv6 support for Scapy ##100 If no answer is gathered, None is returned. Else, the answer is167 ip_regex = re.compile(r"^([a-fA-F0-9:]+)(/[1]?[0-3]?[0-9])?$")174 tmp[0]=socket.getaddrinfo(tmp[0], None, socket.AF_INET6)[0][-1][0]187 (value | (0xff >> (8 - netmask))) + 1)192 (x - self.plen for x in range(8, 129, 8)),257 return "%s [Teredo srv: %s cli: %s:%s]" % (self.i2h(pkt, x), server, maddr,mport)261 return self.i2h(pkt, x) # No specific information to return304 ipv6nh = { 0:"Hop-by-Hop Option Header",315 59:"No Next Header",[all …]
67 data["win_index"] = -168 data["guid"] = "{1XX00000-X000-0X0X-X00X-00XXXX000XXX}"83 = Test read_routes6() - default output92 # - one route if there is only the loopback interface93 # - three routes if there is a network interface110 = Test read_routes6() - check mandatory routes229 interact(argv=["-s scapy1"] + extra_args, mybanner="What a test")238 assert not interact_emulator(extra_args=["-?"]) # Failing239 assert interact_emulator(extra_args=["-d"]) # Extended308 = Test mysummary functions - Ether[all …]
... META-INF/ META-INF/MANIFEST.MF com/ com/google ... ...