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

Class CommandComplete

scapy/contrib/postgres.py:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237
238class CommandComplete(_ZeroPadding):
239 name = "Command Completion Response"
240 fields_desc = [
241 ByteTagField(b"C"),
242 FieldLenField(
243 "len", None, length_of="cmdtag", fmt="I", adjust=lambda pkt, x: x + 4
244 ),
245 StrLenField("cmdtag", "", length_from=lambda pkt: pkt.len - 4),
246 ]
247
248
249class BackendKeyData(_ZeroPadding):

Callers

nothing calls this directly

Calls 3

FieldLenFieldClass · 0.90
StrLenFieldClass · 0.90
ByteTagFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…