Is the parameter prn
in the sniff-function
ofScapy
an abbreviation for anything?
I know it is used to define a callback-function
for the sniffed packet, I just can't find the meaning of prn
.
I couldn't find an explanation for the abbreviation in the documentation.
That's probably for "print", since the result of the callback (if it is not None
) is printed.
The first (historical) use of this callback was to print, for example, a .summary()
or a .display()
of each sniffed packet (see the tshark()
function).