Home | History | Annotate | Download | only in common_lib

Lines Matching defs:struct

21 import struct
303 return struct.unpack('!L', socket.inet_aton(ip))[0]
308 return socket.inet_ntoa(struct.pack('!L', number))
2059 return struct.unpack('=Q', fd.read(8))[0]