Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/linux/
Drtnetlink.h300 #define RTNH_ALIGN(len) (((len) + RTNH_ALIGNTO - 1) & ~(RTNH_ALIGNTO - 1)) macro
302 #define RTNH_NEXT(rtnh) ((struct rtnexthop *) (((char *) (rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
303 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len))
304 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))