MCPcopy Create free account
hub / github.com/secdev/scapy / srploop

Function srploop

scapy/sendrecv.py:879–888  ·  view source on GitHub ↗

Send a packet at layer 2 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

877
878@conf.commands.register
879def srploop(pkts, # type: _PacketIterable
880 *args, # type: Any
881 **kargs # type: Any
882 ):
883 # type: (...) -> Tuple[SndRcvList, PacketList]
884 """
885 Send a packet at layer 2 in loop and print the answer each time
886 srloop(pkts, [prn], [inter], [count], ...) --> None
887 """
888 return __sr_loop(srp, pkts, *args, **kargs)
889
890# SEND/RECV FLOOD METHODS
891

Callers 1

arp_mitmFunction · 0.90

Calls 1

__sr_loopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…