Searched refs:RTNH_ALIGN (Results 1 – 2 of 2) sorted by relevance
383 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro386 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))387 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))388 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
1107 tlen -= RTNH_ALIGN(rtnh->rtnh_len); in parse_multipath()