HomeSort by relevance Sort by last modified time
    Searched refs:nlh (Results 201 - 225 of 290) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/strace/tests-mx32/
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);
netlink_netlink_diag.c 48 struct nlmsghdr nlh; member in struct:__anon35533
51 .nlh = {
netlink_sock_diag.c 97 struct nlmsghdr nlh = { local
98 .nlmsg_len = sizeof(nlh),
103 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
107 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
114 struct nlmsghdr nlh = { local
115 .nlmsg_len = sizeof(nlh),
120 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0)
    [all...]
nlattr_crypto_user_alg.c 41 init_crypto_user_alg(struct nlmsghdr *const nlh, const unsigned int msg_len)
43 SET_STRUCT(struct nlmsghdr, nlh,
49 struct crypto_user_alg *const alg = NLMSG_DATA(nlh);
nlattr_packet_diag_msg.c 43 init_packet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
45 SET_STRUCT(struct nlmsghdr, nlh,
51 struct packet_diag_msg *const msg = NLMSG_DATA(nlh);
nlattr_smc_diag_msg.c 53 init_smc_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
55 SET_STRUCT(struct nlmsghdr, nlh,
61 struct smc_diag_msg *const msg = NLMSG_DATA(nlh);
  /external/libnl/include/netlink/genl/
mngt.h 43 struct nlmsghdr * nlh; member in struct:genl_info
  /system/netd/server/
NetlinkCommands.h 79 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute);
RouteControllerTest.cpp 54 NetlinkDumpCallback callback = [&expectedPriorities] (const nlmsghdr *nlh) {
55 expectedPriorities.erase(getRulePriority(nlh));
SockDiag.cpp 98 nlmsghdr nlh; member in struct:android::net::__anon3216
101 .nlh = {
119 request.nlh.nlmsg_len = len;
207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) {
208 const inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh));
218 NetlinkDumpCallback callback = [tcpInfoReader] (nlmsghdr *nlh) {
219 if (nlh->nlmsg_type != SOCK_DIAG_BY_FAMILY) {
220 ALOGE("expected nlmsg_type=SOCK_DIAG_BY_FAMILY, got nlmsg_type=%d", nlh->nlmsg_type);
226 inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh));
227 uint32_t attr_len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*msg))
    [all...]
  /external/libnetfilter_conntrack/src/expect/
api.c 233 int (*cb)(const struct nlmsghdr *nlh,
546 nfnl_fill_hdr(ssh, &req->nlh, 0, *family, 0, IPCTNL_MSG_EXP_DELETE, NLM_F_REQUEST|NLM_F_ACK);
549 nfnl_fill_hdr(ssh, &req->nlh, 0, *family, 0, IPCTNL_MSG_EXP_GET, NLM_F_REQUEST|NLM_F_DUMP);
600 * \param nlh pointer to the netlink message
622 const struct nlmsghdr *nlh,
626 int len = nlh->nlmsg_len;
627 struct nfgenmsg *nfhdr = NLMSG_DATA(nlh);
630 assert(nlh != NULL);
639 flags = __parse_expect_message_type(nlh);
645 __parse_expect(nlh, cda, exp)
    [all...]
  /external/iproute2/rdma/
rdma.h 48 struct nlmsghdr *nlh; member in struct:rd
89 int rd_dev_init_cb(const struct nlmsghdr *nlh, void *data);
  /external/strace/tests/
netlink_netlink_diag.c 48 struct nlmsghdr nlh; member in struct:__anon35385
51 .nlh = {
netlink_sock_diag.c 97 struct nlmsghdr nlh = { local
98 .nlmsg_len = sizeof(nlh),
103 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
107 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
114 struct nlmsghdr nlh = { local
115 .nlmsg_len = sizeof(nlh),
120 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0)
    [all...]
nlattr_crypto_user_alg.c 41 init_crypto_user_alg(struct nlmsghdr *const nlh, const unsigned int msg_len)
43 SET_STRUCT(struct nlmsghdr, nlh,
49 struct crypto_user_alg *const alg = NLMSG_DATA(nlh);
nlattr_packet_diag_msg.c 43 init_packet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
45 SET_STRUCT(struct nlmsghdr, nlh,
51 struct packet_diag_msg *const msg = NLMSG_DATA(nlh);
nlattr_smc_diag_msg.c 53 init_smc_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
55 SET_STRUCT(struct nlmsghdr, nlh,
61 struct smc_diag_msg *const msg = NLMSG_DATA(nlh);
  /external/strace/tests-m32/
netlink_netlink_diag.c 48 struct nlmsghdr nlh; member in struct:__anon35459
51 .nlh = {
netlink_sock_diag.c 97 struct nlmsghdr nlh = { local
98 .nlmsg_len = sizeof(nlh),
103 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
107 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
114 struct nlmsghdr nlh = { local
115 .nlmsg_len = sizeof(nlh),
120 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0)
    [all...]
nlattr_crypto_user_alg.c 41 init_crypto_user_alg(struct nlmsghdr *const nlh, const unsigned int msg_len)
43 SET_STRUCT(struct nlmsghdr, nlh,
49 struct crypto_user_alg *const alg = NLMSG_DATA(nlh);
nlattr_packet_diag_msg.c 43 init_packet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
45 SET_STRUCT(struct nlmsghdr, nlh,
51 struct packet_diag_msg *const msg = NLMSG_DATA(nlh);
nlattr_smc_diag_msg.c 53 init_smc_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
55 SET_STRUCT(struct nlmsghdr, nlh,
61 struct smc_diag_msg *const msg = NLMSG_DATA(nlh);
  /external/dnsmasq/src/
netlink.c 134 struct nlmsghdr nlh; member in struct:__anon18988
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/libnfnetlink/src/
rtnl.c 114 struct nlmsghdr nlh; member in struct:__anon25412
123 req.nlh.nlmsg_len = sizeof(req);
124 req.nlh.nlmsg_type = type;
125 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
126 req.nlh.nlmsg_pid = 0;
127 req.nlh.nlmsg_seq = rtnl_handle->rtnl_dump = ++(rtnl_handle->rtnl_seq);
  /external/libnl/lib/netfilter/
log_msg.c 66 int nfnlmsg_log_msg_parse(struct nlmsghdr *nlh, struct nfnl_log_msg **result)
77 msg->ce_msgtype = nlh->nlmsg_type;
79 err = nlmsg_parse(nlh, sizeof(struct nfgenmsg), tb, NFULA_MAX,
84 nfnl_log_msg_set_family(msg, nfnlmsg_family(nlh));
171 struct nlmsghdr *nlh, struct nl_parser_param *pp)
176 if ((err = nfnlmsg_log_msg_parse(nlh, &msg)) < 0)

Completed in 923 milliseconds

1 2 3 4 5 6 7 891011>>