Searched refs:dlpi_hd (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | pcap-libdlpi.c | 122 pd->dlpi_hd = dh; in pcap_activate_libdlpi() 134 if ((retv = dlpi_bind(pd->dlpi_hd, DLPI_ANY_SAP, 0)) != DLPI_SUCCESS) { in pcap_activate_libdlpi() 188 if ((retv = dlpi_info(pd->dlpi_hd, &dlinfo, 0)) != DLPI_SUCCESS) { in pcap_activate_libdlpi() 199 p->fd = dlpi_fd(pd->dlpi_hd); in pcap_activate_libdlpi() 254 retv = dlpi_promiscon(pd->dlpi_hd, level); in dlpromiscon() 359 retv = dlpi_recv(pd->dlpi_hd, NULL, NULL, bufp, in pcap_read_libdlpi() 371 pcap_libdlpi_err(dlpi_linkname(pd->dlpi_hd), in pcap_read_libdlpi() 388 retv = dlpi_send(pd->dlpi_hd, NULL, 0, buf, size, NULL); in pcap_inject_libdlpi() 390 pcap_libdlpi_err(dlpi_linkname(pd->dlpi_hd), "dlpi_send", retv, in pcap_inject_libdlpi() 410 if (pd->dlpi_hd != NULL) { in pcap_cleanup_libdlpi() [all …]
|
D | dlpisubs.h | 13 dlpi_handle_t dlpi_hd; member
|