MCPcopy Create free account
hub / github.com/secdev/scapy / DirectTCP

Class DirectTCP

scapy/layers/smb2.py:1774–1777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772
1773
1774class DirectTCP(NBTSession):
1775 name = "Direct TCP"
1776 MAXLENGTH = 0xFFFFFF
1777 fields_desc = [ByteField("zero", 0), ThreeBytesField("LENGTH", None)]
1778
1779
1780# SMB2 sect 2.2.1.1

Callers 4

on_negotiateMethod · 0.90
continue_smb2Method · 0.90
on_negotiateMethod · 0.90

Calls 2

ByteFieldClass · 0.90
ThreeBytesFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…