docs: def srpflood(x, promisc=None, filter=None, iface=None, iface_hint=None, nofilter=None, *args, **kargs):  # noqa: E501
      """Flood and receive packets at layer 2
  prn:      function applied to packets received
  unique:   only consider packets whose print
  nofilter: put 1 to avoid use of BPF filters
  filter:   provide a BPF filter
  iface:    listen answers only on the given interface"""
      if iface is None and iface_hint is not None:
          iface = conf.route.route(iface_hint)[0]
      s = conf.L2socket(promisc=promisc, filter=filter, iface=iface, nofilter=nofilter)  # noqa: E501
      r = sndrcvflood(s, x, *args, **kargs)
      s.close()
      return r