Lines Matching refs:bcopy
236 bcopy(src, eh_p->ether_shost, ETHER_ADDR_LEN); in ethernet_udp4_frame_populate()
237 bcopy(dst, eh_p->ether_dhost, ETHER_ADDR_LEN); in ethernet_udp4_frame_populate()
241 bcopy(data, payload, data_len); in ethernet_udp4_frame_populate()
244 bcopy(&src_ip, &udp_pseudo->src_ip, sizeof(src_ip)); in ethernet_udp4_frame_populate()
245 bcopy(&dst_ip, &udp_pseudo->dst_ip, sizeof(dst_ip)); in ethernet_udp4_frame_populate()
264 bcopy(&src_ip, &ip_udp->ip.ip_src, sizeof(src_ip)); in ethernet_udp4_frame_populate()
265 bcopy(&dst_ip, &ip_udp->ip.ip_dst, sizeof(dst_ip)); in ethernet_udp4_frame_populate()
305 bcopy(src, eh_p->ether_shost, ETHER_ADDR_LEN); in ethernet_udp6_frame_populate()
306 bcopy(dst, eh_p->ether_dhost, ETHER_ADDR_LEN); in ethernet_udp6_frame_populate()
310 bcopy(data, payload, data_len); in ethernet_udp6_frame_populate()
313 bcopy(src_ip, &udp6_pseudo->src_ip, sizeof(*src_ip)); in ethernet_udp6_frame_populate()
314 bcopy(dst_ip, &udp6_pseudo->dst_ip, sizeof(*dst_ip)); in ethernet_udp6_frame_populate()
331 bcopy(src_ip, &ip6_udp->ip6.ip6_src, sizeof(*src_ip)); in ethernet_udp6_frame_populate()
332 bcopy(dst_ip, &ip6_udp->ip6.ip6_dst, sizeof(*dst_ip)); in ethernet_udp6_frame_populate()
356 bcopy(ifr.ifr_addr.sa_data, eaddr->octet, ETHER_ADDR_LEN); in ifnet_get_lladdr()
372 bcopy(eaddr->octet, ifr.ifr_addr.sa_data, ETHER_ADDR_LEN); in ifnet_set_lladdr()
618 bcopy(eaddr->octet, dhcp->bp_chaddr, sizeof(eaddr->octet)); in make_dhcp_payload()
901 bcopy(&sin, cp, sin.sin_len); in has_ipv4_default_route()
946 bcopy(&sin6, cp, sin6.sin6_len); in has_ipv6_default_route()