OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nm_nlh
(Results
1 - 8
of
8
) sorted by null
/external/android-clat/
netlink_msg.c
68
msg->
nm_nlh
->nlmsg_len = NLMSG_LENGTH(payload_len);
69
msg->
nm_nlh
->nlmsg_flags = flags;
70
msg->
nm_nlh
->nlmsg_type = type;
72
memcpy(nlmsg_data(msg->
nm_nlh
), payload_struct, payload_len);
/external/libnl/lib/
attr.c
803
tlen = NLMSG_ALIGN(msg->
nm_nlh
->nlmsg_len) + nla_total_size(attrlen);
805
if ((tlen + msg->
nm_nlh
->nlmsg_len) > msg->nm_size)
808
nla = (struct nlattr *) nlmsg_tail(msg->
nm_nlh
);
813
msg->
nm_nlh
->nlmsg_len = tlen;
817
(void *) nla - nlmsg_data(msg->
nm_nlh
),
818
attrtype, msg->
nm_nlh
->nlmsg_len);
847
msg, datalen, (void *) nla - nlmsg_data(msg->
nm_nlh
), attrtype);
1110
return nla_put(msg, attrtype, nlmsg_len(nested->
nm_nlh
),
1111
nlmsg_data(nested->
nm_nlh
));
1124
struct nlattr *start = (struct nlattr *) nlmsg_tail(msg->
nm_nlh
);
[
all
...]
msg.c
377
nm->
nm_nlh
= malloc(len);
378
if (!nm->
nm_nlh
)
381
memset(nm->
nm_nlh
, 0, sizeof(struct nlmsghdr));
385
nm->
nm_nlh
->nlmsg_len = nlmsg_total_size(0);
433
struct nlmsghdr *new = nm->
nm_nlh
;
495
memcpy(nm->
nm_nlh
, hdr, hdr->nlmsg_len);
517
void *buf = n->
nm_nlh
;
518
size_t nlmsg_len = n->
nm_nlh
->nlmsg_len;
527
n->
nm_nlh
->nlmsg_len += tlen;
533
n, len, pad, n->
nm_nlh
->nlmsg_len)
[
all
...]
cache.c
460
return nl_cache_parse(x->ops, &msg->nm_src, msg->
nm_nlh
, x->params);
/external/libnl/lib/route/sch/
netem.c
192
msg->
nm_nlh
->nlmsg_flags |= NLM_F_REQUEST;
244
msg->
nm_nlh
= (struct nlmsghdr *) realloc(msg->
nm_nlh
, new_msg_len);
245
if ( msg->
nm_nlh
== NULL )
293
struct nlattr* head = (struct nlattr *)(NLMSG_DATA(msg->
nm_nlh
) +
296
struct nlattr* tail = (struct nlattr *)(((void *) (msg->
nm_nlh
)) +
297
NLMSG_ALIGN(msg->
nm_nlh
->nlmsg_len));
301
msg->
nm_nlh
->nlmsg_len += (head->nla_len - old_len);
/external/libnl/include/
netlink-types.h
132
struct nlmsghdr *
nm_nlh
;
member in struct:nl_msg
/external/nfacct/
nfacct.c
144
struct nlmsghdr *hdr = msg->
nm_nlh
;
/external/libnl/lib/route/
route_obj.c
1164
rtnh->rtnh_len = nlmsg_tail(msg->
nm_nlh
) -
Completed in 61 milliseconds