Searched refs:packed_seconds (Results 1 – 1 of 1) sorted by relevance
663 def _convert_seconds(self, packed_seconds): argument665 seconds = struct.unpack("!H", packed_seconds[:2])[0]666 seconds += struct.unpack("!I", packed_seconds[2:])[0]681 def i2h(self, pkt, packed_seconds): argument685 if packed_seconds is None:688 return self._convert_seconds(packed_seconds)690 def i2repr(self, pkt, packed_seconds): argument693 time_struct = time.gmtime(self._convert_seconds(packed_seconds))