Home
last modified time | relevance | path

Searched refs:rdclass (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Drdataset.py62 def __init__(self, rdclass, rdtype, covers=dns.rdatatype.NONE): argument
69 self.rdclass = rdclass
76 obj.rdclass = self.rdclass
111 if self.rdclass != rd.rdclass or self.rdtype != rd.rdtype:
148 return '<DNS ' + dns.rdataclass.to_text(self.rdclass) + ' ' + \
161 if self.rdclass != other.rdclass or \
197 rdclass = override_rdclass
199 rdclass = self.rdclass
207 dns.rdataclass.to_text(rdclass),
212 (ntext, pad, self.ttl, dns.rdataclass.to_text(rdclass),
[all …]
Drdata.py131 def __init__(self, rdclass, rdtype): argument
139 self.rdclass = rdclass
188 dns.rdata.from_text(self.rdclass, self.rdtype, self.to_text())
196 return '<DNS ' + dns.rdataclass.to_text(self.rdclass) + ' ' + \
214 if self.rdclass != other.rdclass or \
222 if self.rdclass != other.rdclass or \
229 self.rdclass != other.rdclass or \
236 self.rdclass != other.rdclass or \
243 self.rdclass != other.rdclass or \
250 self.rdclass != other.rdclass or \
[all …]
Drrset.py35 def __init__(self, name, rdclass, rdtype, covers=dns.rdatatype.NONE, argument
39 super(RRset, self).__init__(rdclass, rdtype)
59 dns.rdataclass.to_text(self.rdclass) + ' ' + \
76 def match(self, name, rdclass, rdtype, covers, deleting=None): argument
80 if not super(RRset, self).match(rdclass, rdtype, covers):
118 def from_text_list(name, ttl, rdclass, rdtype, text_rdatas): argument
127 if isinstance(rdclass, str):
128 rdclass = dns.rdataclass.from_text(rdclass)
131 r = RRset(name, rdclass, rdtype)
134 rd = dns.rdata.from_text(r.rdclass, r.rdtype, t)
[all …]
Dnode.py83 def find_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE, argument
109 if rds.match(rdclass, rdtype, covers):
113 rds = dns.rdataset.Rdataset(rdclass, rdtype)
117 def get_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE, argument
137 rds = self.find_rdataset(rdclass, rdtype, covers, create)
142 def delete_rdataset(self, rdclass, rdtype, covers=dns.rdatatype.NONE): argument
156 rds = self.get_rdataset(rdclass, rdtype, covers)
170 self.delete_rdataset(replacement.rdclass, replacement.rdtype,
Dzone.py75 def __init__(self, origin, rdclass=dns.rdataclass.IN, relativize=True): argument
83 self.rdclass = rdclass
96 if self.rdclass != other.rdclass or \
245 return node.find_rdataset(self.rdclass, rdtype, covers, create)
309 node.delete_rdataset(self.rdclass, rdtype, covers)
330 if replacement.rdclass != self.rdclass:
370 rdataset = self.nodes[name].find_rdataset(self.rdclass, rdtype, covers)
371 rrset = dns.rrset.RRset(name, self.rdclass, rdtype, covers)
550 def __init__(self, tok, origin, rdclass, relativize, zone_factory=Zone, argument
559 self.zone = zone_factory(origin, rdclass, relativize=relativize)
[all …]
Dmessage.py295 def find_rrset(self, section, name, rdclass, rdtype, argument
323 name, rdclass, rdtype, covers, deleting)
331 if rrset.match(name, rdclass, rdtype, covers, deleting):
335 rrset = dns.rrset.RRset(name, rdclass, rdtype, covers, deleting)
341 def get_rrset(self, section, name, rdclass, rdtype, argument
370 rrset = self.find_rrset(section, name, rdclass, rdtype, covers,
404 r.add_question(rrset.name, rrset.rdtype, rrset.rdclass)
598 (rdtype, rdclass) = \
603 rdclass, rdtype, create=True,
606 self.zone_rdclass = rdclass
[all …]
Dresolver.py93 def __init__(self, qname, rdtype, rdclass, response): argument
96 self.rdclass = rdclass
103 rdclass, rdtype)
112 rdclass,
136 return self.rrset.rdclass
544 def query(self, qname, rdtype=dns.rdatatype.A, rdclass=dns.rdataclass.IN, argument
574 if isinstance(rdclass, str):
575 rdclass = dns.rdataclass.from_text(rdclass)
591 answer = self.cache.get((qname, rdtype, rdclass))
594 request = dns.message.make_query(qname, rdtype, rdclass)
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
DDHCID.py28 def __init__(self, rdclass, rdtype, data): argument
29 super(DHCID, self).__init__(rdclass, rdtype)
35 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
46 return cls(rdclass, rdtype, data)
53 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
55 return cls(rdclass, rdtype, data)
DNSAP.py29 def __init__(self, rdclass, rdtype, address): argument
30 super(NSAP, self).__init__(rdclass, rdtype)
36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
45 return cls(rdclass, rdtype, address)
52 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
54 return cls(rdclass, rdtype, address)
DA.py29 def __init__(self, rdclass, rdtype, address): argument
30 super(A, self).__init__(rdclass, rdtype)
38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
41 return cls(rdclass, rdtype, address)
48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
50 return cls(rdclass, rdtype, address)
DAAAA.py29 def __init__(self, rdclass, rdtype, address): argument
30 super(AAAA, self).__init__(rdclass, rdtype)
38 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
41 return cls(rdclass, rdtype, address)
48 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
51 return cls(rdclass, rdtype, address)
DSRV.py37 def __init__(self, rdclass, rdtype, priority, weight, port, target): argument
38 super(SRV, self).__init__(rdclass, rdtype)
49 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
56 return cls(rdclass, rdtype, priority, weight, port, target)
65 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
76 return cls(rdclass, rdtype, priority, weight, port, target)
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
DX25.py29 def __init__(self, rdclass, rdtype, address): argument
30 super(X25, self).__init__(rdclass, rdtype)
36 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
39 return cls(rdclass, rdtype, address)
50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
57 return cls(rdclass, rdtype, address)
DSSHFP.py34 def __init__(self, rdclass, rdtype, algorithm, fp_type, argument
36 super(SSHFP, self).__init__(rdclass, rdtype)
47 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
53 return cls(rdclass, rdtype, algorithm, fp_type, fingerprint)
62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
67 return cls(rdclass, rdtype, header[0], header[1], fingerprint)
DHINFO.py31 def __init__(self, rdclass, rdtype, cpu, os): argument
32 super(HINFO, self).__init__(rdclass, rdtype)
40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
44 return cls(rdclass, rdtype, cpu, os)
60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
75 return cls(rdclass, rdtype, cpu, os)
DNSEC3PARAM.py36 def __init__(self, rdclass, rdtype, algorithm, flags, iterations, salt): argument
37 super(NSEC3PARAM, self).__init__(rdclass, rdtype)
50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
59 return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
69 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
79 return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
DISDN.py31 def __init__(self, rdclass, rdtype, address, subaddress): argument
32 super(ISDN, self).__init__(rdclass, rdtype)
43 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
53 return cls(rdclass, rdtype, address, subaddress)
70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
88 return cls(rdclass, rdtype, address, subaddress)
DRP.py32 def __init__(self, rdclass, rdtype, mbox, txt): argument
33 super(RP, self).__init__(rdclass, rdtype)
42 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
48 return cls(rdclass, rdtype, mbox, txt)
60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
74 return cls(rdclass, rdtype, mbox, txt)
DNXT.py32 def __init__(self, rdclass, rdtype, next, bitmap): argument
33 super(NXT, self).__init__(rdclass, rdtype)
48 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
70 return cls(rdclass, rdtype, next, bitmap)
81 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
88 return cls(rdclass, rdtype, next, bitmap)
DCERT.py67 def __init__(self, rdclass, rdtype, certificate_type, key_tag, algorithm, argument
69 super(CERT, self).__init__(rdclass, rdtype)
81 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
97 return cls(rdclass, rdtype, certificate_type, key_tag,
108 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
116 return cls(rdclass, rdtype, certificate_type, key_tag, algorithm,
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/
Dtxtbase.py31 def __init__(self, rdclass, rdtype, strings): argument
32 super(TXTBase, self).__init__(rdclass, rdtype)
45 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
58 return cls(rdclass, rdtype, strings)
70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
82 return cls(rdclass, rdtype, strings)
Dnsbase.py32 def __init__(self, rdclass, rdtype, target): argument
33 super(NSBase, self).__init__(rdclass, rdtype)
40 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
44 return cls(rdclass, rdtype, target)
54 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
61 return cls(rdclass, rdtype, target)
Ddsbase.py36 def __init__(self, rdclass, rdtype, key_tag, algorithm, digest_type, argument
38 super(DSBase, self).__init__(rdclass, rdtype)
50 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
64 return cls(rdclass, rdtype, key_tag, algorithm, digest_type,
75 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
80 return cls(rdclass, rdtype, header[0], header[1], header[2], digest)
Dmxbase.py35 def __init__(self, rdclass, rdtype, preference, exchange): argument
36 super(MXBase, self).__init__(rdclass, rdtype)
44 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
49 return cls(rdclass, rdtype, preference, exchange)
62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
72 return cls(rdclass, rdtype, preference, exchange)
Dkeybase.py79 def __init__(self, rdclass, rdtype, flags, protocol, algorithm, key): argument
80 super(KEYBase, self).__init__(rdclass, rdtype)
90 def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True): argument
122 return cls(rdclass, rdtype, flags, protocol, algorithm, key)
131 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument
138 return cls(rdclass, rdtype, header[0], header[1], header[2],

12