HomeSort by relevance Sort by last modified time
    Searched refs:rtnh (Results 26 - 31 of 31) sorted by null

12

  /prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/linux/
rtnetlink.h 241 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && ((int)(rtnh)->rtnh_len) <= (len))
242 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
  /prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/linux/
rtnetlink.h 241 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && ((int)(rtnh)->rtnh_len) <= (len))
242 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/
rtnetlink.h 241 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && ((int)(rtnh)->rtnh_len) <= (len))
242 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/
rtnetlink.h 241 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && ((int)(rtnh)->rtnh_len) <= (len))
242 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
245 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
  /external/kernel-headers/original/linux/
rtnetlink.h 320 #define RTNH_OK(rtnh,len) ((rtnh)->rtnh_len >= sizeof(struct rtnexthop) && \
321 ((int)(rtnh)->rtnh_len) <= (len))
322 #define RTNH_NEXT(rtnh) ((struct rtnexthop*)(((char*)(rtnh)) + RTNH_ALIGN((rtnh)->rtnh_len)))
325 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
  /external/iproute2/ip/
iproute.c 589 int parse_one_nh(struct rtattr *rta, struct rtnexthop *rtnh, int *argcp, char ***argvp)
598 rtnh->rtnh_len += sizeof(struct rtattr) + 4;
601 if ((rtnh->rtnh_ifindex = ll_name_to_index(*argv)) == 0) {
610 rtnh->rtnh_hops = w - 1;
612 rtnh->rtnh_flags |= RTNH_F_ONLINK;
619 rtnh->rtnh_len += sizeof(struct rtattr) + 4;
632 struct rtnexthop *rtnh; local
636 rtnh = RTA_DATA(rta);
647 memset(rtnh, 0, sizeof(*rtnh));
    [all...]

Completed in 541 milliseconds

12