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

Method make_table

scapy/plist.py:250–254  ·  view source on GitHub ↗

Prints a table using a function that returns for each packet its head column value, head row value and displayed value # noqa: E501 ex: p.make_table(lambda x:(x[IP].dst, x[TCP].dport, x[TCP].sprintf("%flags%"))

(self, *args, **kargs)

Source from the content-addressed store, hash-verified

248 name="filtered %s" % self.listname)
249
250 def make_table(self, *args, **kargs):
251 # type: (Any, Any) -> Optional[str]
252 """Prints a table using a function that returns for each packet its head column value, head row value and displayed value # noqa: E501
253 ex: p.make_table(lambda x:(x[IP].dst, x[TCP].dport, x[TCP].sprintf("%flags%")) """ # noqa: E501
254 return make_table(self.res, *args, **kargs)
255
256 def make_lined_table(self, *args, **kargs):
257 # type: (Any, Any) -> Optional[str]

Callers 2

showMethod · 0.80
showMethod · 0.80

Calls 1

make_tableFunction · 0.90

Tested by

no test coverage detected