@conf.commands.register
def srploop(pkts, *args, **kargs):
 return __sr_loop(srp, pkts, *args, **kargs)

@ conf . commands . register def srploop ( pkts , * args , ** kargs ) : return __sr_loop ( srp , pkts , * args , ** kargs )
send a packet at layer 2 in loop and print the answer each time srloop --> none .