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

Function cnp

scapy/contrib/roce.py:225–227  ·  view source on GitHub ↗
(dqpn)

Source from the content-addressed store, hash-verified

223
224
225def cnp(dqpn):
226 # type: (int) -> BTH
227 return BTH(opcode=CNP_OPCODE, becn=1, dqpn=dqpn) / CNPPadding()
228
229
230class GRH(Packet):

Callers

nothing calls this directly

Calls 2

BTHClass · 0.85
CNPPaddingClass · 0.85

Tested by

no test coverage detected