def node_to_service_name((name, service, flags)):
    try:
        unique = int(flags & NS_NAME_G == 0)
        for namepfx, svcname in nbstat_svcs[(service, unique)]:
            if name.startswith(namepfx):
                return svcname
    except __HOLE__:
        pass
    return ''
dataset/ETHPy150Open kbandla/dpkt/dpkt/netbios.py/node_to_service_name