Searched refs:_orig_s (Results 1 – 1 of 1) sorted by relevance
/external/scapy/scapy/layers/ |
D | dns.py | 29 def __init__(self, _pkt=None, _orig_s=None, _orig_p=None, *args, **kwargs): argument 30 self._orig_s = _orig_s 61 if hasattr(pkt, "_orig_s") and pkt._orig_s: 62 ns = DNSgetstr(pkt._orig_s, p)[0] 145 rr = DNSRR(b"\x00"+ret+s[p:p+rdlen], _orig_s=s, _orig_p=p) 150 rr = DNSRR_DISPATCHER[type](b"\x00"+ret+s[p:p+rdlen], _orig_s=s, _orig_p=p) 186 rr = DNSQR(b"\x00"+ret, _orig_s=s, _orig_p=p) 199 if l & 0xc0 and hasattr(pkt, "_orig_s") and pkt._orig_s: # Compression detected 201 s = DNSgetstr(pkt._orig_s, p)[0] 203 if hasattr(pkt, "_orig_s") and pkt._orig_s: [all …]
|