Home
last modified time | relevance | path

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

/external/libnl/include/linux/
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/
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/
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/lib/route/
Droute_obj.c899 tlen -= RTNH_ALIGN(rtnh->rtnh_len); in parse_multipath()