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

Class Close

scapy/contrib/postgres.py:423–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423class Close(_ZeroPadding):
424 name = "Close Request"
425 fields_desc = [
426 ByteTagField(b"C"),
427 FieldLenField(
428 "len", None, fmt="I", length_of="statement", adjust=lambda pkt, x: x + 6
429 ),
430 CharEnumField("close_type", b"S", enum=CLOSE_DESCRIBE_TYPE),
431 StrNullField(
432 "statement",
433 "",
434 ),
435 ]
436
437
438class CloseComplete(_ZeroPadding):

Callers

nothing calls this directly

Calls 4

FieldLenFieldClass · 0.90
CharEnumFieldClass · 0.90
StrNullFieldClass · 0.90
ByteTagFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…