(addr: int)
| 49 | |
| 50 | |
| 51 | def inet_ntoa(addr: int) -> str: |
| 52 | abytes = addr.to_bytes(length=4, byteorder='big') |
| 53 | |
| 54 | return ipaddress.IPv4Address(abytes).compressed |
| 55 | |
| 56 | |
| 57 | def inet6_htoa(ql: Qiling, addr: bytes) -> str: |
no outgoing calls
no test coverage detected