Searched refs:rtnexthop (Results 1 – 11 of 11) sorted by relevance
303 struct rtnexthop { struct320 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument322 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))323 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
347 struct rtnexthop { struct369 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument371 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))372 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
362 struct rtnexthop { struct384 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \ argument386 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))387 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
125 struct rtnexthop nh = { in main()
263 struct rtnexthop nh; in decode_rta_multipath()
138 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_mroute()
626 struct rtnexthop *nh = RTA_DATA(tb[RTA_MULTIPATH]); in print_route()741 struct rtattr *rta, struct rtnexthop *rtnh, in parse_one_nh()819 struct rtnexthop *rtnh; in parse_nexthops()
433 RTA_MULTIPATH nlattr[RTA_MULTIPATH, rtnexthop]449 RTA_MULTIPATH nlattr[RTA_MULTIPATH, rtnexthop]569 rtnexthop {
949 struct rtnexthop *rtnh = nla_data(attr); in parse_multipath()1263 struct rtnexthop *rtnh; in rtnl_route_build_msg()