Lines Matching refs:bcopy
62 bcopy((char *)buf, s + sizeof(*eh), len); in send_ether()
65 bcopy(last_arp, (char *) &eh->ether_dhost, 6); in send_ether()
107 bcopy(last_arp, (char *) &eh->ether_dhost, 6); in send_ip()
114 bcopy((char *) &eh->ether_dhost, last_arp, sizeof(last_arp)); in send_ip()
117 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); in send_ip()
132 bcopy(local_arp, (char *) &eh->ether_shost,sizeof(last_arp)); in send_ip()
135 bcopy(local_arp, (char *) &eh->ether_shost, 6); in send_ip()
142 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
178 bcopy(s, optcpy + i, olen); in send_ip()
194 bcopy((char *)eh, (char *)ð, sizeof(eth)); in send_ip()
214 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip()
215 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip()
218 bcopy((char *)ð, ipbuf, sizeof(eth)); in send_ip()
226 bcopy(optcpy, (char *)(ip + 1), i); in send_ip()
231 bcopy((char *)&ipsv, (char *)ip, sizeof(*ip)); in send_ip()
261 bcopy((char *)ip + hlen, (char *)t2, thlen); in send_tcp()
272 bcopy((char *)ip + hlen + thlen, (char *)ip + hlen + thlen + 4, in send_tcp()
282 bcopy((char *)t2, (char *)ip + hlen, thlen); in send_tcp()
303 bcopy((char *)ip + (IP_HL(ip) << 2), in send_udp()
311 bcopy((char *)&ti->ti_sport, in send_udp()