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

Class Emph

scapy/fields.py:323–337  ·  view source on GitHub ↗

Empathize sub-layer for display

Source from the content-addressed store, hash-verified

321
322
323class Emph(_FieldContainer):
324 """Empathize sub-layer for display"""
325 __slots__ = ["fld"]
326
327 def __init__(self, fld):
328 # type: (Any) -> None
329 self.fld = fld
330
331 def __eq__(self, other):
332 # type: (Any) -> bool
333 return bool(self.fld == other)
334
335 def __hash__(self):
336 # type: () -> int
337 return hash(self.fld)
338
339
340class MayEnd(_FieldContainer):

Callers 2

IPClass · 0.90
Dot15d4Class · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected