MCPcopy Create free account
hub / github.com/FDio/vpp / ppp

Function ppp

test/util.py:82–89  ·  view source on GitHub ↗

Return a PacketInfo object for dual-mode packet formatting. Callers do not need to change — PacketInfo.__str__() produces the same full output as before. When passed to logger.debug(), the test framework automatically uses the fast brief() representation instead.

(headline, packet)

Source from the content-addressed store, hash-verified

80
81
82def ppp(headline, packet):
83 """Return a PacketInfo object for dual-mode packet formatting.
84
85 Callers do not need to change — PacketInfo.__str__() produces the same
86 full output as before. When passed to logger.debug(), the test framework
87 automatically uses the fast brief() representation instead.
88 """
89 return PacketInfo(headline, packet)
90
91
92def ppc(headline, capture, limit=10):

Calls 1

PacketInfoClass · 0.85