CCLBK | Back to Index page

| Prolog Control Block Contents CCLBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

CCLBK Prolog | Top of page

     NAME       : HCPCCLBK
     DESCRIPTION: VSwitch Counter Block
     DSECT      : CCLBK
     FUNCTION   :
                  Each structure contains time-stamps and transmission
                  counters associated with NIC for reset counter support.
     LOCATED BY :
                  NICCCLBK = Pointer to counters clear structure
     CREATED BY :
                  SET VSWITCH COUNTERS CLEAR processing (module HCPSWS)
     DELETED BY :
                  CP DETACH NIC command processing (module HCPNIC)
                  CP DETACH LAN command processing (module HCPVLF)
                  VSWITCH connect processing (modules HCPVLC, HCPSWG and
                  and HCPNDF)
     RELOCATION CONSIDERATIONS : None
     SERIALIZED : This control block (NICCCLBK) is serialized by the NIC
                  Adapter Counter Lock:
                  - Hold NICCTRLK exclusive to add or remove control block
                  The fields in this control block are used during QUERY
                  VSWITCH and QUERY NIC calls.  These fields are serialized
                  by the NIC Adapter Counter Lock:
                  - Hold NICCTRLK exclusive to update
                  - Hold NICCTRLK shared to reference

CCLBK Control Block Content | Top of page

     CCLBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      CCLBK          VSwitch Counter Block
          This control block is created when SET VSWITCH COUNTERS
          CLEAR {DATA|ERRORS|DISCARDED|ALL} is called.
          The control block contains timestamps for DATA, ERRORS
          and DISCARDED.  It also contains delta values for the
          counter values (errors, discarded, transmitted packets,
          transmitted bytes, received packets and received bytes).
          The delta values will be used when calculating
          the correct values to be displayed by the QUERY commands.
    0000    0 Dbl-Word     8 CCLERR_TOD     Clear Error count time of day
    0008    8 Dbl-Word     8 CCLDAT_TOD     Clear Data count time of day
    0010   16 Dbl-Word     8 CCLDSC_TOD     Clear Discard count time of day
    0018   24 Dbl-Word     8 CCLDLTXBYT     Total Bytes Sent (delta)
    0020   32 Dbl-Word     8 CCLDLTXPKT     TX Packets extracted (delta)
    0028   40 Dbl-Word     8 CCLDLTXDSC     TX Packets discarded (delta)
    0030   48 Dbl-Word     8 CCLDLTXERR     TX Bad Packets discarded (delta)
    0038   56 Bitstring  128 CCLDLRXCTS     RX Delta Counter Array
          END OF THE CCLBK.
    00B8  184 Dbl-Word     8 CCL$END (0)    END OF THE CCLBK STRUCTURE
              000000B8       CCLCCLN        *-CCLBK LENGTH OF CCLBK IN BYTES
              00000017       CCLBKSZ        (*-CCLBK+7)/8 SIZE OF CCLBK IN
                                            DOUBLEWORDS
          RX Delta Counters Array Entry
          An UPLINK can have 1, 2, or 4 sets of CCL RX Delta
          Counters
    0038   56 Dbl-Word     8 CCLDLRXBYT     Total Bytes Received (delta)
    0040   64 Dbl-Word     8 CCLDLRXPKT     RX Packets received (delta)
    0048   72 Dbl-Word     8 CCLDLRXDSC     RX Packets discarded/overflow
                                            (delta)
    0050   80 Dbl-Word     8 CCLDLRXERR     RX Bad Packets discarded (delta)
              00000020       CCLRXSZB       *-CCLDLRXBYT Length of RX Delta
                                            Ctrs Entry
              00000004       CCLRXMAX       4 Maximum number of RX DL entries

CCLBK Storage Layout | Top of page

    *** CCLBK - VSwitch Counter Block
    *
    *     +-------------------------------------------------------+
    *   0 |                      CCLERR_TOD                       |
    *     +-------------------------------------------------------+
    *   8 |                      CCLDAT_TOD                       |
    *     +-------------------------------------------------------+
    *  10 |                      CCLDSC_TOD                       |
    *     +-------------------------------------------------------+
    *  18 |                      CCLDLTXBYT                       |
    *     +-------------------------------------------------------+
    *  20 |                      CCLDLTXPKT                       |
    *     +-------------------------------------------------------+
    *  28 |                      CCLDLTXDSC                       |
    *     +-------------------------------------------------------+
    *  30 |                      CCLDLTXERR                       |
    *     +-------------------------------------------------------+
    *  38 |                                                       |
    *     =                      CCLDLRXCTS                       =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *
    *** CCLBK - VSwitch Counter Block

    *** Overlay for ORG in CCLBK
    *
    *     +-------------------------------------------------------+
    *  38 |                      CCLDLRXBYT                       |
    *     +-------------------------------------------------------+
    *  40 |                      CCLDLRXPKT                       |
    *     +-------------------------------------------------------+
    *  48 |                      CCLDLRXDSC                       |
    *     +-------------------------------------------------------+
    *  50 |                      CCLDLRXERR                       |
    *     +-------------------------------------------------------+
    *  58
    *
    *** Overlay for ORG in CCLBK

CCLBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    CCL$END        00B8
    CCLBKSZ        00B8 00000017
    CCLCCLN        00B8 000000B8
    CCLDAT_TOD     0008
    CCLDLRXBYT     0038
    CCLDLRXCTS     0038
    CCLDLRXDSC     0048
    CCLDLRXERR     0050
    CCLDLRXPKT     0040
    CCLDLTXBYT     0018
    CCLDLTXDSC     0028
    CCLDLTXERR     0030
    CCLDLTXPKT     0020
    CCLDSC_TOD     0010
    CCLERR_TOD     0000
    CCLRXMAX       0050 00000004
    CCLRXSZB       0050 00000020

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:27:13 EDT.
Copyright IBM Corporation, 1990, 2020