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

Function srloop

scapy/sendrecv.py:866–875  ·  view source on GitHub ↗

Send a packet at layer 3 in loop and print the answer each time srloop(pkts, [prn], [inter], [count], ...) --> None

(pkts,  # type: _PacketIterable
           *args,  # type: Any
           **kargs  # type: Any
           )

Source from the content-addressed store, hash-verified

864
865@conf.commands.register
866def srloop(pkts, # type: _PacketIterable
867 *args, # type: Any
868 **kargs # type: Any
869 ):
870 # type: (...) -> Tuple[SndRcvList, PacketList]
871 """
872 Send a packet at layer 3 in loop and print the answer each time
873 srloop(pkts, [prn], [inter], [count], ...) --> None
874 """
875 return __sr_loop(sr, pkts, *args, **kargs)
876
877
878@conf.commands.register

Callers

nothing calls this directly

Calls 1

__sr_loopFunction · 0.85

Tested by

no test coverage detected