• Thomas Haller's avatar
    all: add helper functions for nm_hash_update*() · 2f56de74
    Thomas Haller authored
    By using a macro, we don't cast all the types to guint. Instead,
    we use their native types directly. Hence, we don't need
    nm_hash_update_uint64() nor nm_hash_update_ptr().
    Also, for types smaller then guint like char, we save hashing
    the all zero bytes.
nm-lldp-listener.c 27.5 KB