/external/libnl-headers/netlink/ |
msg.h | 53 extern void * nlmsg_data(const struct nlmsghdr *); 54 extern int nlmsg_datalen(const struct nlmsghdr *); 55 extern int nlmsg_len(const struct nlmsghdr *); 56 extern void * nlmsg_tail(const struct nlmsghdr *); 59 extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int); 60 extern int nlmsg_attrlen(const struct nlmsghdr *, int); 63 extern int nlmsg_valid_hdr(const struct nlmsghdr *, int); 64 extern int nlmsg_ok(const struct nlmsghdr *, int); 65 extern struct nlmsghdr * nlmsg_next(struct nlmsghdr *, int *) [all...] |
/system/core/libnl_2/ |
msg.c | 28 /* Whole page will store nl_msg + nlmsghdr + genlmsghdr + payload */ 31 struct nlmsghdr *nlh; 39 nlh = (struct nlmsghdr *) ((char *) nm + sizeof(struct nl_msg)); 63 void *nlmsg_data(const struct nlmsghdr *nlh) 86 struct nlmsghdr *nlmsg_hdr(struct nl_msg *n) 92 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) 99 void *nlmsg_tail(const struct nlmsghdr *nlh) 105 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) 107 struct nlmsghdr *next_nlh = NULL [all...] |
/external/iproute2/ip/ |
ip_common.h | 3 struct nlmsghdr *n, 6 struct nlmsghdr *n, 9 struct nlmsghdr *n, void *arg); 11 struct nlmsghdr *n, void *arg); 13 struct nlmsghdr *n, void *arg); 23 struct nlmsghdr *n, void *arg); 25 struct nlmsghdr *n, void *arg); 27 struct nlmsghdr *n, void *arg); 62 struct nlmsghdr *);
|
/external/libnl-headers/netlink/genl/ |
genl.h | 31 extern int genlmsg_valid_hdr(struct nlmsghdr *, int); 32 extern int genlmsg_validate(struct nlmsghdr *, int, int, 34 extern int genlmsg_parse(struct nlmsghdr *, int, struct nlattr **,
|
/external/iproute2/genl/ |
genl_utils.h | 12 int (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
/external/iproute2/tc/ |
tc_common.h | 10 extern int print_action(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 11 extern int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 12 extern int print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 13 extern int print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
/development/ndk/platforms/android-3/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 55 (struct nlmsghdr *) \ 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ 58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 82 struct nlmsghdr struct
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
netlink.h | 40 struct nlmsghdr struct 79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
netlink.h | 40 struct nlmsghdr struct 79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
netlink.h | 40 struct nlmsghdr struct 79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|