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

Method i2h

scapy/fields.py:1021–1025  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

1019 return super(SourceIP6Field, self).i2m(pkt, x)
1020
1021 def i2h(self, pkt, x):
1022 # type: (Optional[Packet], Optional[Union[str, Net6]]) -> str
1023 if x is None and pkt is not None:
1024 x = self.__findaddr(pkt)
1025 return super(SourceIP6Field, self).i2h(pkt, x)
1026
1027
1028class DestIP6Field(IP6Field, DestField):

Callers

nothing calls this directly

Calls 2

__findaddrMethod · 0.95
i2hMethod · 0.45

Tested by

no test coverage detected