HomeSort by relevance Sort by last modified time
    Searched refs:nlh (Results 1 - 25 of 25) sorted by null

  /bionic/libc/kernel/common/linux/
netlink.h 80 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
83 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /development/ndk/platforms/android-3/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /external/iproute2/include/linux/
netlink.h 82 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
83 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
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) && \
87 (nlh)->nlmsg_len <= (len))
88 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
netlink.h 75 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
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))
78 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /external/kernel-headers/original/linux/
netlink.h 82 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
83 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
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) && \
87 (nlh)->nlmsg_len <= (len))
88 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
226 const struct nlmsghdr *nlh; member in struct:netlink_callback
244 struct nlmsghdr *nlh; local
    [all...]
rtnetlink.h 627 u32 group, struct nlmsghdr *nlh, gfp_t flags);
  /external/iproute2/genl/
ctrl.c 45 struct nlmsghdr *nlh; local
55 nlh = &req.n;
56 nlh->nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN);
57 nlh->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
58 nlh->nlmsg_type = GENL_ID_CTRL;
68 addattr_l(nlh, 128, CTRL_ATTR_FAMILY_NAME, family, strlen(family) + 1);
70 if (rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL) < 0) {
77 struct genlmsghdr *ghdr = NLMSG_DATA(nlh);
78 int len = nlh->nlmsg_len
287 struct nlmsghdr *nlh; local
    [all...]
  /hardware/ti/wlan/wl1271/platforms/os/linux/src/
ipc_k.c 73 struct nlmsghdr *nlh; local
98 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
101 msg = (char *)NLMSG_DATA(nlh);
  /system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
ipc_k.c 69 struct nlmsghdr *nlh; local
96 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
99 msg = (char *)NLMSG_DATA(nlh);
  /system/wlan/ti/wilink_6_1/platforms/os/linux/src/
ipc_k.c 73 struct nlmsghdr *nlh; local
98 nlh = NLMSG_PUT(skb, 0, 0, NLMSG_DONE, realSize - sizeof(*nlh));
101 msg = (char *)NLMSG_DATA(nlh);
  /external/iptables/libipq/
libipq.c 127 struct nlmsghdr *nlh; local
183 nlh = (struct nlmsghdr *)buf;
184 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > status) {
271 struct nlmsghdr nlh; member in struct:__anon4548
276 req.nlh.nlmsg_len = NLMSG_LENGTH(sizeof(req));
277 req.nlh.nlmsg_flags = NLM_F_REQUEST;
278 req.nlh.nlmsg_type = IPQM_MODE;
279 req.nlh.nlmsg_pid = h->local.nl_pid;
282 return ipq_netlink_sendto(h, (void *)&req, req.nlh.nlmsg_len)
320 struct nlmsghdr nlh; local
    [all...]
  /external/wpa_supplicant/
priv_netlink.h 57 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
priv_netlink.h 57 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
  /external/dnsmasq/contrib/wrt/
dhcp_release.c 188 struct nlmsghdr nlh; member in struct:__anon3428
197 req.nlh.nlmsg_len = sizeof(req);
198 req.nlh.nlmsg_type = RTM_GETADDR;
199 req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST | NLM_F_ACK;
200 req.nlh.nlmsg_pid = 0;
201 req.nlh.nlmsg_seq = 1;
  /external/dnsmasq/src/
netlink.c 134 struct nlmsghdr nlh; member in struct:__anon3440
144 req.nlh.nlmsg_len = sizeof(req);
145 req.nlh.nlmsg_type = RTM_GETADDR;
146 req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST | NLM_F_ACK;
147 req.nlh.nlmsg_pid = 0;
148 req.nlh.nlmsg_seq = ++seq;
  /external/iproute2/lib/
libnetlink.c 95 struct nlmsghdr nlh; member in struct:__anon4485
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
150 struct nlmsghdr nlh; local
153 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
166 nlh.nlmsg_len = NLMSG_LENGTH(len)
    [all...]
  /external/ipsec-tools/src/racoon/
grabmyaddr.c 217 struct nlmsghdr nlh; member in struct:__anon4511
232 req.nlh.nlmsg_len = sizeof(req);
233 req.nlh.nlmsg_type = RTM_GETADDR;
234 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
235 req.nlh.nlmsg_pid = 0;
236 req.nlh.nlmsg_seq = ++seq;
  /external/kernel-headers/original/linux/netfilter/
nfnetlink.h 114 struct nlmsghdr *nlh, struct nfattr *cda[], int *errp);
  /external/iproute2/misc/
ss.c 1264 static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r)
1271 nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*r)));
1347 static int tcp_show_sock(struct nlmsghdr *nlh, struct filter *f)
1349 struct inet_diag_msg *r = NLMSG_DATA(nlh);
1403 tcp_show_info(nlh, r);
1416 struct nlmsghdr nlh; member in struct:__anon4494
1432 req.nlh.nlmsg_len = sizeof(req);
1433 req.nlh.nlmsg_type = socktype;
1434 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
1435 req.nlh.nlmsg_pid = 0
    [all...]
  /external/iproute2/ip/
iproute.c 998 struct nlmsghdr nlh; member in struct:__anon4467
1007 req.nlh.nlmsg_len = sizeof(req);
1008 req.nlh.nlmsg_type = RTM_GETROUTE;
1009 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_REQUEST;
1010 req.nlh.nlmsg_pid = 0;
1011 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
    [all...]

Completed in 840 milliseconds