VLCBK | Back to Index page

| Prolog Control Block Contents VLCBK 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.

VLCBK Prolog | Top of page

     NAME       : HCPVLCBK
     DESCRIPTION: VLAN Counter Structure
     DSECT      : VLCBK
     FUNCTION   :
                  Each VLCBK represents a list of VLAN counters use to
                  track the bytes, frames transferred and discarded frames
                  per VLAN ID for a given NIC adapter.  These counters are
                  returned with SNMP and Diag x'26C'.
                  The VLCBK structure is fixed length.
     LOCATED BY -
       NICCTRVL  - Points to a Multi-Level (MLT) Table of
                   of L:VLCBKs indexed by VLAN ID.
     CREATED BY :
                  During data transfer when SET VLAN_counters ON is
                  specified for a VLAN AWARE virtual switch.
     DELETED BY :
                  DETACH NIC - NICBK destruction
     RELOCATION CONSIDERATIONS : None

VLCBK Control Block Content | Top of page

     VLCBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      VLCBK          VLAN Counter Structure
    0000    0 Address      4 VLCNICBK       Pointer to owning NICBK
    0004    4 Signed       2 *              Reserved for Future IBM Use save
    0006    6 Signed       2 VLCVLAN        VLAN ID
          VLAN Counters
          NOTES      : Counters must remain contiguous in storage as they
                are currently defined.  Only insert new fields after
                the counters.
              00000000       VLCRXF         VLCRX-VLCCTR Offset to (RX) Frame
                                            Count
              00000008       VLCTXF         VLCTX-VLCCTR Offset to (TX) Frame
                                            Count
              00000010       VLCRXDF        VLCRXDSC-VLCCTR Offset to (RX)
                                            Discard Frame Count
              00000018       VLCTXDF        VLCTXDSC-VLCCTR Offset to (TX)
                                            Discard Frame Count
              00000020       VLCRXBC        VLCRXBYT-VLCCTR Offset to (RX)
                                            Byte Count
              00000028       VLCTXBC        VLCTXBYT-VLCCTR Offset to (TX)
                                            Byte Count
              00000020       VLCBYTES       VLCRXBYT-VLCRX Offset from a (RX)
                                            or (TX) Frame Count to its
                                            corresponding Byte Counter
    0008    8 Bitstring   48 VLCCTR (0)     All counters
    0008    8 Dbl-Word     8 VLCRX          Count of frames IN on this VLAN
    0010   16 Dbl-Word     8 VLCTX          Count of frames OUT on this VLAN
    0018   24 Dbl-Word     8 VLCRXDSC       Frames discarded on INPUT
    0020   32 Dbl-Word     8 VLCTXDSC       Frames discarded on OUTPUT
    0028   40 Dbl-Word     8 VLCRXBYT       (RX) Incoming Byte Count
    0030   48 Dbl-Word     8 VLCTXBYT       (TX) Outbound Byte Count
              00000038       VLCCTRLN       *-VLCBK Length of structure
              00000007       VLCBKSZ        (*-VLCBK+7)/8 Length in
                                            doublewords

VLCBK Storage Layout | Top of page

    *** VLCBK - VLAN Counter Structure
    *
    *     +---------------------------+-------------+-------------+
    *   0 |         VLCNICBK          |/////////////|  VLCVLAN    |
    *     +---------------------------+-------------+-------------+
    *   8 |                        VLCRX                          |
    *     +-------------------------------------------------------+
    *  10 |                        VLCTX                          |
    *     +-------------------------------------------------------+
    *  18 |                       VLCRXDSC                        |
    *     +-------------------------------------------------------+
    *  20 |                       VLCTXDSC                        |
    *     +-------------------------------------------------------+
    *  28 |                       VLCRXBYT                        |
    *     +-------------------------------------------------------+
    *  30 |                       VLCTXBYT                        |
    *     +-------------------------------------------------------+
    *  38
    *
    *** VLCBK - VLAN Counter Structure

VLCBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    VLCBKSZ        0030 00000007
    VLCBYTES       0006 00000020
    VLCCTR         0008
    VLCCTRLN       0030 00000038
    VLCNICBK       0000
    VLCRX          0008
    VLCRXBC        0006 00000020
    VLCRXBYT       0028
    VLCRXDF        0006 00000010
    VLCRXDSC       0018
    VLCRXF         0006 00000000
    VLCTX          0010
    VLCTXBC        0006 00000028
    VLCTXBYT       0030
    VLCTXDF        0006 00000018
    VLCTXDSC       0020
    VLCTXF         0006 00000008
    VLCVLAN        0006

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