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

/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))
/external/iproute2/include/linux/
H A Drtnetlink.h353 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
356 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
357 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
358 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
/external/kernel-headers/original/uapi/linux/
H A Drtnetlink.h351 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1) ) macro
354 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
355 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
356 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
/external/libnl/lib/route/
H A Droute_obj.c899 tlen -= RTNH_ALIGN(rtnh->rtnh_len);

Completed in 173 milliseconds