/external/strace/tests/ |
nfnetlink_osf.c | 45 struct nlmsghdr nlh = { local 46 .nlmsg_len = sizeof(nlh), 50 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | OSF_MSG_ADD; 51 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 56 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 58 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | 0xff; 59 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_queue.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | NFQNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_ulog.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | NFULNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
netlink_netfilter.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 nlh.nlmsg_type = NFNL_MSG_BATCH_BEGIN; 50 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; 58 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0) [all...] |
netlink_protocol.c | 49 struct nlmsghdr nlh; member in struct:req 52 .nlh = { 95 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 99 req->nlh.nlmsg_len = sizeof(req->nlh); 100 rc = sendto(fd, &req->nlh, sizeof(req->nlh), MSG_DONTWAIT, NULL, 0); 103 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 104 (unsigned) sizeof(req->nlh), sprintrc(rc)); 107 req->nlh.nlmsg_len = sizeof(*req) + 8 205 struct nlmsghdr *nlh; local 320 struct nlmsghdr *nlh; local 371 struct nlmsghdr nlh = { local [all...] |
netlink_audit.c | 40 struct nlmsghdr nlh = { local 41 .nlmsg_len = sizeof(nlh), 46 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 50 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
|
netlink_crypto.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 53 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 60 struct nlmsghdr nlh = { local 61 .nlmsg_len = sizeof(nlh), 64 nlh.nlmsg_type = CRYPTO_MSG_GETALG; 65 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP [all...] |
/external/strace/tests-m32/ |
nfnetlink_ipset.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_IPSET << 8 | IPSET_CMD_NONE; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_IPSET << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_osf.c | 45 struct nlmsghdr nlh = { local 46 .nlmsg_len = sizeof(nlh), 50 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | OSF_MSG_ADD; 51 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 56 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 58 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | 0xff; 59 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_queue.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | NFQNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_ulog.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | NFULNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
netlink_netfilter.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 nlh.nlmsg_type = NFNL_MSG_BATCH_BEGIN; 50 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; 58 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0) [all...] |
netlink_protocol.c | 49 struct nlmsghdr nlh; member in struct:req 52 .nlh = { 95 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 99 req->nlh.nlmsg_len = sizeof(req->nlh); 100 rc = sendto(fd, &req->nlh, sizeof(req->nlh), MSG_DONTWAIT, NULL, 0); 103 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 104 (unsigned) sizeof(req->nlh), sprintrc(rc)); 107 req->nlh.nlmsg_len = sizeof(*req) + 8 205 struct nlmsghdr *nlh; local 320 struct nlmsghdr *nlh; local 371 struct nlmsghdr nlh = { local [all...] |
netlink_audit.c | 40 struct nlmsghdr nlh = { local 41 .nlmsg_len = sizeof(nlh), 46 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 50 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
|
netlink_crypto.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 53 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 60 struct nlmsghdr nlh = { local 61 .nlmsg_len = sizeof(nlh), 64 nlh.nlmsg_type = CRYPTO_MSG_GETALG; 65 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP [all...] |
/external/strace/tests-mx32/ |
nfnetlink_ipset.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_IPSET << 8 | IPSET_CMD_NONE; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_IPSET << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_osf.c | 45 struct nlmsghdr nlh = { local 46 .nlmsg_len = sizeof(nlh), 50 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | OSF_MSG_ADD; 51 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 56 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 58 nlh.nlmsg_type = NFNL_SUBSYS_OSF << 8 | 0xff; 59 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_queue.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | NFQNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_QUEUE << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
nfnetlink_ulog.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 48 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | NFULNL_MSG_PACKET; 49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc)); 56 nlh.nlmsg_type = NFNL_SUBSYS_ULOG << 8 | 0xff; 57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0) [all...] |
netlink_netfilter.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 nlh.nlmsg_type = NFNL_MSG_BATCH_BEGIN; 50 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; 58 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0) [all...] |
netlink_protocol.c | 49 struct nlmsghdr nlh; member in struct:req 52 .nlh = { 95 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 99 req->nlh.nlmsg_len = sizeof(req->nlh); 100 rc = sendto(fd, &req->nlh, sizeof(req->nlh), MSG_DONTWAIT, NULL, 0); 103 fd, req->nlh.nlmsg_len, NLM_F_DUMP, 104 (unsigned) sizeof(req->nlh), sprintrc(rc)); 107 req->nlh.nlmsg_len = sizeof(*req) + 8 205 struct nlmsghdr *nlh; local 320 struct nlmsghdr *nlh; local 371 struct nlmsghdr nlh = { local [all...] |
netlink_audit.c | 40 struct nlmsghdr nlh = { local 41 .nlmsg_len = sizeof(nlh), 46 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 50 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
|
netlink_crypto.c | 43 struct nlmsghdr nlh = { local 44 .nlmsg_len = sizeof(nlh), 49 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 53 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 60 struct nlmsghdr nlh = { local 61 .nlmsg_len = sizeof(nlh), 64 nlh.nlmsg_type = CRYPTO_MSG_GETALG; 65 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP [all...] |
/external/libnetfilter_conntrack/src/conntrack/ |
build_mnl.c | 17 nfct_build_tuple_ip(struct nlmsghdr *nlh, const struct __nfct_tuple *t) 21 nest = mnl_attr_nest_start(nlh, CTA_TUPLE_IP); 27 mnl_attr_put_u32(nlh, CTA_IP_V4_SRC, t->src.v4); 28 mnl_attr_put_u32(nlh, CTA_IP_V4_DST, t->dst.v4); 31 mnl_attr_put(nlh, CTA_IP_V6_SRC, sizeof(struct in6_addr), 33 mnl_attr_put(nlh, CTA_IP_V6_DST, sizeof(struct in6_addr), 37 mnl_attr_nest_cancel(nlh, nest); 40 mnl_attr_nest_end(nlh, nest); 45 nfct_build_tuple_proto(struct nlmsghdr *nlh, const struct __nfct_tuple *t) 49 nest = mnl_attr_nest_start(nlh, CTA_TUPLE_PROTO) [all...] |
/external/libnetfilter_conntrack/src/expect/ |
build_mnl.c | 16 nfexp_nlmsg_build(struct nlmsghdr *nlh, const struct nf_expect *exp) 19 nfct_build_tuple(nlh, &exp->expected.orig, CTA_EXPECT_TUPLE); 22 nfct_build_tuple(nlh, &exp->master.orig, CTA_EXPECT_MASTER); 25 nfct_build_tuple(nlh, &exp->mask.orig, CTA_EXPECT_MASK); 28 mnl_attr_put_u32(nlh, CTA_EXPECT_TIMEOUT, htonl(exp->timeout)); 31 mnl_attr_put_u32(nlh, CTA_EXPECT_FLAGS, htonl(exp->flags)); 34 mnl_attr_put_u16(nlh, CTA_EXPECT_ZONE, htons(exp->zone)); 37 mnl_attr_put_strz(nlh, CTA_EXPECT_HELP_NAME, exp->helper_name);
|