DEV: can be overloaded to return a string that summarizes the layer. Only one mysummary() is used in a whole packet summary: the one of the upper layer, # noqa: E501 except if a mysummary() also returns (as a couple) a list of layers whose # noqa: E501 mysummary()
(self)
| 1672 | return s |
| 1673 | |
| 1674 | def mysummary(self): |
| 1675 | # type: () -> str |
| 1676 | """DEV: can be overloaded to return a string that summarizes the layer. |
| 1677 | Only one mysummary() is used in a whole packet summary: the one of the upper layer, # noqa: E501 |
| 1678 | except if a mysummary() also returns (as a couple) a list of layers whose # noqa: E501 |
| 1679 | mysummary() must be called if they are present.""" |
| 1680 | return "" |
| 1681 | |
| 1682 | def _do_summary(self): |
| 1683 | # type: () -> Tuple[int, str, List[Any]] |