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

Class NegotiateProtocolVersion

scapy/contrib/postgres.py:590–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588
589
590class NegotiateProtocolVersion(_ZeroPadding):
591 name = "Negotiate Protocol Version Response"
592 fields_desc = [
593 ByteTagField(b"v"),
594 FieldLenField(
595 "len", None, fmt="I", length_of="option", adjust=lambda pkt, x: x + 12
596 ),
597 SignedIntField("min_minor_version", 0),
598 SignedIntField("unrecognized_options", 0),
599 StrNullField("option", None),
600 ]
601
602
603class FunctionCallResponse(_ZeroPadding):

Callers

nothing calls this directly

Calls 4

FieldLenFieldClass · 0.90
SignedIntFieldClass · 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…