svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
net_getnetid(9f)
net_getnetid(9F) Kernel Functions net_getnetid(9F)
NAME
net_getnetid - returns the instance identifier
SYNOPSIS
#include <sys/neti.h>
netid_t net_getnetid(const net_data_t net);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
net value returned from a successful call to net_proto‐
col_lookup(9F).
DESCRIPTION
The net_getnetid() function returns the instance identifier for the
protocol instance returned via a call to net_protocol_lookup(9F).
RETURN VALUES
The net_getnetid() function returns the value of the instance identi‐
fier.
CONTEXT
The net_getnetid() function may be called from user, kernel, or inter‐
rupt context.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommit‐
ted
SEE ALSO
net_protocol_lookup(9F)
Oracle Solaris 11.4 1 May 2008 net_getnetid(9F)