Searched refs:nla (Results 1 - 3 of 3) sorted by relevance

/system/core/libnl_2/
H A Dattr.c26 char *nla_get_string(struct nlattr *nla) argument
28 return (char *) nla_data(nla);
32 uint16_t nla_get_u16(struct nlattr *nla) argument
34 return *((uint16_t *) nla_data(nla));
38 uint32_t nla_get_u32(struct nlattr *nla) argument
40 return *((uint32_t *) nla_data(nla));
44 uint8_t nla_get_u8(struct nlattr *nla) argument
46 return *((uint8_t *) nla_data(nla));
50 uint64_t nla_get_u64(struct nlattr *nla) argument
53 nla_memcpy(&tmp, nla, sizeo
58 nla_data(const struct nlattr *nla) argument
64 nla_len(const struct nlattr *nla) argument
97 nla_next(const struct nlattr *nla, int *remaining) argument
112 nla_ok(const struct nlattr *nla, int remaining) argument
143 nla_parse_nested(struct nlattr *tb[], int maxtype, struct nlattr *nla, struct nla_policy *policy) argument
153 struct nlattr *nla; local
204 nla_type(const struct nlattr *nla) argument
214 struct nlattr *nla; local
[all...]
H A Dnetlink.c53 * *nla. The caller is responsible for freeing the buffer allocated in
57 int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla, \ argument
107 struct sockaddr_nl nla; local
120 rc = nl_recv(sk, &nla, &buf, &creds);
147 cb_rc = cb->cb_err(&nla, nlme, cb->cb_err_arg);
/system/core/libnl_2/genl/
H A Dgenl.c40 struct nlattr *nla; local
43 nla = genlmsg_attrdata(gnlh, hdrlen);
45 return (char *) nlmsg_tail(nlh) - (char *) nla;
178 struct nlattr *nla; local
215 nla_for_each_attr(nla,
221 if (nla->nla_type == CTRL_ATTR_FAMILY_NAME &&
222 !strcmp((char *)nla_data(nla),
228 nla->nla_type == CTRL_ATTR_FAMILY_ID) {
230 *((int *)nla_data(nla));

Completed in 51 milliseconds