OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rtnh
(Results
26 - 39
of
39
) sorted by null
1
2
/prebuilts/ndk/7/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/7/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)))
/prebuilts/ndk/8/platforms/android-14/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/8/platforms/android-14/arch-mips/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/8/platforms/android-14/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/8/platforms/android-3/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/8/platforms/android-4/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/8/platforms/android-5/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/8/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/8/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/8/platforms/android-9/arch-mips/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/8/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 621 milliseconds
1
2