OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RTA_ALIGN
(Results
1 - 25
of
61
) sorted by null
1
2
3
/external/wpa_supplicant_8/src/drivers/
priv_netlink.h
63
#define
RTA_ALIGN
(len) (((len) + RTA_ALIGNTO - 1) & ~(RTA_ALIGNTO - 1))
68
((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
69
(struct rtattr *) (((char *)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
70
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
/external/iproute2/lib/
libnetlink.c
559
if (NLMSG_ALIGN(n->nlmsg_len) +
RTA_ALIGN
(len) > maxlen) {
567
n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) +
RTA_ALIGN
(len);
622
if (
RTA_ALIGN
(rta->rta_len) + len > maxlen) {
626
subrta = (struct rtattr*)(((char*)rta) +
RTA_ALIGN
(rta->rta_len));
640
if (
RTA_ALIGN
(rta->rta_len) +
RTA_ALIGN
(len) > maxlen) {
644
subrta = (struct rtattr*)(((char*)rta) +
RTA_ALIGN
(rta->rta_len));
648
rta->rta_len = NLMSG_ALIGN(rta->rta_len) +
RTA_ALIGN
(len);
685
if (RTA_PAYLOAD(rta) >=
RTA_ALIGN
(len) + sizeof(struct rtattr)) {
686
rta = RTA_DATA(rta) +
RTA_ALIGN
(len)
[
all
...]
/external/kernel-headers/original/linux/
rtnetlink.h
145
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
149
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
150
(struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
151
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
152
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
638
({ RTA_APPEND(skb,
RTA_ALIGN
(attrlen), data); \
639
memset(skb_tail_pointer(skb) - (
RTA_ALIGN
(attrlen) - attrlen), 0, \
640
RTA_ALIGN
(attrlen) - attrlen); })
729
rta = (struct rtattr*)skb_put(skb,
RTA_ALIGN
(size));
732
memset(RTA_DATA(rta) + attrlen, 0,
RTA_ALIGN
(size) - size)
[
all
...]
/bionic/libc/kernel/common/linux/
rtnetlink.h
149
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
151
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
152
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
154
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/external/iproute2/include/linux/
rtnetlink.h
145
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
149
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
150
(struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
151
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
152
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
rtnetlink.h
126
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
130
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
131
(struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
132
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
133
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
rtnetlink.h
126
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
130
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
131
(struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
132
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
133
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
rtnetlink.h
126
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
130
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), \
131
(struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
132
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
133
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/development/ndk/platforms/android-3/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/
rtnetlink.h
119
#define
RTA_ALIGN
(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
121
#define RTA_NEXT(rta,attrlen) ((attrlen) -=
RTA_ALIGN
((rta)->rta_len), (struct rtattr*)(((char*)(rta)) +
RTA_ALIGN
((rta)->rta_len)))
122
#define RTA_LENGTH(len) (
RTA_ALIGN
(sizeof(struct rtattr)) + (len))
123
#define RTA_SPACE(len)
RTA_ALIGN
(RTA_LENGTH(len))
Completed in 1479 milliseconds
1
2
3