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

SWIBK

Prolog  

Control Block Contents  
   SWIBK DSECT

Storage Layout  

Cross Reference (Contains links to field and bit definitions)  


SWIBK Prolog

 NAME       : HCPSWIBK
 DESCRIPTION: DSECTS and EQUATES for z/VM Virtual Switch
              functions.
 DSECT      : SWIBK
 FUNCTION   : z/VM Virtual Switch Eligible Controller Table
 LOCATED BY : SWUECTPT (data area in HCPSWU)
 CREATED BY : HCPSWIAC when a z/VM TCP/IP stack connects to
              the *VSWITCH CP System Service.
 DELETED BY : An entry may be cleared by HCPSWRSV. The table
              itself is usually not deleted. However, when
              a table becomes full, the AddEntry subroutine
              in HCPSWI can allocate a new, larger table,
              copy over the existing one, and then delete it.
 REFERENCES : None.
 SERIALIZED : Switch Eligible Controller Table Lock,
              (SLMSWLCK).
 NOTES      : None.
 NOTES      : None.

 

SWIBK Control Block Content


SWIBK DSECT

Hex   Dec Type/Val   Lng Label (dup)    Comments
---- ---- --------- ---- -------------- --------
0000    0 Structure      SWIBK          DSECTS and EQUATES for z/VM
                                        Virtual Switch
0000    0 Character    8 SWIEUSER       Switch participant user ID
0008    8 Signed       4 SWIEVMDBK      VMDBK address for controller
000C   12 Signed       2 SWIEPATH       IUCV Path ID
000E   14 Address      1 SWIEAVAIL      Ready flag
000F   15 Bitstring    1 SWIEFLAG       Controller flags
          1... ....      SWIETASK       X'80' SWIETASK - Timestamp task
                                        active USED FOR FIRST ENTRY ONLY
          .1.. ....      SWIECONTRLR    X'40' SWIECONTRLR - Received
                                        ControllerStatus update
          ..1. ....      SWIEMANAGER    X'20' SWIEMANAGER - Received
                                        ManagementID message X'10' -
                                        Reserved X'08' - Reserved X'04' -
                                        Reserved
          .... ..1.      SWIEFAILOVER   X'02' SWIEFAILOVER - Perform
                                        timeout chk for failover
          .... ...1      SWIESTALLED    X'01' SWIESTALLED - Controller is
                                        unresponsive
0010   16 Signed       4 SWIECOUNT      Count of active switches
0014   20 Signed       4 SWIEVDEVS      Start of VDEV range
0018   24 Signed       4 SWIEVDEVE      End of VDEV range
001C   28 Signed       4 SWIECAPAB      Controller Capabilities
          .... ....      SWIEStTransportIP
                                        X'80000000' SWIEStTransportIP
                                        (V4R4.0
          .... ....      SWIEStTransportL2
                                        X'40000000' SWIEStTransportL2
                                        (V5R1.0
          .... ....      SWIEStReleaseLevelInfo
                                        X'20000000'
                                        SWIEStReleaseLevelInfo (V
          .... ....      SWIEStSend_Grat_Arp
                                        X'10000000' SWIEStSend_Grat_Arp
                                        (V4R4
          .... ....      SWIEStGVRP     X'08000000' SWIEStGVRP (V5R2.0+
                                        level
          .... ....      SWIEStManagement
                                        X'04000000' SWIEStManagement
                                        (V5R3.0+
          .... ....      SWIEStLinkAggregation
                                        X'04000000' SWIEStLinkAggregation
                                        (V5
0020   32 Dbl-Word     8 SWIESTIME      Send-to-controller timestamp
0028   40 Dbl-Word     8 SWIERTIME      Receive-from-controller timestamp
0030   48 Dbl-Word     8 SWIECTIME      Last checked timestamp
0038   56 Bitstring   20 SWIELEVEL      TCP/IP Stack Level String
0050   80 Dbl-Word     8 SWIEXTIME      Special send-to-controller
                                        timestamp
          0000000B       SWIESIZE       (*-SWIBK+7)/8 size in double
                                        words
          00000058       SWIEBSIZ       SWIESIZE*8 size in bytes
          00000008       SWIEINIT       8 Default number of entries

 

SWIBK Storage Layout

          
*** SWIBK - DSECTS and EQUATES for z/VM Virtual Switch
*
*     +-------------------------------------------------------+
*   0 |                       SWIEUSER                        |
*     +---------------------------+-------------+------+------+
*   8 |        SWIEVMDBK          |  SWIEPATH   |(00E) |:EFLAG|
*     +---------------------------+-------------+------+------+
*  10 |        SWIECOUNT          |        SWIEVDEVS          |
*     +---------------------------+---------------------------+
*  18 |        SWIEVDEVE          |        SWIECAPAB          |
*     +---------------------------+---------------------------+
*  20 |                      SWIESTIME                        |
*     +-------------------------------------------------------+
*  28 |                      SWIERTIME                        |
*     +-------------------------------------------------------+
*  30 |                      SWIECTIME                        |
*     +-------------------------------------------------------+
*  38 |                                                       |
*     =                      SWIELEVEL                        =
*     |                           +---------------------------+
*  48 |                           |///////////////////////////|
*     +---------------------------+---------------------------+
*  50 |                      SWIEXTIME                        |
*     +-------------------------------------------------------+
*  58
*
*** SWIBK - DSECTS and EQUATES for z/VM Virtual Switch

 

SWIBK Cross Reference

Symbol         Dspl Value
-------------- ---- -----
SWIEAVAIL      000E
SWIEBSIZ       0050 00000058
SWIECAPAB      001C
SWIECONTRLR    000F 40
SWIECOUNT      0010
SWIECTIME      0030
SWIEFAILOVER   000F 02
SWIEFLAG       000F
SWIEINIT       0050 00000008
SWIELEVEL      0038
SWIEMANAGER    000F 20
SWIEPATH       000C
SWIERTIME      0028
SWIEStGVRP     001C 00
SWIEStLinkAggregation
               001C 00
SWIEStManagement
               001C 00
SWIEStReleaseLevelInfo
               001C 00
SWIEStSend_Grat_Arp
               001C 00
SWIEStTransportIP
               001C 00
SWIEStTransportL2
               001C 00
SWIESIZE       0050 0000000B
SWIESTALLED    000F 01
SWIESTIME      0020
SWIETASK       000F 80
SWIEUSER       0000
SWIEVDEVE      0018
SWIEVDEVS      0014
SWIEVMDBK      0008
SWIEXTIME      0050

This information is based on z/VM V5R3.0. Last updated on 25 Jun 2007 at 17:40:15 EDT.
Copyright IBM Corporation, 1990, 2007