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

1 2 3 45 6 7 8 91011>>

  /external/strace/tests/
nlattr_netconfmsg.c 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
41 SET_STRUCT(struct nlmsghdr, nlh,
47 struct netconfmsg *const msg = NLMSG_DATA(nlh);
nlattr_nlmsgerr.c 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len)
39 SET_STRUCT(struct nlmsghdr, nlh,
45 struct nlmsgerr *const err = NLMSG_DATA(nlh);
nlattr_rtgenmsg.c 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
42 SET_STRUCT(struct nlmsghdr, nlh,
48 struct rtgenmsg *const msg = NLMSG_DATA(nlh);
nlattr_tcamsg.c 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
38 SET_STRUCT(struct nlmsghdr, nlh,
44 struct tcamsg *const msg = NLMSG_DATA(nlh);
netlink_route.c 89 struct nlmsghdr nlh = { local
90 .nlmsg_len = sizeof(nlh),
95 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
99 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
106 struct nlmsghdr nlh = { local
107 .nlmsg_len = sizeof(nlh),
110 nlh.nlmsg_type = RTM_GETLINK;
111 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP
    [all...]
  /external/strace/tests-m32/
nlattr_br_port_msg.c 40 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
42 SET_STRUCT(struct nlmsghdr, nlh,
48 struct br_port_msg *const msg = NLMSG_DATA(nlh);
nlattr_dcbmsg.c 39 init_dcbmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
41 SET_STRUCT(struct nlmsghdr, nlh,
47 struct dcbmsg *const msg = NLMSG_DATA(nlh);
nlattr_netconfmsg.c 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
41 SET_STRUCT(struct nlmsghdr, nlh,
47 struct netconfmsg *const msg = NLMSG_DATA(nlh);
nlattr_nlmsgerr.c 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len)
39 SET_STRUCT(struct nlmsghdr, nlh,
45 struct nlmsgerr *const err = NLMSG_DATA(nlh);
nlattr_rtgenmsg.c 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
42 SET_STRUCT(struct nlmsghdr, nlh,
48 struct rtgenmsg *const msg = NLMSG_DATA(nlh);
nlattr_tcamsg.c 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
38 SET_STRUCT(struct nlmsghdr, nlh,
44 struct tcamsg *const msg = NLMSG_DATA(nlh);
netlink_route.c 89 struct nlmsghdr nlh = { local
90 .nlmsg_len = sizeof(nlh),
95 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
99 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
106 struct nlmsghdr nlh = { local
107 .nlmsg_len = sizeof(nlh),
110 nlh.nlmsg_type = RTM_GETLINK;
111 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP
    [all...]
  /external/strace/tests-mx32/
nlattr_br_port_msg.c 40 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len)
42 SET_STRUCT(struct nlmsghdr, nlh,
48 struct br_port_msg *const msg = NLMSG_DATA(nlh);
nlattr_dcbmsg.c 39 init_dcbmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
41 SET_STRUCT(struct nlmsghdr, nlh,
47 struct dcbmsg *const msg = NLMSG_DATA(nlh);
nlattr_netconfmsg.c 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
41 SET_STRUCT(struct nlmsghdr, nlh,
47 struct netconfmsg *const msg = NLMSG_DATA(nlh);
nlattr_nlmsgerr.c 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len)
39 SET_STRUCT(struct nlmsghdr, nlh,
45 struct nlmsgerr *const err = NLMSG_DATA(nlh);
nlattr_rtgenmsg.c 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
42 SET_STRUCT(struct nlmsghdr, nlh,
48 struct rtgenmsg *const msg = NLMSG_DATA(nlh);
nlattr_tcamsg.c 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len)
38 SET_STRUCT(struct nlmsghdr, nlh,
44 struct tcamsg *const msg = NLMSG_DATA(nlh);
netlink_route.c 89 struct nlmsghdr nlh = { local
90 .nlmsg_len = sizeof(nlh),
95 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
99 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
106 struct nlmsghdr nlh = { local
107 .nlmsg_len = sizeof(nlh),
110 nlh.nlmsg_type = RTM_GETLINK;
111 nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP
    [all...]
  /bionic/libc/kernel/uapi/linux/
netlink.h 83 #define NLMSG_DATA(nlh) ((void *) (((char *) nlh) + NLMSG_LENGTH(0)))
84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
85 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
86 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /external/iproute2/include/uapi/linux/
netlink.h 94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
99 (nlh)->nlmsg_len <= (len))
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /external/kernel-headers/original/uapi/linux/
netlink.h 94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0)))
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
99 (nlh)->nlmsg_len <= (len))
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))
    [all...]
  /external/libnl/lib/netfilter/
queue_msg.c 63 int nfnlmsg_queue_msg_parse(struct nlmsghdr *nlh,
75 msg->ce_msgtype = nlh->nlmsg_type;
77 err = nlmsg_parse(nlh, sizeof(struct nfgenmsg), tb, NFQA_MAX,
82 nfnl_queue_msg_set_group(msg, nfnlmsg_res_id(nlh));
83 nfnl_queue_msg_set_family(msg, nfnlmsg_family(nlh));
150 struct nlmsghdr *nlh, struct nl_parser_param *pp)
155 if ((err = nfnlmsg_queue_msg_parse(nlh, &msg)) < 0)
209 * @arg nlh netlink messsage header
213 int nfnl_queue_msg_send_verdict(struct nl_sock *nlh,
223 err = nl_send_auto_complete(nlh, nlmsg)
    [all...]
  /external/iproute2/tipc/
bearer.h 19 int cmd_bearer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, void *data);
  /external/libnetfilter_conntrack/examples/
nfct-mnl-event.c 9 static int data_cb(const struct nlmsghdr *nlh, void *data)
15 switch(nlh->nlmsg_type & 0xFF) {
17 if (nlh->nlmsg_flags & (NLM_F_CREATE|NLM_F_EXCL))
31 nfct_nlmsg_parse(nlh, ct);

Completed in 162 milliseconds

1 2 3 45 6 7 8 91011>>