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

Method any2i

scapy/layers/dcerpc.py:2019–2023  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

2017 return val
2018
2019 def any2i(self, pkt, x):
2020 # User-friendly helper
2021 if isinstance(x, list):
2022 x = [self.fld.any2i(pkt, y) for y in x]
2023 return super(_NDRPacketListField, self).any2i(pkt, x)
2024
2025 def i2m(self, pkt, val):
2026 return self.fld.addfield(pkt, b"", val)

Callers

nothing calls this directly

Calls 1

any2iMethod · 0.45

Tested by

no test coverage detected