/external/strace/tests-m32/ |
nlattr_ndmsg.c | 43 init_ndmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 45 SET_STRUCT(struct nlmsghdr, nlh, 51 struct ndmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_tcmsg.c | 38 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 40 SET_STRUCT(struct nlmsghdr, nlh, 46 struct tcmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_unix_diag_msg.c | 41 init_unix_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 43 SET_STRUCT(struct nlmsghdr, nlh, 49 struct unix_diag_msg *const msg = NLMSG_DATA(nlh);
|
nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 56 SET_STRUCT(struct nlmsghdr, nlh, 62 struct br_port_msg *const msg = NLMSG_DATA(nlh); 68 struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 44 SET_STRUCT(struct nlmsghdr, nlh, 50 struct tcmsg *const msg = NLMSG_DATA(nlh); 56 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_ifaddrmsg.c | 52 init_ifaddrmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 54 SET_STRUCT(struct nlmsghdr, nlh, 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_ndtmsg.c | 42 init_ndtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 44 SET_STRUCT(struct nlmsghdr, nlh, 50 struct ndtmsg *const msg = NLMSG_DATA(nlh);
|
/external/strace/tests-mx32/ |
nlattr_fib_rule_hdr.c | 45 init_rtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 47 SET_STRUCT(struct nlmsghdr, nlh, 53 struct rtmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_ndmsg.c | 43 init_ndmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 45 SET_STRUCT(struct nlmsghdr, nlh, 51 struct ndmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_tcmsg.c | 38 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 40 SET_STRUCT(struct nlmsghdr, nlh, 46 struct tcmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_unix_diag_msg.c | 41 init_unix_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 43 SET_STRUCT(struct nlmsghdr, nlh, 49 struct unix_diag_msg *const msg = NLMSG_DATA(nlh);
|
nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 56 SET_STRUCT(struct nlmsghdr, nlh, 62 struct br_port_msg *const msg = NLMSG_DATA(nlh); 68 struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 44 SET_STRUCT(struct nlmsghdr, nlh, 50 struct tcmsg *const msg = NLMSG_DATA(nlh); 56 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_ifaddrmsg.c | 52 init_ifaddrmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 54 SET_STRUCT(struct nlmsghdr, nlh, 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
|
/external/selinux/libselinux/src/ |
avc_internal.c | 105 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; local 148 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > (unsigned)rc) { 161 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; local 163 switch (nlh->nlmsg_type) { 165 struct nlmsgerr *err = NLMSG_DATA(nlh); 178 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); 199 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); 219 avc_prefix, nlh->nlmsg_type);
|
/external/strace/tests/ |
nlattr_mdba_mdb_entry.c | 52 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 56 SET_STRUCT(struct nlmsghdr, nlh, 62 struct br_port_msg *const msg = NLMSG_DATA(nlh); 68 struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_tc_stats.c | 42 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 44 SET_STRUCT(struct nlmsghdr, nlh, 50 struct tcmsg *const msg = NLMSG_DATA(nlh); 56 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_ifaddrmsg.c | 52 init_ifaddrmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 54 SET_STRUCT(struct nlmsghdr, nlh, 60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_ndtmsg.c | 42 init_ndtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 44 SET_STRUCT(struct nlmsghdr, nlh, 50 struct ndtmsg *const msg = NLMSG_DATA(nlh);
|
/system/core/logd/ |
libaudit.h | 45 struct nlmsghdr nlh; member in struct:audit_message
|
/external/iproute2/rdma/ |
utils.c | 127 int rd_dev_init_cb(const struct nlmsghdr *nlh, void *data) 134 mnl_attr_parse(nlh, 0, rd_attr_cb, tb); 186 rd->nlh = mnl_nlmsg_put_header(rd->buff); 187 rd->nlh->nlmsg_type = RDMA_NL_GET_TYPE(RDMA_NL_NLDEV, cmd); 188 rd->nlh->nlmsg_seq = *seq; 189 rd->nlh->nlmsg_flags = flags; 208 ret = mnl_socket_sendto(rd->nl, rd->nlh, rd->nlh->nlmsg_len);
|
/external/libnetfilter_conntrack/src/expect/ |
parse.c | 12 int __parse_expect_message_type(const struct nlmsghdr *nlh) 14 uint16_t type = NFNL_MSG_TYPE(nlh->nlmsg_type); 15 uint16_t flags = nlh->nlmsg_flags; 29 void __parse_expect(const struct nlmsghdr *nlh, 33 struct nfgenmsg *nfhdr = NLMSG_DATA(nlh);
|
parse_mnl.c | 50 int nfexp_nlmsg_parse(const struct nlmsghdr *nlh, struct nf_expect *exp) 53 struct nfgenmsg *nfg = mnl_nlmsg_get_payload(nlh); 55 mnl_attr_parse(nlh, sizeof(struct nfgenmsg),
|
/external/iptables/iptables/ |
nft.c | 58 int mnl_talk(struct nft_handle *h, struct nlmsghdr *nlh, 59 int (*cb)(const struct nlmsghdr *nlh, void *data), 65 if (mnl_socket_sendto(h->nl, nlh, nlh->nlmsg_len) < 0) 527 struct nlmsghdr *nlh; local 530 nlh = nftnl_table_nlmsg_build_hdr(buf, NFT_MSG_NEWTABLE, h->family, 532 nftnl_table_nlmsg_build_payload(nlh, t); 540 mnl_nlmsg_fprintf(stdout, nlh, nlh->nlmsg_len, sizeof(struct nfgenmsg)); 543 ret = mnl_talk(h, nlh, NULL, NULL) 597 struct nlmsghdr *nlh; local 1191 struct nlmsghdr *nlh; local 1294 struct nlmsghdr *nlh; local 1443 struct nlmsghdr *nlh; local 1460 struct nlmsghdr *nlh; local 1615 struct nlmsghdr *nlh; local 1653 struct nlmsghdr *nlh; local 2290 struct nlmsghdr *nlh; local 2302 struct nlmsghdr *nlh; local 2315 struct nlmsghdr *nlh; local 2425 struct nlmsghdr *nlh; local 2680 struct nlmsghdr *nlh; local [all...] |
/external/iproute2/lib/ |
libnetlink.c | 69 static int nl_dump_ext_err(const struct nlmsghdr *nlh, nl_ext_ack_fn_t errfn) 72 const struct nlmsgerr *err = mnl_nlmsg_get_payload(nlh); 79 if (!(nlh->nlmsg_flags & NLM_F_ACK_TLVS)) 83 if (!(nlh->nlmsg_flags & NLM_F_CAPPED)) 86 if (mnl_attr_parse(nlh, hlen, err_attr_cb, tb) != MNL_CB_OK) 95 if (off > nlh->nlmsg_len) { 99 } else if (!(nlh->nlmsg_flags & NLM_F_CAPPED)) 123 static int nl_dump_ext_err(const struct nlmsghdr *nlh, nl_ext_ack_fn_t errfn) 211 struct nlmsghdr nlh; member in struct:__anon22207 217 .nlh.nlmsg_len = sizeof(req) 234 struct nlmsghdr nlh; member in struct:__anon22208 260 struct nlmsghdr nlh; member in struct:__anon22209 317 struct nlmsghdr nlh = { local [all...] |