NDCBK - 32-bit CP - V4R4.0
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.

NDCBK

Prolog  

Control Block Contents  
   NDCBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


NDCBK Prolog

 NAME       : HCPNDCBK
 DESCRIPTION: Virtual Network Interface Card block
 DSECT      : NDCBK
 FUNCTION   :
              Define a structure to represent a work area used
              for processing a DEFINE NIC or DETACH NIC command.
              A new NDCBK is allocated for each command.
 LOCATED BY -
   Local pointer for the duration of command processing
 CREATED BY :
              CP DEFINE NIC command processing (module HCPNIC)
              CP DETACH NIC command processing (module HCPNIC)
 DELETED BY :
              CP DEFINE NIC command processing (module HCPNIC)
              CP DETACH NIC command processing (module HCPNIC)
 REFERENCES :
              HCPDVTYP COPY - Specific device types
              HCPEQUAT COPY - General CP equates

 

NDCBK Control Block Content


NDCBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      NDCBK          Virtual Network Interface Card
                                        block
0000    0 Bitstring    1 NDCDVTYP       Adapter device type
0001    1 Bitstring    1 NDCOPT         Command processing options
0002    2 Bitstring    2 *              Reserved
0004    4 Signed       4 NDCBASE        Base virtual device number
0008    8 Signed       4 NDCDEVS        Number of associated devices
000C   12 Bitstring    1 NDCCHPID       Designated CHPID number
000D   13 Bitstring    3 NDCMACID       Preferred MAC Address suffix
0010   16 Bitstring   16 NDCLANID (0)   Preferred LAN ID
0010   16 Bitstring    8 NDCLANUS       Preferred LAN Owner
0018   24 Bitstring    8 NDCLANNM       Preferred LAN Name
          00000020       NDC$END        * End of NDCBK
          00000020       NDCBKLN        *-NDCBK Size of NDCBK in bytes
          00000004       NDCBKSZ        (*-NDCBK+7)/8 Size of NDCBK in
                                        doublewords

 

NDCBK Storage Layout

          
*** NDCBK - Virtual Network Interface Card block
*
*     +------+------+-------------+---------------------------+
*   0 |:DVTYP|NDCOPT|/////////////|         NDCBASE           |
*     +------+------+-------------+------+--------------------+
*   8 |         NDCDEVS           |:CHPID|     NDCMACID       |
*     +---------------------------+------+--------------------+
*  10 |                       NDCLANUS                        |
*     +-------------------------------------------------------+
*  18 |                       NDCLANNM                        |
*     +-------------------------------------------------------+
*  20
*
*** NDCBK - Virtual Network Interface Card block

 

NDCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
NDC$END        0018 00000020
NDCBASE        0004
NDCBKLN        0018 00000020
NDCBKSZ        0018 00000004
NDCCHPID       000C
NDCDEVS        0008
NDCDVTYP       0000
NDCLANID       0010
NDCLANNM       0018
NDCLANUS       0010
NDCMACID       000D
NDCOPT         0001

This information is based on z/VM V4R4.0. Last updated on 29 Jul 2003 at 15:53:24 EDT.
Copyright IBM Corporation, 1990, 2003