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

Class XByteField

scapy/fields.py:1055–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1053
1054
1055class XByteField(ByteField):
1056 def i2repr(self, pkt, x):
1057 # type: (Optional[Packet], int) -> str
1058 return lhex(self.i2h(pkt, x))
1059
1060
1061# XXX Unused field: at least add some tests

Callers 15

GeneveOptionsClass · 0.90
GENEVEClass · 0.90
DCPDeviceRoleBlockClass · 0.90
DevAddrElemClass · 0.90
Join_AcceptClass · 0.90
DiamGClass · 0.90
QLTLVClass · 0.90
EQLTLVClass · 0.90
OptionalAuthClass · 0.90
AETHClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected