Home
last modified time | relevance | path

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

/external/libnl/include/linux-private/linux/
Drtnetlink.h323 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
324 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
325 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
/external/iproute2/include/uapi/linux/
Drtnetlink.h372 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
373 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
374 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h387 #define RTNH_LENGTH(len) (RTNH_ALIGN(sizeof(struct rtnexthop)) + (len)) macro
388 #define RTNH_SPACE(len) RTNH_ALIGN(RTNH_LENGTH(len))
389 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))