/external/strace/tests-m32/ |
nlattr_tca_stab.c | 46 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 48 SET_STRUCT(struct nlmsghdr, nlh, 54 struct tcmsg *const msg = NLMSG_DATA(nlh); 60 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_ifaddrlblmsg.c | 39 init_ifaddrlblmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct ifaddrlblmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_inet_diag_req_compat.c | 45 init_inet_diag_req(struct nlmsghdr *const nlh, const unsigned int msg_len) 47 SET_STRUCT(struct nlmsghdr, nlh, 53 struct inet_diag_req *const req = NLMSG_DATA(nlh);
|
nlattr_netlink_diag_msg.c | 39 init_netlink_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct netlink_diag_msg *const msg = NLMSG_DATA(nlh);
|
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);
|
/external/strace/tests-mx32/ |
nlattr.c | 48 struct nlmsghdr nlh; member in struct:msg 51 .nlh = { 70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 84 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 97 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 124 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 145 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 164 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 182 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); 218 msg->nlh.nlmsg_len = msg_len 253 struct nlmsghdr nlh; member in struct:msg [all...] |
nlattr_ifla_brport.c | 47 init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 49 SET_STRUCT(struct nlmsghdr, nlh, 55 struct ifinfomsg *const msg = NLMSG_DATA(nlh); 63 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_mdba_router_port.c | 54 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_tca_stab.c | 46 init_tcmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 48 SET_STRUCT(struct nlmsghdr, nlh, 54 struct tcmsg *const msg = NLMSG_DATA(nlh); 60 struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(*msg));
|
nlattr_ifaddrlblmsg.c | 39 init_ifaddrlblmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct ifaddrlblmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_inet_diag_req_compat.c | 45 init_inet_diag_req(struct nlmsghdr *const nlh, const unsigned int msg_len) 47 SET_STRUCT(struct nlmsghdr, nlh, 53 struct inet_diag_req *const req = NLMSG_DATA(nlh);
|
nlattr_netlink_diag_msg.c | 39 init_netlink_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct netlink_diag_msg *const msg = NLMSG_DATA(nlh);
|
/external/libnl/tests/ |
check-attr.c | 54 struct nlmsghdr *nlh; local 66 nlh = nlmsg_hdr(msg); 68 nlmsg_for_each_attr(a, nlh, 0, rem) {
|
/external/strace/tests/ |
nlattr_ifaddrlblmsg.c | 39 init_ifaddrlblmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct ifaddrlblmsg *const msg = NLMSG_DATA(nlh);
|
nlattr_inet_diag_req_compat.c | 45 init_inet_diag_req(struct nlmsghdr *const nlh, const unsigned int msg_len) 47 SET_STRUCT(struct nlmsghdr, nlh, 53 struct inet_diag_req *const req = NLMSG_DATA(nlh);
|
nlattr_netlink_diag_msg.c | 39 init_netlink_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh, 47 struct netlink_diag_msg *const msg = NLMSG_DATA(nlh);
|
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);
|
/external/ltp/testcases/kernel/containers/netns/ |
netns_netlink.c | 72 struct nlmsghdr *nlh; local 98 nlh = (struct nlmsghdr *) buffer; 100 len = recv(fd, nlh, sizeof(buffer), MSG_DONTWAIT); 104 if (nlh->nlmsg_type == RTM_NEWLINK || 105 nlh->nlmsg_type == RTM_DELLINK) {
|
/external/libnl/lib/genl/ |
mngt.c | 47 static int cmd_msg_parser(struct sockaddr_nl *who, struct nlmsghdr *nlh, 54 ghdr = genlmsg_hdr(nlh); 67 .nlh = nlh, 73 err = nlmsg_parse(nlh, GENL_HDRSIZE(ops->o_hdrsize), tb, cmd->c_maxattr, 86 struct nlmsghdr *nlh, struct nl_parser_param *pp) 91 return cmd_msg_parser(who, nlh, ops->co_genl, ops, pp); 210 struct nlmsghdr *nlh = nlmsg_hdr(msg); local 213 if (!genlmsg_valid_hdr(nlh, 0)) 216 if (!(ops = lookup_family(nlh->nlmsg_type)) [all...] |
/external/libnetfilter_conntrack/include/internal/ |
prototypes.h | 9 int __parse_message_type(const struct nlmsghdr *nlh); 10 void __parse_conntrack(const struct nlmsghdr *nlh, struct nfattr *cda[], struct nf_conntrack *ct); 31 int __callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); 43 int nfct_build_tuple(struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type); 50 int __parse_expect_message_type(const struct nlmsghdr *nlh); 51 void __parse_expect(const struct nlmsghdr *nlh, struct nfattr *cda[], struct nf_expect *exp); 52 int __expect_callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data);
|
/external/iproute2/devlink/ |
devlink.c | 98 const struct nlmsghdr *nlh, 103 err = mnlg_socket_send(nlg, nlh); 356 static int ifname_map_cb(const struct nlmsghdr *nlh, void *data) 359 struct genlmsghdr *genl = mnl_nlmsg_get_payload(nlh); 367 mnl_attr_parse(nlh, sizeof(*genl), attr_cb, tb); 401 struct nlmsghdr *nlh; local 406 nlh = mnlg_msg_prepare(dl->nlg, DEVLINK_CMD_PORT_GET, 409 err = _mnlg_socket_sndrcv(dl->nlg, nlh, ifname_map_cb, dl); 1036 static void dl_opts_put(struct nlmsghdr *nlh, struct dl *dl) 1041 mnl_attr_put_strz(nlh, DEVLINK_ATTR_BUS_NAME, opts->bus_name) 1496 struct nlmsghdr *nlh; local 1514 struct nlmsghdr *nlh; local 1567 struct nlmsghdr *nlh; local 1670 struct nlmsghdr *nlh; local 1693 struct nlmsghdr *nlh; local 1708 struct nlmsghdr *nlh; local 1723 struct nlmsghdr *nlh; local 1817 struct nlmsghdr *nlh; local 1890 struct nlmsghdr *nlh; local 1914 struct nlmsghdr *nlh; local 1974 struct nlmsghdr *nlh; local 1999 struct nlmsghdr *nlh; local 2077 struct nlmsghdr *nlh; local 2101 struct nlmsghdr *nlh; local 2419 struct nlmsghdr *nlh; local 2457 struct nlmsghdr *nlh; local 2472 struct nlmsghdr *nlh; local 3024 struct nlmsghdr *nlh; local 3325 struct nlmsghdr *nlh; local 3361 struct nlmsghdr *nlh; local 3722 struct nlmsghdr *nlh; local [all...] |
/external/libnl/include/netlink/ |
msg.h | 119 * @arg nlh netlink message header 123 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ 124 nla_for_each_attr(pos, nlmsg_attrdata(nlh, hdrlen), \ 125 nlmsg_attrlen(nlh, hdrlen), rem)
|