/system/core/libnl_2/ |
attr.c | 26 char *nla_get_string(struct nlattr *nla) 28 return (char *) nla_data(nla); 32 uint16_t nla_get_u16(struct nlattr *nla) 34 return *((uint16_t *) nla_data(nla)); 38 uint32_t nla_get_u32(struct nlattr *nla) 40 return *((uint32_t *) nla_data(nla)); 44 uint8_t nla_get_u8(struct nlattr *nla) 46 return *((uint8_t *) nla_data(nla)); 50 uint64_t nla_get_u64(struct nlattr *nla) 53 nla_memcpy(&tmp, nla, sizeof(tmp)) 153 struct nlattr *nla; local 192 struct nlattr *nla; local [all...] |
netlink.c | 53 * *nla. The caller is responsible for freeing the buffer allocated in 57 int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla, \ 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/ |
genl.c | 37 struct nlattr *nla; local 40 nla = genlmsg_attrdata(gnlh, hdrlen); 42 return (char *) nlmsg_tail(nlh) - (char *) nla; 175 struct nlattr *nla; local 212 nla_for_each_attr(nla, 218 if (nla->nla_type == CTRL_ATTR_FAMILY_NAME && 219 !strcmp((char *)nla_data(nla), 225 nla->nla_type == CTRL_ATTR_FAMILY_ID) { 227 *((int *)nla_data(nla));
|
/external/libnl-headers/netlink/ |
attr.h | 269 * @arg nla attribute containing the nested attributes 272 #define nla_for_each_nested(pos, nla, rem) \ 273 for (pos = nla_data(nla), rem = nla_len(nla); \
|
handlers.h | 46 * @arg nla netlink address of the peer 50 typedef int (*nl_recvmsg_err_cb_t)(struct sockaddr_nl *nla,
|
/external/tcpdump/ |
print-pgm.c | 157 const void *nla; local 270 nla = bp; 273 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); 274 (void)printf("SPM seq %u trail %u lead %u nla %s", 317 nla = bp; 320 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); 334 (void)printf("POLR seq %u round %u nla %s ivl %u rnd 0x%08x " 625 nla = bp; 628 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); 629 (void)printf(" REDIRECT %s", (char *)nla); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_nl80211.c | 111 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211.c | 270 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, [all...] |