/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); 57 struct nlmsghdr *);
|
link_veth.c | 28 struct nlmsghdr *hdr)
|
/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);
|
tc_util.h | 30 int (*parse_qopt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); 34 int (*parse_copt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); 44 char **argv, struct nlmsghdr *n); 53 int code, struct nlmsghdr *n); 94 extern int parse_police(int *, char ***, int, struct nlmsghdr *); 98 extern int act_parse_police(struct action_util *a,int *, char ***, int, struct nlmsghdr *); 105 extern int parse_action(int *, char ***, int, struct nlmsghdr *);
|
q_ingress.c | 37 static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
|
q_multiq.c | 47 struct nlmsghdr *n)
|
m_ematch.h | 87 int (*parse_eopt)(struct nlmsghdr *,struct tcf_ematch_hdr *, 109 extern int parse_ematch(int *, char ***, int, struct nlmsghdr *);
|
q_drr.c | 38 static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 55 struct nlmsghdr *n)
|
/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 | 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;
|
/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/dnsmasq/src/ |
netlink.c | 36 static void nl_err(struct nlmsghdr *h); 37 static void nl_routechange(struct nlmsghdr *h); 128 struct nlmsghdr *h; 134 struct nlmsghdr nlh; 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 239 struct nlmsghdr *h; 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 260 static void nl_err(struct nlmsghdr *h) 273 static void nl_routechange(struct nlmsghdr *h)
|
/external/iproute2/lib/ |
libnetlink.c | 95 struct nlmsghdr nlh; 117 struct nlmsghdr *h; 133 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); 150 struct nlmsghdr nlh; 210 struct nlmsghdr *h = (struct nlmsghdr*)buf; 273 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, 274 unsigned groups, struct nlmsghdr *answer, 280 struct nlmsghdr *h; 334 for (h = (struct nlmsghdr*)buf; status >= sizeof(*h); ) [all...] |
/external/wpa_supplicant/ |
priv_netlink.h | 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 79 struct nlmsghdr struct
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
priv_netlink.h | 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 79 struct nlmsghdr struct
|