Home
last modified time | relevance | path

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

/external/libnl/include/linux/
Drtnetlink.h315 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
316 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
317 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
/external/iproute2/include/linux/
Drtnetlink.h325 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
326 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
327 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h337 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
338 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
339 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))