Searched defs:RTNH_ALIGN (Results 1 - 3 of 3) sorted by relevance

/external/iproute2/include/linux/
H A Drtnetlink.h321 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
324 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
325 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
326 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h333 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
336 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
337 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
338 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
/external/libnl/include/linux/
H A Drtnetlink.h311 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
314 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
315 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
316 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))

Completed in 141 milliseconds