(self, devname)
Return pypcap device name for given libdnet/Scapy device name
        
        This mapping is necessary because pypcap numbers the devices differently.
Return pypcap device name for given libdnet/Scapy device name
        
        This mapping is necessary because pypcap numbers the devices differently.
Return pypcap device name for given libdnet / Scapy device name This mapping is necessary because pypcap numbers the devices differently .
def pcap_name(self, devname):
        """Return pypcap device name for given libdnet/Scapy device name
        
        This mapping is necessary because pypcap numbers the devices differently."""
        
        try:
            pcap_name = self.data[devname].pcap_name
        except KeyError:
            raise ValueError("Unknown network interface %r" % devname)
        else:
            return pcap_name
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