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

/external/iproute2/include/linux/
H A Drtnetlink.h293 /* RTM_MULTIPATH --- array of struct rtnexthop.
295 * "struct rtnexthop" describes all necessary nexthop information,
302 struct rtnexthop { struct
319 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
321 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
322 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
/external/kernel-headers/original/linux/
H A Drtnetlink.h294 /* RTM_MULTIPATH --- array of struct rtnexthop.
296 * "struct rtnexthop" describes all necessary nexthop information,
303 struct rtnexthop { struct
320 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
322 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
323 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
/external/iproute2/ip/
H A Diproute.c526 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]);
589 int parse_one_nh(struct rtattr *rta, struct rtnexthop *rtnh, int *argcp, char ***argvp)
632 struct rtnexthop *rtnh;

Completed in 233 milliseconds