Lines Matching defs:target
127 void *target)
152 ptr = (void *)((char *)target + s->off);
208 void *target)
216 *((uint8_t *)target) = 1;
275 void *target)
281 *((struct sockaddr **)target) = sa;
320 void *target)
326 *((struct sockaddr **)target) = sa;
332 void *target)
339 *((bool *)target) = *((const bool *)NL_RTA_DATA_CONST(nla));
345 void *target)
352 *((uint8_t *)target) = *((const uint8_t *)NL_RTA_DATA_CONST(nla));
358 void *target)
365 *((uint16_t *)target) = *((const uint16_t *)NL_RTA_DATA_CONST(nla));
371 void *target)
378 *((uint32_t *)target) = *((const uint32_t *)NL_RTA_DATA_CONST(nla));
384 void *target)
391 memcpy(target, NL_RTA_DATA_CONST(nla), sizeof(uint64_t));
397 void *target)
405 memcpy(target, NLA_DATA_CONST(nla), sizeof(in_addr_t));
411 void *target)
419 memcpy(target, NLA_DATA_CONST(nla), sizeof(struct in6_addr));
425 void *target, bool zero_ok)
438 *((struct ifnet **)target) = NULL;
450 *((struct ifnet **)target) = ifp;
459 void *target)
461 return (nlattr_get_ifp_internal(nla, npt, target, false));
466 void *target)
468 return (nlattr_get_ifp_internal(nla, npt, target, true));
473 void *target)
487 strncpy((char *)target, (char *)NLA_DATA(nla), target_size);
493 void *target)
504 *((char **)target) = (char *)NLA_DATA(nla);
510 void *target)
520 *((char **)target) = buf;
526 void *target)
533 memcpy(target, NLA_DATA(nla), size);
540 void *target)
543 *((struct nlattr **)target) = nla;
549 void *target)
553 /* Assumes target points to the beginning of the structure. */
555 target));
560 const void *arg, void *target)
564 /* Assumes target points to the beginning of the structure. */
566 *(void **)target));
570 nlf_get_ifp(void *src, struct nl_pstate *npt, void *target)
583 *((struct ifnet **)target) = ifp;
589 nlf_get_ifpz(void *src, struct nl_pstate *npt, void *target)
602 *((struct ifnet **)target) = ifp;
608 nlf_get_u8(void *src, struct nl_pstate *npt, void *target)
612 *((uint8_t *)target) = val;
618 nlf_get_u8_u32(void *src, struct nl_pstate *npt, void *target)
620 *((uint32_t *)target) = *((const uint8_t *)src);
625 nlf_get_u16(void *src, struct nl_pstate *npt, void *target)
627 *((uint16_t *)target) = *((const uint16_t *)src);
632 nlf_get_u32(void *src, struct nl_pstate *npt, void *target)
634 *((uint32_t *)target) = *((const uint32_t *)src);