/external/iputils/ninfod/ |
ni_ifaddrs.c | 126 req_hdr->nlmsg_len = NLMSG_LENGTH(sizeof(*req_msg)); 134 return (sendto(sd, (void *) req_hdr, req_hdr->nlmsg_len, 0, (struct sockaddr *) &nladdr, sizeof(nladdr))); 198 if (nh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr)))
|
/system/connectivity/shill/net/ |
rtnl_handler.cc | 284 ByteString payload(reinterpret_cast<unsigned char*>(hdr), hdr->nlmsg_len); 290 << " length " << hdr->nlmsg_len 345 buf += hdr->nlmsg_len;
|
/external/avahi/avahi-core/ |
netlink.c | 199 if (send(nl->fd, m, m->nlmsg_len, 0) < 0) {
|
/external/iproute2/ip/ |
ipaddress.c | 607 n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi))); 618 int len = n->nlmsg_len; 719 int len = n->nlmsg_len; 946 int len = n->nlmsg_len; 966 n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa))); 1007 if (NLMSG_ALIGN(filter.flushp) + n->nlmsg_len > filter.flushe) { 1012 memcpy(fn, n, n->nlmsg_len); 1016 filter.flushp = (((char*)fn) + n->nlmsg_len) - filter.flushb; 1183 if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifa))) 1209 h = malloc(n->nlmsg_len+sizeof(void*)) [all...] |
ipntable.c | 79 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndtmsg)); 356 int len = n->nlmsg_len; 363 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); 376 n->nlmsg_len - NLMSG_LENGTH(sizeof(*ndtm)));
|
link_ip6tnl.c | 86 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(*ifi)); 99 len = req.n.nlmsg_len;
|
iproute.c | 312 int len = n->nlmsg_len; 322 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); 343 if (NLMSG_ALIGN(filter.flushp) + n->nlmsg_len > filter.flushe) { 348 memcpy(fn, n, n->nlmsg_len); 352 filter.flushp = (((char*)fn) + n->nlmsg_len) - filter.flushb; 839 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); [all...] |
link_gre.c | 82 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(*ifi)); 95 len = req.n.nlmsg_len;
|
link_gre6.c | 88 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(*ifi)); 101 len = req.n.nlmsg_len;
|
link_iptnl.c | 88 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(*ifi)); 101 len = req.n.nlmsg_len;
|
/external/iproute2/lib/ |
ll_map.c | 93 if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifi)))
|
/external/iproute2/tipc/ |
msg.c | 65 ret = mnl_socket_sendto(nl, nlh, nlh->nlmsg_len);
|
/external/iproute2/tc/ |
tc_qdisc.c | 67 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); 210 int len = n->nlmsg_len;
|
f_flower.c | 179 tail = (struct rtattr *) (((void *) n) + NLMSG_ALIGN(n->nlmsg_len)); 304 tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
|
tc_class.c | 75 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); 310 int len = n->nlmsg_len;
|
tc_filter.c | 66 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); 200 int len = n->nlmsg_len;
|
/external/iproute2/bridge/ |
link.c | 103 int len = n->nlmsg_len; 275 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
/external/libnl/lib/ |
nl.c | 285 .iov_len = nlmsg_hdr(msg)->nlmsg_len, 623 if (hdr->nlmsg_len < nlmsg_msg_size(sizeof(*e))) {
|
handlers.c | 46 n->nlmsg_len, nl_nlmsg_flags2str(n->nlmsg_flags, flags,
|
/system/netd/server/ |
SockDiag.cpp | 115 request.nlh.nlmsg_len = len; 276 request.nlh.nlmsg_len = sizeof(request);
|
/external/iproute2/include/ |
libnetlink.h | 158 ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
|
/external/iproute2/misc/ |
arpd.c | 277 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)); 287 return rtnl_send(&rth, &req, req.n.nlmsg_len) <= 0; 304 int len = n->nlmsg_len; 470 int len = h->nlmsg_len;
|
/external/libselinux/src/ |
avc_internal.c | 148 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > (unsigned)rc) {
|
/external/selinux/libselinux/src/ |
avc_internal.c | 148 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > (unsigned)rc) {
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
wifilogger_diag.cpp | [all...] |