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

Class ParameterDescription

scapy/contrib/postgres.py:615–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613
614
615class ParameterDescription(_ZeroPadding):
616 name = "Parameter Description"
617 fields_desc = [
618 ByteTagField(b"t"),
619 FieldLenField(
620 "len", None, fmt="I", length_of="dtypes", adjust=lambda pkt, x: x + 6
621 ),
622 SignedShortField("dtypes_len", 0),
623 FieldListField(
624 "dtypes",
625 [],
626 SignedIntField("dtype", None),
627 count_from=lambda pkt: pkt.dtypes_len,
628 ),
629 ]
630
631
632class CopyData(_ZeroPadding):

Callers

nothing calls this directly

Calls 5

FieldLenFieldClass · 0.90
SignedShortFieldClass · 0.90
FieldListFieldClass · 0.90
SignedIntFieldClass · 0.90
ByteTagFieldClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…