Searched refs:_PX (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhop_utils.h | 82 #define CHT_GET_BUCK(_head, _PX, _key) _PX##_hash_key(_key) & ((_head)->hash_size - 1) argument 83 #define CHT_GET_BUCK_OBJ(_head, _PX, _obj) _PX##_hash_obj(_obj) & ((_head)->hash_size - 1) argument 88 #define CHT_SLIST_FIND(_head, _PX, _key, _ret) do { \ argument 89 uint32_t _buck = CHT_GET_BUCK(_head, _PX, _key); \ 91 for ( ; _ret != NULL; _ret = _PX##_next(_ret)) { \ 92 if (_PX##_cmp(_key, (_ret))) \ 100 #define CHT_SLIST_FIND_BYOBJ(_head, _PX, _obj, _ret) do { \ argument 101 uint32_t _buck = CHT_GET_BUCK_OBJ(_head, _PX, _obj); \ 103 for ( ; _ret != NULL; _ret = _PX##_next(_ret)) { \ 104 if (_PX##_cmp(_obj, _ret)) \ [all …]
|