Kernel Functions for Drivers netgetnetid(9F)
NAME
netgetnetid - returns the instance identifier
SYNOPSIS
#include
netidt netgetnetid(const netdatat net);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
net value returned from a successful call to
netprotocollookup(9F).
DESCRIPTION
The netgetnetid() function returns the instance identifier
for the protocol instance returned via a call to
netprotocollookup(9F).
RETURN VALUES
The netgetnetid() function returns the value of the
instance identifier.
CONTEXT
The netgetnetid() function may be called from user, ker-
nel, or interrupt context.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
netprotocollookup(9F)
SunOS 5.11 Last change: 1 May 2008 1
|