Searched defs:rtnexthop (Results 1 - 3 of 3) sorted by relevance

/external/iproute2/include/linux/
H A Drtnetlink.h296 /* RTM_MULTIPATH --- array of struct rtnexthop.
298 * "struct rtnexthop" describes all necessary nexthop information,
305 struct rtnexthop { struct
322 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
324 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
325 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h308 /* RTM_MULTIPATH --- array of struct rtnexthop.
310 * "struct rtnexthop" describes all necessary nexthop information,
317 struct rtnexthop { struct
334 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
336 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
337 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
/external/libnl/include/linux/
H A Drtnetlink.h285 /* RTM_MULTIPATH --- array of struct rtnexthop.
287 * "struct rtnexthop" describes all necessary nexthop information,
294 struct rtnexthop struct
312 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
314 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
315 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))

Completed in 60 milliseconds