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

Method addfield

scapy/fields.py:2218–2220  ·  view source on GitHub ↗
(self, pkt, s, val)

Source from the content-addressed store, hash-verified

2216 DELIMITER = b"\x00"
2217
2218 def addfield(self, pkt, s, val):
2219 # type: (Packet, bytes, Optional[bytes]) -> bytes
2220 return s + self.i2m(pkt, val) + self.DELIMITER
2221
2222 def getfield(self,
2223 pkt, # type: Packet

Callers

nothing calls this directly

Calls 1

i2mMethod · 0.45

Tested by

no test coverage detected