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

Class ParameterStatus

scapy/contrib/postgres.py:205–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204
205class ParameterStatus(_ZeroPadding):
206 name = "Parameter Status"
207 fields_desc = [
208 ByteTagField(b"S"),
209 FieldLenField(
210 "len",
211 None,
212 fmt="I",
213 length_of=("parameter", "value"),
214 adjust=lambda pkt, x: x + 4,
215 ),
216 StrNullField(
217 "parameter",
218 "",
219 ),
220 StrNullField(
221 "value",
222 "",
223 ),
224 ]
225
226
227class Query(_ZeroPadding):

Callers

nothing calls this directly

Calls 3

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