Prints or returns (when "dump" is true) a hierarchical view of the packet. :param dump: determine if it prints or returns the string value :param int indent: the size of indentation for each layer :param str lvl: additional information about the layer lvl
(self, dump=False, indent=3, lvl="", label_lvl="")
| 1522 | return s |
| 1523 | |
| 1524 | def show(self, dump=False, indent=3, lvl="", label_lvl=""): |
| 1525 | # type: (bool, int, str, str) -> Optional[Any] |
| 1526 | """ |
| 1527 | Prints or returns (when "dump" is true) a hierarchical view of the |
| 1528 | packet. |
| 1529 | |
| 1530 | :param dump: determine if it prints or returns the string value |
| 1531 | :param int indent: the size of indentation for each layer |
| 1532 | :param str lvl: additional information about the layer lvl |
| 1533 | :param str label_lvl: additional information about the layer fields |
| 1534 | :return: return a hierarchical view if dump, else print it |
| 1535 | """ |
| 1536 | return self._show_or_dump(dump, indent, lvl, label_lvl) |
| 1537 | |
| 1538 | def show2(self, dump=False, indent=3, lvl="", label_lvl=""): |
| 1539 | # type: (bool, int, str, str) -> Optional[Any] |
no test coverage detected