| 271 | |
| 272 | |
| 273 | class SMBNegotiate_Request(Packet): |
| 274 | name = "SMB Negotiate Request" |
| 275 | fields_desc = [ |
| 276 | ByteField("WordCount", 0), |
| 277 | LEFieldLenField("ByteCount", None, length_of="Dialects"), |
| 278 | PacketListField( |
| 279 | "Dialects", |
| 280 | [SMB_Dialect()], |
| 281 | SMB_Dialect, |
| 282 | length_from=lambda pkt: pkt.ByteCount, |
| 283 | ), |
| 284 | ] |
| 285 | |
| 286 | |
| 287 | bind_layers(SMB_Header, SMBNegotiate_Request, Command=0x72) |
no test coverage detected
searching dependent graphs…