| 814 | |
| 815 | |
| 816 | class DNSRRHINFO(_DNSRRdummy): |
| 817 | name = "DNS HINFO Resource Record" |
| 818 | fields_desc = [DNSStrField("rrname", ""), |
| 819 | ShortEnumField("type", 13, dnstypes), |
| 820 | BitField("cacheflush", 0, 1), # mDNS RFC 6762 |
| 821 | BitEnumField("rclass", 1, 15, dnsclasses), |
| 822 | IntField("ttl", 0), |
| 823 | ShortField("rdlen", None), |
| 824 | FieldLenField("cpulen", None, fmt="!B", length_of="cpu"), |
| 825 | StrLenField("cpu", "", length_from=lambda x: x.cpulen), |
| 826 | FieldLenField("oslen", None, fmt="!B", length_of="os"), |
| 827 | StrLenField("os", "", length_from=lambda x: x.oslen)] |
| 828 | |
| 829 | |
| 830 | class DNSRRMX(_DNSRRdummy): |
nothing calls this directly
no test coverage detected
searching dependent graphs…