Lines Matching refs:ipbuf
26 static char *ipbuf = NULL, *ethbuf = NULL; variable
87 if (!ipbuf) in send_ip()
89 ipbuf = (char *)malloc(65536); in send_ip()
90 if (!ipbuf) in send_ip()
97 eh = (ether_header_t *)ipbuf; in send_ip()
137 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); in send_ip()
138 err = sendip(nfd, ipbuf, sizeof(*eh) + iplen); in send_ip()
209 bcopy((char *)ip, ipbuf + sizeof(*eh), hlen); in send_ip()
210 bcopy(s + sent, ipbuf + sizeof(*eh) + hlen, ts - hlen); in send_ip()
211 err = sendip(nfd, ipbuf, sizeof(*eh) + ts); in send_ip()
213 bcopy((char *)ð, ipbuf, sizeof(eth)); in send_ip()