Home
last modified time | relevance | path

Searched refs:_obj (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/net/route/
H A Dnhop_utils.h85 #define CHT_GET_BUCK_OBJ(_head, _PX, _obj) _PX##_hash_obj(_obj) & ((_head)->hash_size - 1) argument
102 #define CHT_SLIST_FIND_BYOBJ(_head, _PX, _obj, _ret) do { \ argument
103 uint32_t _buck = CHT_GET_BUCK_OBJ(_head, _PX, _obj); \
106 if (_PX##_cmp(_obj, _ret)) \
111 #define CHT_SLIST_INSERT_HEAD(_head, _PX, _obj) do { \ argument
112 uint32_t _buck = CHT_GET_BUCK_OBJ(_head, _PX, _obj); \
113 _PX##_next(_obj) = CHT_FIRST(_head, _buck); \
114 CHT_FIRST(_head, _buck) = _obj; \
136 #define CHT_SLIST_REMOVE_BYOBJ(_head, _PX, _obj, _ret) do { \ argument
138 uint32_t _buck = CHT_GET_BUCK_OBJ(_head, _PX, _obj); \
[all …]
H A Dnhgrp_var.h42 #define mpath_hash_obj(_obj) (hash_nhgrp(_obj)) argument
46 #define mpath_next(_obj) (_obj)->nhg_priv_next argument
H A Dnhop_var.h46 #define nhops_hash_obj(_obj) hash_priv(_obj) argument
50 #define nhops_next(_obj) (_obj)->nh_next argument