Home
last modified time | relevance | path

Searched refs:rtnexthop (Results 1 – 5 of 5) sorted by relevance

/external/libnl/include/linux/
Drtnetlink.h294 struct rtnexthop struct
312 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
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/
Drtnetlink.h317 struct rtnexthop { struct
334 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
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/include/linux/
Drtnetlink.h305 struct rtnexthop { struct
322 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
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/lib/route/
Droute_obj.c853 struct rtnexthop *rtnh = nla_data(attr); in parse_multipath()
1147 struct rtnexthop *rtnh; in rtnl_route_build_msg()
/external/iproute2/ip/
Diproute.c568 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_route()
631 int parse_one_nh(struct rtattr *rta, struct rtnexthop *rtnh, int *argcp, char ***argvp) in parse_one_nh()
674 struct rtnexthop *rtnh; in parse_nexthops()