dlpi_iftype - convert a DLPI MAC type to a BSD socket interface type
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> uint_t dlpi_iftype(uint_t dlpitype);
The dlpi_iftype() function converts a DLPI MAC type to a BSD socket interface type defined in <net/if_types.h>.
Upon success, the corresponding BSD socket interface type is returned. Otherwise, zero is returned.
See attributes(5) for description of the following attributes:
|
libdlpi(3LIB), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |