Extended STAMP Session-Sender Test Packet in Unauthenticated Mode. The format (defined in Section 3 of `RFC 8972 `_) is shown below:: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2
| 181 | |
| 182 | |
| 183 | class STAMPSessionSenderTestUnauthenticated(Packet): |
| 184 | """ |
| 185 | Extended STAMP Session-Sender Test Packet in Unauthenticated Mode. |
| 186 | |
| 187 | The format (defined in Section 3 of `RFC 8972 |
| 188 | <https://www.rfc-editor.org/rfc/rfc8972.html>`_) is shown below:: |
| 189 | |
| 190 | 0 1 2 3 |
| 191 | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 |
| 192 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 193 | | Sequence Number | |
| 194 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 195 | | Timestamp | |
| 196 | | | |
| 197 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 198 | | Error Estimate | SSID | |
| 199 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 200 | | | |
| 201 | | | |
| 202 | | MBZ (28 octets) | |
| 203 | | | |
| 204 | | | |
| 205 | | | |
| 206 | | | |
| 207 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 208 | ~ TLVs ~ |
| 209 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 210 | |
| 211 | References: |
| 212 | * `Simple Two-Way Active Measurement Protocol Optional Extensions |
| 213 | [RFC 8972] <https://www.rfc-editor.org/rfc/rfc8972.html>`_ |
| 214 | """ |
| 215 | name = 'STAMP Session-Sender Test' |
| 216 | fields_desc = [ |
| 217 | IntField('seq', 0), |
| 218 | MultipleTypeField( |
| 219 | [ |
| 220 | (TimeStampField('ts', 0), |
| 221 | lambda pkt:pkt.err_estimate.Z == 0) |
| 222 | ], |
| 223 | UTCTimeField('ts', 0, fmt='Q') |
| 224 | ), |
| 225 | PacketField('err_estimate', ErrorEstimate(), ErrorEstimate), |
| 226 | ShortField('ssid', 1), |
| 227 | NBytesField('mbz', 0, 28), # 28 bytes MBZ |
| 228 | PacketListField('tlv_objects', [], STAMPTestTLV), |
| 229 | ] |
| 230 | |
| 231 | |
| 232 | class STAMPSessionReflectorTestUnauthenticated(Packet): |
nothing calls this directly
no test coverage detected
searching dependent graphs…