/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 214 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 | 40 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));
|
/external/android-clat/ |
netlink_callbacks.c | 38 * nla - error source 42 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) {
|
getaddr.c | 84 * nla - source of the error message 88 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) {
|
getroute.c | 89 * nla - where the message came from 93 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) {
|
/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 | 48 * @arg nla netlink address of the peer 52 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...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_nl80211.c | 38 static int dhd_nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg)
|
/hardware/ti/wlan/mac80211/ti-utils/ |
calibrator.c | 253 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
driver_mac80211.c | [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211.c | 537 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, [all...] |