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

Class FCSField

scapy/fields.py:756–767  ·  view source on GitHub ↗

A FCS field that gets appended at the end of the *packet* (not layer).

Source from the content-addressed store, hash-verified

754
755
756class FCSField(TrailerField):
757 """
758 A FCS field that gets appended at the end of the *packet* (not layer).
759 """
760
761 def __init__(self, *args, **kwargs):
762 # type: (*Any, **Any) -> None
763 super(FCSField, self).__init__(Field(*args, **kwargs))
764
765 def i2repr(self, pkt, x):
766 # type: (Optional[Packet], int) -> str
767 return lhex(self.i2h(pkt, x))
768
769
770class DestField(Field[str, bytes]):

Callers 5

BTHClass · 0.90
OAM_TEST_TLVClass · 0.90
MPacketPreambleClass · 0.90
Dot15d4FCSClass · 0.90
Dot11FCSClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected