def pcap_name(devname):
    """Return pypcap device name for given libdnet/Scapy device name"""  
    try:
        pcap_name = ifaces.pcap_name(devname)
    except __HOLE__:
        # pcap.pcap() will choose a sensible default for sniffing if iface=None
        pcap_name = None
    return pcap_name
dataset/ETHPy150Open phaethon/scapy/scapy/arch/windows/__init__.py/pcap_name