Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ add_field
Function
add_field
scapy/modules/p0f.py:732–733 ·
view source on GitHub ↗
(name, value)
Source
from the content-addressed store, hash-verified
730
fields = []
731
732
def
add_field(name, value):
733
fields.append(
"| %-8s = %s\n"
% (name, value))
734
735
cli_or_svr =
"Client"
if
to_server
else
"Server"
736
add_field(cli_or_svr, pkt.sprintf(
"%IP.src%:%TCP.sport%"
))
Callers
1
prnp0f
Function · 0.85
Calls
1
append
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…