Home
last modified time | relevance | path

Searched defs:rtnh (Results 1 – 5 of 5) sorted by relevance

/external/libnl/lib/route/
Droute_obj.c949 struct rtnexthop *rtnh = nla_data(attr); in parse_multipath() local
1263 struct rtnexthop *rtnh; in rtnl_route_build_msg() local
/external/libnl/include/linux-private/linux/
Drtnetlink.h320 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
322 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
325 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/external/iproute2/ip/
Diproute.c741 struct rtattr *rta, struct rtnexthop *rtnh, in parse_one_nh()
819 struct rtnexthop *rtnh; in parse_nexthops() local
/external/iproute2/include/uapi/linux/
Drtnetlink.h369 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
371 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
374 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h384 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument
386 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len))) argument
389 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0))) argument