Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### VNABK

Prolog

Control Block Contents
VNABK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### VNABK Prolog

     NAME       : HCPVNABK
     DESCRIPTION: Virtual Network Authorization Block
     DSECT      : VNABK
     FUNCTION   :
                  Define a structure to represent a Virtual Network
                  Authorization to a restricted Guest Lan or Vswitch.
     LOCATED BY -
       LANACLHD - The LAN Block
     CREATED BY :
                  CP DEFINE LAN command
                  CP SET    LAN command
                  CP SET VSWITCH command
     DELETED BY :
                  CP DETACH LAN processing
                  CP DETACH VSWITCH processing
     REFERENCES :
                  HCPEQUAT COPY - General CP equates

#### VNABK Control Block Content

#### VNABK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      VNABK          Virtual Network Authorization Block
    0000    0 Address      4 VNAFPNT        Pointer to Next VNABK
    0004    4 Address      4 VNABPNT        Pointer to Previous VNABK
    0008    8 Bitstring    1 VNAVPORT       Port type attribute
    0009    9 Bitstring    1 VNAFLAGS       VNABK Flags
              1... ....      VNAPAUT        X'80' VNAPAUT - Promiscuous Mode
                                            Authority
    000A   10 Signed       2 VNANVLN        Number of authorized vlans
    000C   12 Character    8 VNAUSER        USERID
    0014   20 Address      4 VNAVLANS       Ptr to DVLHEAD (Authorized VIDs)
    0018   24 Bitstring    4 *              Reserved
          End of the VHABK.
    001C   28 Bitstring    1 VNA$END (0)    End of the VNABK
              0000001C       VNABKLN        *-VNABK Length of VNABK in bytes
              00000004       VNABKSZ        (*-VNABK+7)/8 Size of VNABK in
                                            doublewords

#### VNABK Storage Layout

    *** VNABK - Virtual Network Authorization Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         VNAFPNT           |         VNABPNT           |
    *     +------+------+-------------+---------------------------+
    *   8 |:VPORT|:FLAGS|  VNANVLN    |         VNAUSER-          |
    *     +------+------+-------------+---------------------------+
    *  10 |          -(00C)           |         VNAVLANS          |
    *     +---------------------------+---------------------------+
    *  18 |///////////////////////////|
    *     +---------------------------+
    *
    *** VNABK - Virtual Network Authorization Block

#### VNABK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    VNA$END        001C
    VNABKLN        001C 0000001C
    VNABKSZ        001C 00000004
    VNABPNT        0004
    VNAFLAGS       0009
    VNAFPNT        0000
    VNANVLN        000A
    VNAPAUT        0009 80
    VNAUSER        000C
    VNAVLANS       0014
    VNAVPORT       0008

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 09:23:33 EDT.
Copyright IBM Corporation, 1990, 2008