dlpi_walk - traverse DLPI links
cc [ flag... ] file... -ldlpi [ library... ] #include <libdlpi.h> void dlpi_walk(dlpi_walkfunc_t * fn, void * arg, uint_t flags);
typedef boolean_t dlpi_walkfunc_t( const char *name, void * arg);
Function to invoke for each link. Arguments are:
The name of the DLPI interface.
The arg parameter passed in to dlpi_walk().
An opaque argument that is passed transparently to the user-supplied fn() function.
DLPI_ALLZONES
Include non-global zone DLPI links in the walk (global zone only).
The dlpi_walk() function visits all DLPI links. The walk terminates either when all links have been visited or when fn() returns B_TRUE.
See attributes(7) for descriptions of the following attributes:
|