MCPcopy Index your code
hub / github.com/secdev/scapy / i2repr

Method i2repr

scapy/fields.py:2123–2128  ·  view source on GitHub ↗
(self,
               pkt,  # type: Optional[Packet]
               x,  # type: List[Any]
               )

Source from the content-addressed store, hash-verified

2121 return [self.field.any2i(pkt, e) for e in x]
2122
2123 def i2repr(self,
2124 pkt, # type: Optional[Packet]
2125 x, # type: List[Any]
2126 ):
2127 # type: (...) -> str
2128 return "[%s]" % ", ".join(self.field.i2repr(pkt, v) for v in x)
2129
2130 def addfield(self,
2131 pkt, # type: Packet

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
i2reprMethod · 0.45

Tested by

no test coverage detected