Searched refs:RTNH_ALIGN (Results 1 - 2 of 2) sorted by relevance

/external/iproute2/include/linux/
H A Drtnetlink.h318 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
321 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
322 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
323 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
/external/kernel-headers/original/linux/
H A Drtnetlink.h319 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
322 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
323 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
324 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))

Completed in 31 milliseconds