Searched refs:saddrlenp (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c754 dlpi_recv(dlpi_handle_t dh, void *saddrp, size_t *saddrlenp, void *msgbuf, argument
791 * 'saddrp' and source length in 'saddrlenp', else set saddrlenp to 0.
793 if (saddrp != NULL && saddrlenp != NULL) {
794 if (*saddrlenp < DLPI_PHYSADDR_MAX)
805 *saddrlenp = datalen - dip->dli_saplen;
806 if (*saddrlenp > DLPI_PHYSADDR_MAX)
811 (void) memcpy(saddrp, datap, *saddrlenp);
813 *saddrlenp = 0;

Completed in 19 milliseconds