Lines Matching refs:bcopy
61 bcopy((char *)buf, s + sizeof(*eh), len); in send_ether()
64 bcopy(last_arp, (char *) &eh->ether_dhost, 6); in send_ether()
106 bcopy(last_arp, (char *) &eh->ether_dhost, 6); in send_ip()
113 bcopy((char *) &eh->ether_dhost, last_arp, sizeof(last_arp)); in send_ip()
116 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); in send_ip()
131 bcopy(local_arp, (char *) &eh->ether_shost,sizeof(last_arp)); in send_ip()
134 bcopy(local_arp, (char *) &eh->ether_shost, 6); in send_ip()
141 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
177 bcopy(s, optcpy + i, olen); in send_ip()
193 bcopy((char *)eh, (char *)ð, sizeof(eth)); in send_ip()
213 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip()
214 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip()
217 bcopy((char *)ð, ipbuf, sizeof(eth)); in send_ip()
225 bcopy(optcpy, (char *)(ip + 1), i); in send_ip()
230 bcopy((char *)&ipsv, (char *)ip, sizeof(*ip)); in send_ip()
260 bcopy((char *)ip + hlen, (char *)t2, thlen); in send_tcp()
271 bcopy((char *)ip + hlen + thlen, (char *)ip + hlen + thlen + 4, in send_tcp()
281 bcopy((char *)t2, (char *)ip + hlen, thlen); in send_tcp()
302 bcopy((char *)ip + (IP_HL(ip) << 2), in send_udp()
310 bcopy((char *)&ti->ti_sport, in send_udp()