Lines Matching refs:send_fd
270 if (pd->send_fd < 0) { in pcap_inject_dlpi()
275 ret = dlrawdatareq(pd->send_fd, buf, size); in pcap_inject_dlpi()
339 if (pd->send_fd >= 0) { in pcap_cleanup_dlpi()
340 close(pd->send_fd); in pcap_cleanup_dlpi()
341 pd->send_fd = -1; in pcap_cleanup_dlpi()
537 pd->send_fd = open("/dev/dlpi", O_RDWR);
560 if (pd->send_fd >= 0) {
561 retv = dl_doattach(pd->send_fd, ppa, p->errbuf);
624 if (pd->send_fd >= 0) {
630 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
750 if (pd->send_fd >= 0) {
756 if (dl_dohpuxbind(pd->send_fd, p->errbuf) < 0) {
1895 pd->send_fd = -1; /* it hasn't been opened yet */