"The current time and date in standard UNIX 32-bit format (seconds since the midnight starting Jan 1, 1970, GMT, ignoring leap seconds)."
| 147 | ############################################################################### |
| 148 | |
| 149 | class _GMTUnixTimeField(UTCTimeField): |
| 150 | """ |
| 151 | "The current time and date in standard UNIX 32-bit format (seconds since |
| 152 | the midnight starting Jan 1, 1970, GMT, ignoring leap seconds)." |
| 153 | """ |
| 154 | |
| 155 | def i2h(self, pkt, x): |
| 156 | if x is not None: |
| 157 | return x |
| 158 | return 0 |
| 159 | |
| 160 | def i2m(self, pkt, x): |
| 161 | return int(x) if x is not None else 0 |
| 162 | |
| 163 | |
| 164 | class _TLSRandomBytesField(StrFixedLenField): |
no outgoing calls
no test coverage detected
searching dependent graphs…