Searched refs:rtnexthop (Results 1 – 6 of 6) sorted by relevance
294 struct rtnexthop struct312 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument314 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))315 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
331 struct rtnexthop { struct352 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument354 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))355 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
333 struct rtnexthop { struct354 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument356 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))357 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
149 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_mroute()
628 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_route()725 struct rtattr *rta, struct rtnexthop *rtnh, in parse_one_nh()790 struct rtnexthop *rtnh; in parse_nexthops()
853 struct rtnexthop *rtnh = nla_data(attr); in parse_multipath()1147 struct rtnexthop *rtnh; in rtnl_route_build_msg()