code: def pcap_name(self, devname):
          
  
          try:
              pcap_name = self.data[devname].pcap_name
          except KeyError:
              raise ValueError("Unknown network interface %r" % devname)
          else:
              return pcap_name
docs: Return pcap device name for given Windows device name.