Searched refs:_nh (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netlink/route/ |
H A D | route.h | 356 #define _RTNH_LEN(_nh) ((int)(_nh)->rtnh_len) argument 357 #define _RTNH_ALIGNED_LEN(_nh) RTNH_ALIGN(_RTNH_LEN(_nh)) argument 358 #define RTNH_OK(_nh, _len) NL_ITEM_OK(_nh, _len, RTNH_HDRLEN, _RTNH_LEN) argument 359 #define RTNH_NEXT(_nh) ((struct rtnexthop *)((char *)(_nh) + _RTNH_ALIGNED_LEN(_nh))) argument 362 #define RTNH_DATA(_nh) ((struct rtattr *)NL_ITEM_DATA(_nh, RTNH_HDRLEN)) argument
|
/freebsd/sys/net/route/ |
H A D | nhop_var.h | 98 #define NH_IS_PINNED(_nh) ((!NH_IS_NHGRP(_nh)) && \ argument 99 ((_nh)->nh_priv->rt_flags & RTF_PINNED)) 100 #define NH_IS_LINKED(_nh) ((_nh)->nh_priv->nh_idx != 0) argument
|
H A D | nhop.h | 155 #define NH_IS_VALID(_nh) RT_LINK_IS_UP((_nh)->nh_ifp) argument 156 #define NH_IS_NHGRP(_nh) ((_nh)->nh_flags & NHF_MULTIPATH) argument 158 #define NH_FREE(_nh) do { \ argument 159 nhop_free(_nh); \ 161 _nh = NULL; \
|
H A D | route_debug.h | 102 #define FIB_NH_LOG(_l, _nh, _fmt, ...) \ argument 103 FIB_LOG_##_l(_l, nhop_get_fibnum(_nh), nhop_get_upper_family(_nh), \
|