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

#### SWPBK

Prolog

Control Block Contents
SWPBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### SWPBK Prolog

     NAME       : HCPSWPBK
     DESCRIPTION: VSWITCH Port Group Block
     DSECT      : SWPBK
     FUNCTION   :
                  Define a structure to represent a Virtual Switch
                  Port Group to be used for Link Aggregation.
     LOCATED BY -
       LANSPBLK - The LAN Block
     CREATED BY :
                  CP SET PORT GROUP command
     DELETED BY :
                  CP SET PORT GROUP command
     REFERENCES :
                  None

#### SWPBK Control Block Content

#### SWPBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SWPBK          VSWITCH Port Group Block
    0000    0 Address      4 SWPFPNT        Pointer to Next SWPBK
    0004    4 Address      4 SWPBPNT        Pointer to Previous SWPBK
    0008    8 Character    8 SWPGROUP       Groupname
    0010   16 Dbl-Word     8 * (3)          Reserved
    0028   40 Address      4 SWPLANBK       HL@ of associated LANBK
    002C   44 Bitstring    1 SWPFLAGS       SWPBK Flags
              1... ....      SWPLACP        X'80' SWPLACP - LACP Active
    002D   45 Bitstring    1 *              Reserved
    002E   46 Signed       2 SWPINTVL       Number of 30 second intervals
                                            between load balancing
                                            operations.
    0030   48 Signed       2 SWPINTSC       Number of seconds between load
                                            balancing operations (rounded to
                                            next higher multiple of 30
                                            seconds)
    0032   50 Signed       2 SWPRDDCT       Number of LANRDD entries
    0034   52 Address      4 SWPRRDEV       Chain of LANRDD Descriptors
          End of the SWPBK.
              00000038       SWP$END        * End of the SWPBK
              00000038       SWPBKLN        *-SWPBK Length of SWPBK in bytes
              00000007       SWPBKSZ        (*-SWPBK+7)/8 Size of SWPBK in
                                            doublewords

#### SWPBK Storage Layout

    *** SWPBK - VSWITCH Port Group Block
    *
    *     +---------------------------+---------------------------+
    *   0 |         SWPFPNT           |         SWPBPNT           |
    *     +---------------------------+---------------------------+
    *   8 |                       SWPGROUP                        |
    *     +-------------------------------------------------------+
    *  10 |///////////////////////////////////////////////////////|
    *     =///////////////////////////////////////////////////////=
    *     |///////////////////////////////////////////////////////|
    *     +---------------------------+------+------+-------------+
    *  28 |         SWPLANBK          |:FLAGS|//////|  SWPINTVL   |
    *     +-------------+-------------+------+------+-------------+
    *  30 |  SWPINTSC   |  SWPRDDCT   |         SWPRRDEV          |
    *     +-------------+-------------+---------------------------+
    *  38
    *
    *** SWPBK - VSWITCH Port Group Block

#### SWPBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    SWP$END        0034 00000038
    SWPBKLN        0034 00000038
    SWPBKSZ        0034 00000007
    SWPBPNT        0004
    SWPFLAGS       002C
    SWPFPNT        0000
    SWPGROUP       0008
    SWPINTSC       0030
    SWPINTVL       002E
    SWPLACP        002C 80
    SWPLANBK       0028
    SWPRDDCT       0032
    SWPRRDEV       0034

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