Kernel Functions for Drivers netzoneidtonetid(9F)
NAME
netzoneidtonetid - map a zoneidt struture identifier to a
netidt structure
SYNOPSIS
#include
netidt netzoneidtonetid(const zoneidt zone);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
zone valid zoneidt structure that refers to a running
zone.
DESCRIPTION
The netzoneidtonetid() function maps the given zoneidt
structure (used to represent a zone that is currently run-
ning) into a netidt structure that is associated with the
IP instance supporting network functions for that zone.
RETURN VALUES
The netzoneidtonetid() function returns -1 if no mapping
took place. Otherwise, it returns the netidt structure
currently used by the zoneidt structure. For zones that are
using a shared IP instance, the netidt structure for the
instance owned by the global zone is returned.
CONTEXT
The netzoneidtonetid() function may be called from user,
kernel, or interrupt context.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 1 May 2008 1
Kernel Functions for Drivers netzoneidtonetid(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
netnetidtozonid(9F), attributes(5)
SunOS 5.11 Last change: 1 May 2008 2
|