(self, data = 0)
| 334 | |
| 335 | class NBPositiveNameQueryResponse(NBNSResourceRecord): |
| 336 | def __init__(self, data = 0): |
| 337 | NBNSResourceRecord.__init__(self, data) |
| 338 | self.entries = [ ] |
| 339 | rdata = self['RDATA'] |
| 340 | while len(rdata) > 0: |
| 341 | entry = ADDR_ENTRY(rdata) |
| 342 | rdata = rdata[len(entry):] |
| 343 | self.entries.append(socket.inet_ntoa(entry['NB_ADDRESS'])) |
| 344 | |
| 345 | # 4.2.1. GENERAL FORMAT OF NAME SERVICE PACKETS |
| 346 | class NAME_SERVICE_PACKET(Structure): |
nothing calls this directly
no test coverage detected