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, DETACH NIC or SET NIC
              or QUERY 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)
              CP SET    NIC command processing (module HCPNIC)
              CP QUERY  NIC command processing (module HCPNIC)
 DELETED BY :
              CP DEFINE NIC command processing (module HCPNIC)
              CP DETACH NIC command processing (module HCPNIC)
              CP SET    NIC command processing (module HCPNIC)
              CP QUERY  NIC command processing (module HCPNIC)
 RELOCATION CONSIDERATIONS : None
 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    1 NDCOPT1        Command processing options
0003    3 Bitstring    1 NDCOPT2        Command processing options
          1... ....      NDCXMPUN       X'80' NDCXMPUN - MACProtect
                                        UNSPECififed
          .1.. ....      NDCXMPOF       X'40' NDCXMPOF - MACProtect OFF
          ..1. ....      NDCXMPON       X'20' NDCXMPON - MACProtect ON
0004    4 Signed       4 NDCBASE        Base virtual device number (Data
                                        device vdev for SET NIC)
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
0020   32 Bitstring    8 NDCUSER        Userid for SET | QUERY NIC MACID
          00000028       NDC$END        * End of NDCBK
          00000028       NDCBKLN        *-NDCBK Size of NDCBK in bytes
          00000005       NDCBKSZ        (*-NDCBK+7)/8 Size of NDCBK in
                                        doublewords

 

NDCBK Storage Layout

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

 

NDCBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
NDC$END        0020 00000028
NDCBASE        0004
NDCBKLN        0020 00000028
NDCBKSZ        0020 00000005
NDCCHPID       000C
NDCDEVS        0008
NDCDVTYP       0000
NDCLANID       0010
NDCLANNM       0018
NDCLANUS       0010
NDCMACID       000D
NDCOPT         0001
NDCOPT1        0002
NDCOPT2        0003
NDCUSER        0020
NDCXMPOF       0003 40
NDCXMPON       0003 20
NDCXMPUN       0003 80

This information is based on z/VM V6R2.0. Last updated on 21 Nov 2011 at 11:11:26 EDT.
Copyright IBM Corporation, 1990, 2011