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: Virtual NIC Counters Clear block
 DSECT      : CCLBK
 FUNCTION   :
              Each structure contains counters and timestamps
              for a virtual nic. This structure is
              created for a NICBK when the SET VSWITCH COUNTERS
              CLEAR command has been called.
 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, HCPNDF)
 REFERENCES : None
 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 Virtual NIC Counters Clear 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 CCLDLRXBYT Total Bytes Received (delta) 0028 40 Dbl-Word 8 CCLDLTXPKT TX Packets extracted (delta) 0030 48 Dbl-Word 8 CCLDLTXDSC TX Packets discarded (delta) 0038 56 Dbl-Word 8 CCLDLTXERR TX Bad Packets discarded (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) END OF THE CCLBK. 0058 88 Dbl-Word 8 CCL$END (0) END OF THE CCLBK STRUCTURE 00000058 CCLCCLN *-CCLBK LENGTH OF CCLBK IN BYTES 0000000B CCLBKSZ (*-CCLBK+7)/8 SIZE OF CCLBK IN DOUBLEWORDS
 
 
  CCLBK Storage Layout Top of page
 
 
*** CCLBK - Virtual NIC Counters Clear block
*
*     +-------------------------------------------------------+
*   0 |                      CCLERR_TOD                       |
*     +-------------------------------------------------------+
*   8 |                      CCLDAT_TOD                       |
*     +-------------------------------------------------------+
*  10 |                      CCLDSC_TOD                       |
*     +-------------------------------------------------------+
*  18 |                      CCLDLTXBYT                       |
*     +-------------------------------------------------------+
*  20 |                      CCLDLRXBYT                       |
*     +-------------------------------------------------------+
*  28 |                      CCLDLTXPKT                       |
*     +-------------------------------------------------------+
*  30 |                      CCLDLTXDSC                       |
*     +-------------------------------------------------------+
*  38 |                      CCLDLTXERR                       |
*     +-------------------------------------------------------+
*  40 |                      CCLDLRXPKT                       |
*     +-------------------------------------------------------+
*  48 |                      CCLDLRXDSC                       |
*     +-------------------------------------------------------+
*  50 |                      CCLDLRXERR                       |
*     +-------------------------------------------------------+
*
*** CCLBK - Virtual NIC Counters Clear block
 
 
  CCLBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
CCL$END        0058
CCLBKSZ        0058 0000000B
CCLCCLN        0058 00000058
CCLDAT_TOD     0008
CCLDLRXBYT     0020
CCLDLRXDSC     0048
CCLDLRXERR     0050
CCLDLRXPKT     0040
CCLDLTXBYT     0018
CCLDLTXDSC     0030
CCLDLTXERR     0038
CCLDLTXPKT     0028
CCLDSC_TOD     0010
CCLERR_TOD     0000
 
This information is based on z/VM 6.4.0 Last updated on 24 Aug 2016 at 09:23:09 EDT.
Copyright IBM Corporation, 1990, 2016