(devname)
return pcap_name
Return pypcap device name for given libdnet/Scapy device name
Return pypcap device name for given libdnet/Scapy device name
Return pypcap device name for given libdnet / Scapy device name
def pcap_name(devname):
    """Return pypcap device name for given libdnet/Scapy device name"""  
    try:
        pcap_name = ifaces.pcap_name(devname)
    except ValueError:
        # pcap.pcap() will choose a sensible default for sniffing if iface=None
        pcap_name = None
    return pcap_name
def pcap_name ( devname ) : try : pcap_name = ifaces . pcap_name ( devname ) except ValueError : # pcap.pcap() will choose a sensible default for sniffing if iface=None pcap_name = None return pcap_name