OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NLMSG_ALIGN
(Results
1 - 12
of
12
) sorted by null
/external/wpa_supplicant/
priv_netlink.h
55
#define
NLMSG_ALIGN
(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
56
#define NLMSG_LENGTH(len) ((len) +
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
priv_netlink.h
55
#define
NLMSG_ALIGN
(len) (((len) + NLMSG_ALIGNTO - 1) & ~(NLMSG_ALIGNTO - 1))
56
#define NLMSG_LENGTH(len) ((len) +
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
/bionic/libc/kernel/common/linux/
netlink.h
76
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
77
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
78
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
79
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
81
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/development/ndk/platforms/android-3/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/external/iproute2/include/linux/
netlink.h
78
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
79
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
80
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
81
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
83
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
84
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
netlink.h
71
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
72
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
73
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
74
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
76
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
/external/kernel-headers/original/linux/
netlink.h
78
#define
NLMSG_ALIGN
(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
79
#define NLMSG_HDRLEN ((int)
NLMSG_ALIGN
(sizeof(struct nlmsghdr)))
80
#define NLMSG_LENGTH(len) ((len)+
NLMSG_ALIGN
(NLMSG_HDRLEN))
81
#define NLMSG_SPACE(len)
NLMSG_ALIGN
(NLMSG_LENGTH(len))
83
#define NLMSG_NEXT(nlh,len) ((len) -=
NLMSG_ALIGN
((nlh)->nlmsg_len), \
84
(struct nlmsghdr*)(((char*)(nlh)) +
NLMSG_ALIGN
((nlh)->nlmsg_len)))
247
nlh = (struct nlmsghdr*)skb_put(skb,
NLMSG_ALIGN
(size));
253
if (!__builtin_constant_p(size) ||
NLMSG_ALIGN
(size) - size != 0)
254
memset(NLMSG_DATA(nlh) + len, 0,
NLMSG_ALIGN
(size) - size);
Completed in 292 milliseconds