Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ file_in_store
Method
file_in_store
scapy/layers/tftp.py:507–510 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
505
506
@ATMT.condition(RECEIVED_RRQ)
507
def
file_in_store(self):
508
if
self.data is not None:
509
self.blknb = len(self.data) / self.blksize + 1
510
raise
self.SEND_FILE()
511
512
@ATMT.condition(RECEIVED_RRQ)
513
def
file_not_found(self):
Callers
nothing calls this directly
Calls
1
SEND_FILE
Method · 0.95
Tested by
no test coverage detected