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

Method build_padding

scapy/packet.py:2033–2038  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2031 return b""
2032
2033 def build_padding(self):
2034 # type: () -> bytes
2035 return (
2036 bytes_encode(self.load) if self.raw_packet_cache is None
2037 else self.raw_packet_cache
2038 ) + self.payload.build_padding()
2039
2040
2041conf.raw_layer = Raw

Callers

nothing calls this directly

Calls 2

bytes_encodeFunction · 0.90
build_paddingMethod · 0.45

Tested by

no test coverage detected