Lines Matching refs:llap
66 struct lifreq *llap) in spoof_get_lla() argument
74 bzero(llap, sizeof (*llap)); in spoof_get_lla()
82 (void) strlcpy(llap->lifr_name, iface, LIFNAMSIZ); in spoof_get_lla()
83 bcopy(&addrp->lifr_addr, &llap->lifr_nd.lnr_addr, in spoof_get_lla()
86 if (ioctl(s, SIOCLIFGETND, llap) < 0) { in spoof_get_lla()
95 spoof_prepare_lla(struct nd_opt_lla *llap, struct lif_nd_req *nce, in spoof_prepare_lla() argument
100 bzero(llap, sizeof (*llap)); in spoof_prepare_lla()
101 llap->nd_opt_lla_type = ND_OPT_SOURCE_LINKADDR; in spoof_prepare_lla()
104 llap->nd_opt_lla_len = optlen / 8; in spoof_prepare_lla()
106 &llap->nd_opt_lla_hdw_addr, nce->lnr_hdw_len); in spoof_prepare_lla()
108 iov->iov_base = (caddr_t)llap; in spoof_prepare_lla()