Lines Matching refs:ipbuf
31 static char *ipbuf = NULL, *ethbuf = NULL; variable
92 if (!ipbuf) in send_ip()
94 ipbuf = (char *)malloc(65536); in send_ip()
95 if (!ipbuf) in send_ip()
102 eh = (ether_header_t *)ipbuf; in send_ip()
142 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
143 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); 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()
216 err = sendip(nfd, ipbuf, sizeof(*eh) + ts); in send_ip()
218 bcopy((char *)ð, ipbuf, sizeof(eth)); in send_ip()