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

Class TFTP_DATA

scapy/layers/tftp.py:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66class TFTP_DATA(Packet):
67 name = "TFTP Data"
68 fields_desc = [ShortField("block", 0)]
69
70 def answers(self, other):
71 return self.block == 1 and isinstance(other, TFTP_RRQ)
72
73 def mysummary(self):
74 return self.sprintf("DATA %block%"), [UDP]
75
76
77class TFTP_Option(Packet):

Callers 2

SEND_DATAMethod · 0.85
SEND_FILEMethod · 0.85

Calls 1

ShortFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…