Searched refs:rtnexthop (Results 1 - 5 of 5) 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/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))
/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/iproute2/ip/
H A Diproute.c568 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]);
631 int parse_one_nh(struct rtattr *rta, struct rtnexthop *rtnh, int *argcp, char ***argvp)
674 struct rtnexthop *rtnh;
/external/libnl/lib/route/
H A Droute_obj.c853 struct rtnexthop *rtnh = nla_data(attr);
1147 struct rtnexthop *rtnh;

Completed in 505 milliseconds