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

Method i2h

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

Source from the content-addressed store, hash-verified

1040 return IP6Field.i2m(self, pkt, x)
1041
1042 def i2h(self, pkt, x):
1043 # type: (Optional[Packet], Optional[Union[str, Net6]]) -> str
1044 if x is None and pkt is not None:
1045 x = self.dst_from_pkt(pkt)
1046 return super(DestIP6Field, self).i2h(pkt, x)
1047
1048
1049class ByteField(Field[int, int]):

Callers

nothing calls this directly

Calls 2

dst_from_pktMethod · 0.80
i2hMethod · 0.45

Tested by

no test coverage detected