[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2


definet Method

Purpose

Defines an inet instance in the system configuration database.

Syntax

definet-c Class ]

Description

The definet method creates an object in the ODM configuration database specifying the customized attributes of the inet instance. It performs the following operations:

  1. Creates a customized inet instance.
  2. Sets the status flag of the inet instance to defined.

This method is called by the mkdev high-level command and is not meant to be issued on the command line.

Note: The definet method is a programming tool and should not be executed from the command line.

Flags


-c Class Specifies the inet instance to be defined. The only valid value for the Class variable is tcpip.

Examples

To define the inet0 instance, issue the following method:

definet 

Related Information

The mkdev command.

The odm_run_method subroutine.

Object Data Manager (ODM) Overview for Programmers in General Programming Concepts.

Writing a Device Method in Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]