/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...] |
netlink-kernel.h | 27 struct nlmsghdr struct 188 struct nlmsghdr msg;
|
/system/core/libnl_2/ |
msg.c | 27 /* Whole page will store nl_msg + nlmsghdr + genlmsghdr + payload */ 30 struct nlmsghdr *nlh; 38 nlh = (struct nlmsghdr *) ((char *) nm + sizeof(struct nl_msg)); 62 void *nlmsg_data(const struct nlmsghdr *nlh) 85 struct nlmsghdr *nlmsg_hdr(struct nl_msg *n) 91 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) 98 void *nlmsg_tail(const struct nlmsghdr *nlh) 104 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) 106 struct nlmsghdr *next_nlh = NULL [all...] |
/external/iproute2/ip/ |
ip_common.h | 2 struct nlmsghdr *n, 5 struct nlmsghdr *n, 8 struct nlmsghdr *n, void *arg); 10 struct nlmsghdr *n, void *arg); 12 struct nlmsghdr *n, void *arg); 22 struct nlmsghdr *n, void *arg); 24 struct nlmsghdr *n, void *arg); 26 struct nlmsghdr *n, void *arg); 59 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);
|
/bionic/libc/kernel/common/linux/ |
netlink.h | 51 struct nlmsghdr struct 77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 81 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 82 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 95 struct nlmsghdr msg;
|
/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/iproute2/include/linux/ |
netlink.h | 39 struct nlmsghdr { struct 77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 97 struct nlmsghdr msg;
|
/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 56 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 57 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 61 (struct nlmsghdr *) \ 63 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ 64 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 88 struct nlmsghdr struct
|
/prebuilt/linux-x86/toolchain/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r4/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;
|
/prebuilt/ndk/android-ndk-r5/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;
|
/prebuilt/ndk/android-ndk-r6/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;
|
/prebuilt/ndk/android-ndk-r6/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;
|
/external/iproute2/include/ |
ll_map.h | 5 struct nlmsghdr *n, void *arg);
|
libnetlink.h | 29 struct nlmsghdr *n, void *); 46 extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, 47 unsigned groups, struct nlmsghdr *answer, 53 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data); 54 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen); 55 extern int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len); 56 extern struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type); 57 extern int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest); 58 extern struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, const void *data, int len); 59 extern int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest) [all...] |
/external/kernel-headers/original/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; 159 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) 161 return (struct nlmsghdr *)skb->data; 192 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); 226 const struct nlmsghdr *nlh [all...] |
/external/chromium/net/base/ |
network_change_notifier_netlink_linux.cc | 29 bool IsIPv6Update(const struct nlmsghdr* netlink_message_header) { 36 const struct nlmsghdr* netlink_message_header) { 93 const struct nlmsghdr* netlink_message_header = 94 reinterpret_cast<struct nlmsghdr*>(buf);
|