Home
last modified time | relevance | path

Searched defs:_nh (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop.h155 #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
H A Dnhop_var.h98 #define NH_IS_PINNED(_nh) ((!NH_IS_NHGRP(_nh)) && \ argument
100 #define NH_IS_LINKED(_nh) ((_nh)->nh_priv->nh_idx != 0) argument
H A Droute_debug.h102 #define FIB_NH_LOG(_l, _nh, _fmt, ...) \ argument
/freebsd/sys/netlink/route/
H A Droute.h356 #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