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

Function raw

scapy/compat.py:117–123  ·  view source on GitHub ↗

Builds a packet and returns its bytes representation. This function is and will always be cross-version compatible

(x)

Source from the content-addressed store, hash-verified

115
116
117def raw(x):
118 # type: (Packet) -> bytes
119 """
120 Builds a packet and returns its bytes representation.
121 This function is and will always be cross-version compatible
122 """
123 return bytes(x)
124
125
126def bytes_encode(x):

Callers 15

i2mMethod · 0.90
canvas_dumpMethod · 0.90
show2Method · 0.90
decode_payload_asMethod · 0.90
pushMethod · 0.90
sendMethod · 0.90
sendMethod · 0.90
sendMethod · 0.90
sendMethod · 0.90
recv_rawMethod · 0.90
sendMethod · 0.90
sendMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected