Kernel functions net_register(9F) NAME net_register - make the kernel aware of a new network layer protocol SYNOPSIS #include net_data_t *net_register(const net_info_t *info, zoneid_t zoneid); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS netinfo value returned from a successful call to net_lookup. zoneid The zoneid that corresponds to the IP Instance with which to register. Valid values are GLOBAL_ZONEID for the shared IP instance, and the zoneid for an exclusive-IP zone. DESCRIPTION This function attempts to add a data block describing the functionality that a network protocol is willing to export. This function will only succeed once for each call with a given network family (neti_version field of the net_info_t structure). RETURN VALUES This function will return a NULL if the call fails or else returns a token value to be passed back into net_release and other functions in this framework. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Unstable | |_____________________________|_____________________________| SEE ALSO net_deregister(9f) SunOS 5.10 Last change: DD Month 2005 1