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

#### LANBK

Prolog

Control Block Contents
LANBK DSECT
LANVID DSECT
LANRDD DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### LANBK Prolog

     NAME       : HCPLANBK
     DESCRIPTION: Virtual LAN block
     DSECT      : LANBK
     FUNCTION   :
                  Define a structure to represent a Virtual LAN
                  (Local Area Network) in CP.
     LOCATED BY -
       SLMLANTB - The System LAN Table
     CREATED BY :
                  CP DEFINE LAN command
     DELETED BY :
                  CP DETACH LAN processing
     REFERENCES :
                  HCPEQUAT COPY - General CP equates

#### LANBK Control Block Content

#### LANBK DSECT

####

####

####

####

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LANBK          Virtual LAN block
          Static Area -
            The fields in this area are relatively static.
            They are set when the LANBK is constructed.
    0000    0 Character   16 LANID (0)      LAN Fully-Qualified Identifier
    0000    0 Character    8 LANOWNER       LAN Owner (user who defined it)
    0008    8 Character    8 LANNAME        LAN Name
    0010   16 Character    8 LANDESC        LAN Description
    0018   24 Character    8 LANDEFBY       LAN Defined By <userid>
    0020   32 Signed       4 LANDFTOD       CPU TOD (high-order word) when
                                            this LAN was defined
    0024   36 Bitstring    1 LANTYPE        LAN Type
              00000001       LANHIPR        1 LANHIPR - HiperSockets LAN
              00000002       LANQDIO        2 LANQDIO - QDIO LAN
    0025   37 Bitstring    1 LANPROTO       LAN Protocol
              00000001       LANENET        X'01' LANENET - Ethernet / Fast
                                            Ethernet
              00000002       LANTRNET       X'02' LANTRNET - High Speed Token
                                            Ring
              00000003       LANGBE         X'03' LANGBE - Gigabit Ethernet
              00000010       LAN10GE        X'10' LAN10GE - 10 Gig Ethernet
              00000080       LANQDIOP       X'80' LANQDIOP - QDIO Protocol
              00000081       LANATME        X'81' LANATME - ATM Emulated Enet
                                            Port
              00000082       LANATMTR       X'82' LANATMTR - ATM Emulated
                                            Token Ring Port
              00000083       LANATMGE       X'83' LANATMGE - ATM Emulated
                                            GbEnet + MTU size
              00000088       LANATMP        X'88' LANATMP - ATM Emulated Port
                                            + autoconfig
              00000090       LANATM         X'90' LANATM - Native ATM
    0026   38 Bitstring    1 LANLEVEL       LAN Level
              00000001       LANGLAN        1 LANGLAN - Level 1 - Guest Lan
              00000002       LANVSW         2 LANVSW - Level 2 - Vswitch
    0027   39 Bitstring    1 LANTRANP       Transport type
              00000001       LANIP          1 LANIP Layer 3 IP datagrams
              00000002       LANETHER       2 LANETHER Layer 2 Ethernet
                                            frames
          LANLKWRD - LKWRD for primary LAN functions
          Note that certain fields are additionally serialized by
          LANCTLCK. See below for more information.
          Notes      : LKWRDSIZ == 3 doublewords.
    0028   40 Dbl-Word     8 LANLKWRD (3)   LAN Lockword
          LAN Management Area -
    0040   64 Bitstring    1 LANCFLG        LAN Configuration Flags
              1... ....      LANINPRG       X'80' LANINPRG - Initialization
                                            in Progress
              .1.. ....      LANDLPRG       X'40' LANDLPRG - Delete in
                                            Progress
              ..1. ....      LANLIMCN       X'20' LANLIMCN - Limit
                                            connections by LANMAXCN
              ...1 ....      LANLIMID       X'10' LANLIMID - Limit
                                            connections by userid
              .... 1...      LANSYSLN       X'08' LANSYSLN - Registered
                                            System LAN
              .... .1..      LANUSRLN       X'04' LANUSRLN - Private LAN
              .... ..1.      LANTRANS       X'02' LANTRANS - Transient LAN
              .... ...1      LANACNT        X'01' LANACNT - Accounting
                                            Enabled
    0041   65 Bitstring    1 LANCFLG2       More LAN Configuration Flags
              1... ....      LANRDV         X'80' LANRDV - RDEV or GROUP was
                                            specified for VSWITCH
              .1.. ....      LANDLDIP       X'40' LANDLDIP - LANBK on Delete
                                            In Progress Chain
              ..1. ....      LANPRTRQ       X'20' LANPRTRQ - PRIROUTER was
                                            specified for VSWITCH
              ...1 ....      LANVLFLT       X'10' LANVLFLT - VLAN Filtering
                                            (VLAN AWARE)
              .... 1...      LANGVRP        X'08' LANGVRP - GVRP (VLAN
                                            Registration) Requested
              .... .1..      LANLKAG        X'04' LANLKAG - Link Aggregation
                                            group defined
              .... ..1.      LANREST        X'02' LANREST - Automatic restore
                                            after Link Ag group failure
              .... ...1      LANVLACT       X'01' LANVLACT - VLAN Counters ON
    0042   66 Signed       2 LANIPTO        IP Timeout value (in 30 sec tics)
    0044   68 Signed       4 LANRFCTR       LAN Reference Counter
    0048   72 Address      4 LANFPNT        Pointer to next LANBK
    004C   76 Address      4 LANBPNT        Pointer to previous LANBK
    0050   80 Address      4 LANACLHD       Pointer to first ACLBK
    0054   84 Address      4 LANACLTL       Pointer to last ACLBK
    0058   88 Signed       4 LANMFS         Maximum Frame Size in bytes
    005C   92 Signed       4 LANMAXCN       Maximum number of connections
    0060   96 Address      4 LANCNLST       Pointer to Connected NICBK List
    0064  100 Signed       4 LANCNCTR       LAN Connection Counter
    0068  104 Character    8 LANUPDBY       LAN Updated By <userid>
          These fields represent a real OSA-Express interface.
    0070  112 Address      4 LANSPBLK       Pointer to Physical Ports Block
          LANDFVID - Default VLAN ID. This is the vlan id that will
          be used when no vlan id is specified on a GRANT for an
          ACCESS port on a VLAN AWARE VSWITCH. Depending on the
          porttype, traffic on the default vid may or may not be
          delivered to the guest tagged. (INGRESS rule).
    0074  116 Signed       2 LANDFVID       Default VLAN ID
    0076  118 Bitstring    1 LANDFPRT       Default Porttype
              .... ...1      LANDFPRT_ACCESS
                                            1 LANDFPRT_ACCESS = Access Port
                                            (untagged)
              .... ..1.      LANDFPRT_TRUNK 2 LANDFPRT_TRUNK = Trunk Port
                                            (tagged or mix
    0077  119 Bitstring    1 LANFSV         Queuestorage value (1-8)
    0078  120 Signed       4 LANSPEED       Link Aggregate Port Speed
    007C  124 Signed       4 LANVDEVN (0)   Pseudo-Virtual Device Number
    007C  124 Bitstring    1 LANVDFLG       Virtual Device Type Flag
              1... ....      MSVVSWIT       X'80' MSVVSWIT Indicates VSWITCH
                                            pseudo-VDEV number
    007D  125 Bitstring    1 *              Reserved for future IBM use
    007E  126 Signed       2 LANDEV#        Device Number
    0080  128 Signed       4 LANTRACE       CTR for tracing on
    0084  132 Address      4 LANPROM        Pointer to list of Prom users
          LANMCTBL - Pointer to LAN Multicast Table
            Each IPNBK in the Multicast Table represents a device
            (NIDBK) which is subscribed to a multicast group.  This
            table is sorted by Multicast IP Address.
    0088  136 Address      4 LANMCTBL       Ptr to IPNBK chain
    008C  140 Signed       2 LANMCCTR       Number of Multicast subscribers
          LANMRCTR - Count Multicast Routers on this LAN
    008E  142 Signed       2 LANMRCTR       Number of Multicast Routers
          LANIDTBL - LAN Link ID Table (MLTBK)
            Each entry in the Link ID Table represents the
            set of devices registered for a Link ID (which
            is a combination of VLAN ID and MAC address).
          BLOCKMAP DEFINE LANIDTBL (4)D
    0090  144 Dbl-Word     8 LANIDTBL (4)   Reserve a MLTBK here
          LANIPTBL - Pointer to LAN IP Table
            This IP Table functions as an "ARP Cache" for the
            LAN segment.  LANIPTBL is the anchor for the table
            of unicast IP Addresses.  Each entry (IPNBK)
            represents an IP Address, and holds a pointer
            to the network device (NIDBK) which owns this
            IP Address.
          Notes      :
            Only unicast addresses should be installed in this
            table.  MAC addresses should be installed in the
            Link ID Table (LANIDTBL) by MAC address.
    00B0  176 Address      4 LANIPTBL       LAN IP Table (unicast)
    00B4  180 Signed       2 LANIPCTR       Number of entries in LANIPTBL
          LANNVID  - Native VLAN
            The Native VLAN is the VLAN for the untagged set.
            For a trunk port on a VLAN AWARE VSWITCH, the guest MUST
            be authorized for the native VLAN in order to receive
            untagged traffic.  All traffic on the Native VLAN is
            delivered to the guest UNTAGGED (Ingress Rule).
    00B6  182 Signed       2 LANNVID        Native VLAN ID
          LANVLANL - Pointer to LANVID list
            This is the anchor for a list of VLAN groups active
            on this LAN.
    00B8  184 Address      4 LANVLANL       Pointer to LANVID list
    00BC  188 Bitstring    3 LANMACSF       Save MACID suffix from MODIFY
                                            VSWITCH MACID
    00BF  191 Bitstring    1 LANISOFL       LAN ISOLATION Flags
              1... ....      LANDROP        X'80' LANDROP ON: Drop all
                                            traffic
              .1.. ....      LANFORW        X'40' LANFORW Reserved
          Following Fields are only relevant when the LAN Sniffer is
          active either with TRSOURCE or SET_PROMISCUOUS_MODE.
    00C0  192 Signed       4 LANTRID        # of active type lan trace ids
    00C4  196 Signed       4 LANSUSR        # of promiscuous users on lan
    00C8  200 Address      4 LANTRCBK       Pointer to TRCBK
          VSWITCH Routing Table Anchor
          LANRTBL is the logical address of the first page of
          routing tables allocated for this LAN.  Each page consists
          of multiple table entries.  Assignment of a table entry
          occurs when coupling a virtual NIC to the LAN.  The
          table's function is to route outbound data destined to the
          physical LAN to one of eight possible OSA Ports.
    00CC  204 Address      4 LANRTBL        L:ADR of first routing table
         ******** Start of Virtual Switch Controller Section
         ******** Also used for Management ID information.
          The Virtual Switch Controller section of this structure is
          serialized by a combination of LANLKWRD and LANCTLCK.
          To reference these fields, the LANLKWRD must be held at
          least SHARED.
          To modify these fields, either:
            1) Obtain the LANLKWRD EXCLUSIVE, or
            2) Obtain the LANLKWRD SHARED and the LANCTLCK EXCLUSIVE.
          The second choice allows access to the controller-
          related fields without interference with data transfer
          among the guest hosts coupled to the virtual switch.
          LANCTLCK - LKWRD for VSWITCH Controller functions
          Notes      : LKWRDSIZ == 3 doublewords.
    00D0  208 Dbl-Word     8 LANCTLCK (3)   LAN CONTROLLER lock word
          Active Interface Definition -
    00E8  232 Character   64 LANCNS (0)     Controller
    00E8  232 Character    8 LANCONT        Controller
    00F0  240 Character    8 LANCON2        Controller2
    00F8  248 Character    8 LANCON3        Controller3
    0100  256 Character    8 LANCON4        Controller4
    0108  264 Character    8 LANCON5        Controller5
    0110  272 Character    8 LANCON6        Controller6
    0118  280 Character    8 LANCON7        Controller7
    0120  288 Character    8 LANCON8        Controller8
    0128  296 Signed       4 *              Reserved
    012C  300 Bitstring    1 LANCTSTA       VSwitch Controller State
              .... ...1      LANCTDEF       X'01' LANCTDEF - Virtual switch
                                            defined
              .... ..1.      LANCTNOC       X'02' LANCTNOC - Controller not
                                            available
              .... ..11      LANCTOPR       X'03' LANCTOPR - Operator
                                            intervention required
              .... .1..      LANCTDIS       X'04' LANCTDIS - Disconnected
              .... .1.1      LANCTATT       X'05' LANCTATT - VDEVs attached
                                            to controller
              .... .11.      LANCTINI       X'06' LANCTINI - OSA
                                            initialization in progress
              .... .111      LANCTNOT       X'07' LANCTNOT - OSA device not
                                            ready
              .... 1...      LANCTRDY       X'08' LANCTRDY - OSA device ready
              .... 1..1      LANCTDET       X'09' LANCTDET - OSA devices
                                            being detached
              .... 1.1.      LANCTDEL       X'0A' LANCTDEL - VSWITCH delete
                                            pending
              .... 1.11      LANCTRCV       X'0B' LANCTRCV - VSWITCH failover
                                            recovering
              .... 11..      LANCTRES       X'0C' LANCTRES - Autorestart in
                                            progress
              .... 11..      LANCTLST       X'0C' LANCTLST - High water mark
                                            for validation NOTE: Cannot
                                            exceed 99 (X'63'). Mapped to
                                            decimal message number MS2830xx.
    012D  301 Bitstring    1 LANCTFLG       VSwitch Controller Flag
              1... ....      LANXIPV6       X'80' LANXIPV6 - VSWITCH RDEV
                                            supports IPv6
              .1.. ....      LANPRTAC       X'40' LANPRTAC - PRIROUTER is
                                            active on VSWITCH
              ..1. ....      LANNOARP       X'20' LANNOARP - No Send_Grat_Arp
                                            support
              ...1 ....      LANMSARP       X'10' LANMSARP - HCP2859I - ARP
                                            message issued
              .... 1...      LANNOGVR       X'08' LANNOGVR - No GVRP support
              .... .1..      LANMSGVR       X'04' LANMSGVR - HCP2859I - GVRP
                                            message issued
              .... ..1.      LANMSRCV       X'02' LANMSRCV - HCP2851I -
                                            Extended recovery message issued
    012E  302 Signed       2 LANCONCT       Count of configured controllers
    0130  304 Signed       4 LANUSEFX       Adjustment factor for IPNUSAGE
    0134  308 Address      4 LANIPCHN       Chain of deferred SETIP requests
    0138  312 Address      4 LANIPCHE       Last entry - Chain of deferred
                                            SETIP requests
    013C  316 Signed       4 LANIPCNT       Count of incomplete SETIP reqs
    0140  320 Address      4 LANRRDEV       Chain of LANRDD descriptors(head)
    0144  324 Address      4 LANRRDVT       LANRDD descriptors (tail)
    0148  328 Signed       4 LANSWPBK       Link Aggregation Port Group Token
    014C  332 Signed       4 LANMGIPA       LAN Management IP Address
    0150  336 Address      4 LANMGSWI       SWIBK for management stack
    0154  340 Signed       4 LANMGPOH       Guest port/ifIndex high water mrk
                                            (Always > 65)
    0158  344 Signed       4 *              Reserved
    015C  348 Address      4 LANMGNIC       LAN Management NICBK
              .... 1...      LANMXTRG       8 LANMXTRG Max port group trunk
                                            ports
              ..11 1...      LANMXTRR       56 LANMXTRR Reserved for future
                                            use
              LANMGNIC       LANMXGST       1024 LANMXGST Max guest ports
    0160  352 Address      4 LANMGPTR       Pointer to LAN Management maps
              1... ....      LANMGPOR       X'80' LANMGPOR Port is in use
              .1.. ....      LANMGAGG       64 LANMGAGG Aggregator ifIndex
                                            constant
    0164  356 Bitstring    8 LANMGTIM       Time of manager assignment
         ********  End of Virtual Switch Controller/
         ********      Management ID section.
          LANRXTBL - LAN Router Table (MLTBK)
            Each entry in the Router Table represents the
            set of devices registered as a Router (using
            an ID formed by VLAN ID and IPv4/IPv6 value).
          BLOCKMAP DEFINE LANRXTBL (4)D
    0170  368 Dbl-Word     8 LANRXTBL (2)   Reserve a MLTBK here
          End of the LANBK.
              00000190       LAN$END        * End of the LANBK
              00000190       LANBKLN        *-LANBK Length of LANBK in bytes
              00000032       LANBKSZ        (*-LANBK+7)/8 Size of LANBK in
                                            doublewords
          Define the LANVID structure.
            This structure maps one element of the LANVIDLL list.
            Each element represents an active VLAN group on this
            LAN segment.

    LANVID DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LANVID         Virtual LAN block
    0000    0 Address      4 LANVID_FPNT    Pointer to Next LANVID
    0004    4 Address      4 LANVID_BPNT    Pointer to Previous LANVID
    0008    8 Signed       2 LANVID_ID      VLAN group ID
    000A   10 Bitstring    2 *              Reserved
    000C   12 Signed       4 LANVID_CTR     Number of interfaces active
    0010   16 Signed       4 LANVID_DLCTR   Number of times deleted
    0014   20 Character    8 LANVID_TIMC    Creation timestamp
    001C   28 Character    8 LANVID_TIMU    Most recent change timestamp
              00000024       LANVIDLN       *-LANVID Length of LANVID (bytes)
              00000005       LANVIDSZ       (LANVIDLN+7)/8 Length of LANVID
                                            (doublewords)
          Define the LANRDD structure.
            This structure maps each element of the LANRRDEV array.

    LANRDD DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      LANRDD         Virtual LAN block
    0000    0 Address      4 LANRDD_NEXT    Pointer to Next LANRDD
    0004    4 Address      4 LANRDD_PREV    Pointer to Prev LANRDD
    0008    8 Address      4 LANRDD_CTPTR   Pointer to Controller entry
    000C   12 Address      4 LANRDD_VQSBK   Pointer to VQSBK for this entry
    0010   16 Signed       2 LANRDD_RDEV    Real device address
    0012   18 Signed       2 LANRDD_VDEV    Virtual device address
    0014   20 Character    8 LANRDD_PORT    Port name for this device
    001C   28 Bitstring    1 LANRDD_FLAG    Device status flags:
              1... ....      LANRDD_ACTIVE  X'80' LANRDD_ACTIVE - Active,
                                            primary RDEV.
              .1.. ....      LANRDD_BACKUP  X'40' LANRDD_BACKUP - Backup
                                            RDEV.
              ..1. ....      LANRDD_INOP    X'20' LANRDD_INOP - Inoperative
                                            device
              ...1 ....      LANRDD_ATTACH  X'10' LANRDD_ATTACH - RDEV
                                            attached to controller
              .... 1...      LANRDD_PRT     X'08' LANRDD_PRT - Port name
                                            specified
              .... .1..      LANRDD_DELETE  X'04' LANRDD_DELETE - Delete
                                            LANRDD when cleanup is completed
              .... ..1.      LANRDD_PORTG   X'02' LANRDD_PORTG - RDEV part of
                                            a port group
    001D   29 Bitstring    1 LANRDD_RSN     Failure reason
              .... ....      LANRDD_RSNNONE X'00' LANRDD_RSNNONE - None
                                            identified
              .... ...1      LANRDD_RSNPORTNAME
                                            X'01' LANRDD_RSNPORTNAME -
                                            Portname conflict
              .... ..1.      LANRDD_RSNNOLAYER2
                                            X'02' LANRDD_RSNNOLAYER2 - No
                                            layer 2 support
              .... ..11      LANRDD_RSNNORDEV
                                            X'03' LANRDD_RSNNORDEV - RDEV
                                            does not exist
              .... .1..      LANRDD_RSNRDEVATT
                                            X'04' LANRDD_RSNRDEVATT - RDEV is
                                            attached elsew
              .... .1.1      LANRDD_RSNNOTQDIO
                                            X'05' LANRDD_RSNNOTQDIO - RDEV
                                            not QDIO OSA-E
              .... .11.      LANRDD_RSNINITERR
                                            X'06' LANRDD_RSNINITERR -
                                            Initialization error
              .... .111      LANRDD_RSNSTALLEDO
                                            X'07' LANRDD_RSNSTALLEDO -
                                            Stalled OSA
              .... 1...      LANRDD_RSNSTALLEDC
                                            X'08' LANRDD_RSNSTALLEDC -
                                            Stalled controller
              .... 1..1      LANRDD_RSNSEVER
                                            X'09' LANRDD_RSNSEVER -
                                            Controller connection se
              .... 1.1.      LANRDD_RSNROUTING
                                            X'0A' LANRDD_RSNROUTING - Primary
                                            or secondary r conflict
              .... 1.11      LANRDD_RSNOFFLINE
                                            X'0B' LANRDD_RSNOFFLINE - Device
                                            is offline
              .... 11..      LANRDD_RSNDETACHED
                                            X'0C' LANRDD_RSNDETACHED - Device
                                            was detached
              .... 11.1      LANRDD_RSNMISMATCH
                                            X'0D' LANRDD_RSNMISMATCH - Type
                                            Mismatch (IP<
              .... 111.      LANRDD_RSNSTORAGE
                                            X'0E' LANRDD_RSNSTORAGE -
                                            Insufficient storage i controller
                                            virtual machine
              .... 1111      LANRDD_RSNTCPIPCONF
                                            X'0F' LANRDD_RSNTCPIPCONF -
                                            TCP/IP Configuratio
              ...1 ....      LANRDD_RSNNOLINKAGG
                                            X'10' LANRDD_RSNNOLINKAGG - No
                                            Link Aggregation
              ...1 ...1      LANRDD_RSNBADATTRIB
                                            X'11' LANRDD_RSNBADATTRIB - OSA-E
                                            Attribute mis
              ...1 ..1.      LANRDD_RSNRESERVED0
                                            X'12' LANRDD_RSNRESERVED0 -
                                            Reserved for future
              ...1 ..11      LANRDD_RSNNOTREADY
                                            X'13' LANRDD_RSNNOTREADY - OSA-E
                                            is not ready
              ...1 .1..      LANRDD_RSNRESERVED1
                                            X'14' LANRDD_RSNRESERVED1 -
                                            Reserved for future
              ...1 .1.1      LANRDD_RSNRESTART
                                            X'15' LANRDD_RSNRESTART -
                                            Attempting restart fo
              ...1 .11.      LANRDD_RSNDEDICATED
                                            X'16' LANRDD_RSNDEDICATED - Error
                                            dedicating de
              ...1 .111      LANRDD_RSNBADSTATE
                                            X'17' LANRDD_RSNBADSTATE - Device
                                            state is inva
              ...1 1...      LANRDD_RSNBADPORTN
                                            X'18' LANRDD_RSNBADPORTN - Port
                                            number is inval
              ...1 1..1      LANRDD_RSNNOISOLATE
                                            X'19' LANRDD_RSNNOISOLATE - No
                                            ISOLATION Suppor NOTES : Update
                                            TCSWITCH COPY and HCPVLQ's TR$RSN
                                            table for any additions to
                                            LANRDD_RSN.
    001E   30 Bitstring    1 LANRDD_FLAG1   Device status flag continued
              1... ....      LANRDD_NOVDEV  X'80' LANRDD_NOVDEV - VDEV not
                                            available at chosen controller
              .1.. ....      LANRDD_SELECT  X'40' LANRDD_SELECT - Cause
                                            select (HPCSWCSE) to occur after
                                            disconnect. For example, failback
                                            or port number change
              ..1. ....      LANRDD_STANDBY X'20' LANRDD_STANDBY - RDEV was
                                            requested to be in STANDBY mode
              ...1 ....      LANRDD_STANDBY_NEW
                                            X'10' LANRDD_STANDBY_NEW - RDEV
                                            was requested to STANDBY mode for
                                            a new RDEV
              .... 1...      LANRDD_RETRYABLE
                                            X'08' LANRDD_RETRYABLE - Eligible
                                            to retry initi following timeout.
                                            Set ON when a DisconnectDevice is
                                            sent to stop a NotReady or
                                            Autorestart- ing device.
              .... .1..      LANRDD_SETACC  X'04' LANRDD_SETACC - Set Access
                                            Control supported for this device
    001F   31 Bitstring    1 LANRDD_OSAPORTN
                                            OSA-E hardware portnumber
    0020   32 Address      4 LANRDD_SWPPTR  Pointer to port group entry
    0024   36 Address      4 LANRDD_XFPNT   Pointer to next port group LANRDD
    0028   40 Address      4 LANRDD_XBPNT   Pointer to prev port group LANRDD
    002C   44 Bitstring    1 LANRDD_WHICH   Most recent message flow
              .... ...1      LANRDD_WHICH_SENT
                                            1 LANRDD_WHICH_SENT Send (CP
                                            -> TCPIP)
              .... ..1.      LANRDD_WHICH_RECV
                                            2 LANRDD_WHICH_RECV Receive
                                            (TCPIP -> CP)
    002D   45 Bitstring    1 LANRDD_SENT    Last msg sent to controller
    002E   46 Bitstring    1 LANRDD_RECV    Last msg received from controller
    002F   47 Bitstring    1 LANRDD_PAD     Reserved for future use.
    0030   48 Signed       4 LANRDD_PADF    Reserved for future use.
              00000034       LANRDD$END     * End of the LANRDD
              00000034       LANRDDLB       *-LANRDD Length of each LANRDD in
                                            bytes
              00000007       LANRDDLD       (LANRDDLB+7)/8 Length in
                                            doublewords
          LANRDD Summary Status. Set by a call to HCPSWUST.
              1... ....      LANRDD_SUMMFREE
                                            X'80' One or more RDEVs not
                                            initialized
              .1.. ....      LANRDD_SUMMACTIVE
                                            X'40' One or more ACTIVE RDEVs
              ..1. ....      LANRDD_SUMMBACKUP
                                            X'20' One or more BACKUP RDEVs
              ...1 ....      LANRDD_SUMMINOP
                                            X'10' One or more RDEVs
                                            inoperable
              .... 1...      LANRDD_SUMMRETRY
                                            X'08' One or more RDEVs retryable
              .... .1..      LANRDD_SUMMRETRYATTACH
                                            X'04' One or more RDEVs retryable
                                            AND attached
          Define MLTBK for this compile.
           PREFIX_LEN = 3
          Start of Assembler Control Block

    LANBK Storage Layout

    *** LANBK - Virtual LAN block
    *
    *     +-------------------------------------------------------+
    *   0 |                       LANOWNER                        |
    *     +-------------------------------------------------------+
    *   8 |                       LANNAME                         |
    *     +-------------------------------------------------------+
    *  10 |                       LANDESC                         |
    *     +-------------------------------------------------------+
    *  18 |                       LANDEFBY                        |
    *     +---------------------------+------+------+------+------+
    *  20 |         LANDFTOD          |:TYPE |:PROTO|:LEVEL|:TRANP|
    *     +---------------------------+------+------+------+------+
    *  28 |                                                       |
    *     =                       LANLKWRD                        =
    *     |                                                       |
    *     +------+------+-------------+---------------------------+
    *  40 |:CFLG |:CFLG2|  LANIPTO    |         LANRFCTR          |
    *     +------+------+-------------+---------------------------+
    *  48 |         LANFPNT           |         LANBPNT           |
    *     +---------------------------+---------------------------+
    *  50 |         LANACLHD          |         LANACLTL          |
    *     +---------------------------+---------------------------+
    *  58 |          LANMFS           |         LANMAXCN          |
    *     +---------------------------+---------------------------+
    *  60 |         LANCNLST          |         LANCNCTR          |
    *     +---------------------------+---------------------------+
    *  68 |                       LANUPDBY                        |
    *     +---------------------------+-------------+------+------+
    *  70 |         LANSPBLK          |  LANDFVID   |:DFPRT|LANFSV|
    *     +---------------------------+------+------+------+------+
    *  78 |         LANSPEED          |:VDFLG|//////|  LANDEV#    |
    *     +---------------------------+------+------+-------------+
    *  80 |         LANTRACE          |         LANPROM           |
    *     +---------------------------+-------------+-------------+
    *  88 |         LANMCTBL          |  LANMCCTR   |  LANMRCTR   |
    *     +---------------------------+-------------+-------------+
    *  90 |                                                       |
    *     =                       LANIDTBL                        =
    *     |                                                       |
    *     +---------------------------+-------------+-------------+
    *  B0 |         LANIPTBL          |  LANIPCTR   |  LANNVID    |
    *     +---------------------------+-------------+------+------+
    *  B8 |         LANVLANL          |     LANMACSF       |:ISOFL|
    *     +---------------------------+--------------------+------+
    *  C0 |         LANTRID           |         LANSUSR           |
    *     +---------------------------+---------------------------+
    *  C8 |         LANTRCBK          |         LANRTBL           |
    *     +---------------------------+---------------------------+
    *  D0 |                                                       |
    *     =                       LANCTLCK                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    *  E8 |                       LANCONT                         |
    *     +-------------------------------------------------------+
    *  F0 |                       LANCON2                         |
    *     +-------------------------------------------------------+
    *  F8 |                       LANCON3                         |
    *     +-------------------------------------------------------+
    * 100 |                       LANCON4                         |
    *     +-------------------------------------------------------+
    * 108 |                       LANCON5                         |
    *     +-------------------------------------------------------+
    * 110 |                       LANCON6                         |
    *     +-------------------------------------------------------+
    * 118 |                       LANCON7                         |
    *     +-------------------------------------------------------+
    * 120 |                       LANCON8                         |
    *     +---------------------------+------+------+-------------+
    * 128 |///////////////////////////|:CTSTA|:CTFLG|  LANCONCT   |
    *     +---------------------------+------+------+-------------+
    * 130 |         LANUSEFX          |         LANIPCHN          |
    *     +---------------------------+---------------------------+
    * 138 |         LANIPCHE          |         LANIPCNT          |
    *     +---------------------------+---------------------------+
    * 140 |         LANRRDEV          |         LANRRDVT          |
    *     +---------------------------+---------------------------+
    * 148 |         LANSWPBK          |         LANMGIPA          |
    *     +---------------------------+---------------------------+
    * 150 |         LANMGSWI          |         LANMGPOH          |
    *     +---------------------------+---------------------------+
    * 158 |///////////////////////////|         LANMGNIC          |
    *     +---------------------------+---------------------------+
    * 160 |         LANMGPTR          |        LANMGTIM-          |
    *     +---------------------------+---------------------------+
    * 168 |          -(164)           |///////////////////////////|
    *     +---------------------------+---------------------------+
    * 170 |                       LANRXTBL                        |
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 180
    *
    *** LANBK - Virtual LAN block

    *** LANVID - Virtual LAN block
    *
    *     +---------------------------+---------------------------+
    *   0 |       LANVID_FPNT         |       LANVID_BPNT         |
    *     +-------------+-------------+---------------------------+
    *   8 | LANVID_ID   |/////////////|        LANVID_CTR         |
    *     +-------------+-------------+---------------------------+
    *  10 |       LANVID_DLCTR        |       LANVID_TIMC-        |
    *     +---------------------------+---------------------------+
    *  18 |          -(014)           |       LANVID_TIMU-        |
    *     +---------------------------+---------------------------+
    *  20 |          -(01C)           | 24
    *     +---------------------------+
    *
    *** LANVID - Virtual LAN block

    *** LANRDD - Virtual LAN block
    *
    *     +---------------------------+---------------------------+
    *   0 |       LANRDD_NEXT         |       LANRDD_PREV         |
    *     +---------------------------+---------------------------+
    *   8 |       LANRDD_CTPTR        |       LANRDD_VQSBK        |
    *     +-------------+-------------+---------------------------+
    *  10 |LANRDD_RDEV  |LANRDD_VDEV  |       LANRDD_PORT-        |
    *     +-------------+-------------+------+------+------+------+
    *  18 |          -(014)           |(01C) |(01D) |(01E) |(01F) |
    *     +---------------------------+------+------+------+------+
    *  20 |      LANRDD_SWPPTR        |       LANRDD_XFPNT        |
    *     +---------------------------+------+------+------+------+
    *  28 |       LANRDD_XBPNT        |(02C) |(02D) |(02E) |(02F) |
    *     +---------------------------+------+------+------+------+
    *  30 |       LANRDD_PADF         | 34
    *     +---------------------------+
    *
    *** LANRDD - Virtual LAN block

    LANBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    LAN$END        0170 00000190
    LANACLHD       0050
    LANACLTL       0054
    LANACNT        0040 01
    LANATM         0025 00000090
    LANATME        0025 00000081
    LANATMGE       0025 00000083
    LANATMP        0025 00000088
    LANATMTR       0025 00000082
    LANBKLN        0170 00000190
    LANBKSZ        0170 00000032
    LANBPNT        004C
    LANCFLG        0040
    LANCFLG2       0041
    LANCNCTR       0064
    LANCNLST       0060
    LANCNS         00E8
    LANCONCT       012E
    LANCONT        00E8
    LANCON2        00F0
    LANCON3        00F8
    LANCON4        0100
    LANCON5        0108
    LANCON6        0110
    LANCON7        0118
    LANCON8        0120
    LANCTATT       012C 05
    LANCTDEF       012C 01
    LANCTDEL       012C 0A
    LANCTDET       012C 09
    LANCTDIS       012C 04
    LANCTFLG       012D
    LANCTINI       012C 06
    LANCTLCK       00D0
    LANCTLST       012C 0C
    LANCTNOC       012C 02
    LANCTNOT       012C 07
    LANCTOPR       012C 03
    LANCTRCV       012C 0B
    LANCTRDY       012C 08
    LANCTRES       012C 0C
    LANCTSTA       012C
    LANDEFBY       0018
    LANDESC        0010
    LANDEV#        007E
    LANDFPRT       0076
    LANDFPRT_ACCESS
                   0076 01
    LANDFPRT_TRUNK
                   0076 02
    LANDFTOD       0020
    LANDFVID       0074
    LANDLDIP       0041 40
    LANDLPRG       0040 40
    LANDROP        00BF 80
    LANENET        0025 00000001
    LANETHER       0027 00000002
    LANFORW        00BF 40
    LANFPNT        0048
    LANFSV         0077
    LANGBE         0025 00000003
    LANGLAN        0026 00000001
    LANGVRP        0041 08
    LANHIPR        0024 00000001
    LANID          0000
    LANIDTBL       0090
    LANINPRG       0040 80
    LANIP          0027 00000001
    LANIPCHE       0138
    LANIPCHN       0134
    LANIPCNT       013C
    LANIPCTR       00B4
    LANIPTBL       00B0
    LANIPTO        0042
    LANISOFL       00BF
    LANLEVEL       0026
    LANLIMCN       0040 20
    LANLIMID       0040 10
    LANLKAG        0041 04
    LANLKWRD       0028
    LANMACSF       00BC
    LANMAXCN       005C
    LANMCCTR       008C
    LANMCTBL       0088
    LANMFS         0058
    LANMGAGG       0160 40
    LANMGIPA       014C
    LANMGNIC       015C
    LANMGPOH       0154
    LANMGPOR       0160 80
    LANMGPTR       0160
    LANMGSWI       0150
    LANMGTIM       0164
    LANMRCTR       008E
    LANMSARP       012D 10
    LANMSGVR       012D 04
    LANMSRCV       012D 02
    LANMXGST       015C LANMGNIC
    LANMXTRG       015C 08
    LANMXTRR       015C 38
    LANNAME        0008
    LANNOARP       012D 20
    LANNOGVR       012D 08
    LANNVID        00B6
    LANOWNER       0000
    LANPROM        0084
    LANPROTO       0025
    LANPRTAC       012D 40
    LANPRTRQ       0041 20
    LANQDIO        0024 00000002
    LANQDIOP       0025 00000080
    LANRDD$END     0030 00000034
    LANRDD_ACTIVE  001C 80
    LANRDD_ATTACH  001C 10
    LANRDD_BACKUP  001C 40
    LANRDD_CTPTR   0008
    LANRDD_DELETE  001C 04
    LANRDD_FLAG    001C
    LANRDD_FLAG1   001E
    LANRDD_INOP    001C 20
    LANRDD_NEXT    0000
    LANRDD_NOVDEV  001E 80
    LANRDD_OSAPORTN
                   001F
    LANRDD_PAD     002F
    LANRDD_PADF    0030
    LANRDD_PORT    0014
    LANRDD_PORTG   001C 02
    LANRDD_PREV    0004
    LANRDD_PRT     001C 08
    LANRDD_RDEV    0010
    LANRDD_RECV    002E
    LANRDD_RETRYABLE
                   001E 08
    LANRDD_RSN     001D
    LANRDD_RSNBADATTRIB
                   001D 11
    LANRDD_RSNBADPORTN
                   001D 18
    LANRDD_RSNBADSTATE
                   001D 17
    LANRDD_RSNDEDICATED
                   001D 16
    LANRDD_RSNDETACHED
                   001D 0C
    LANRDD_RSNINITERR
                   001D 06
    LANRDD_RSNMISMATCH
                   001D 0D
    LANRDD_RSNNOISOLATE
                   001D 19
    LANRDD_RSNNOLAYER2
                   001D 02
    LANRDD_RSNNOLINKAGG
                   001D 10
    LANRDD_RSNNONE
                   001D 00
    LANRDD_RSNNORDEV
                   001D 03
    LANRDD_RSNNOTQDIO
                   001D 05
    LANRDD_RSNNOTREADY
                   001D 13
    LANRDD_RSNOFFLINE
                   001D 0B
    LANRDD_RSNPORTNAME
                   001D 01
    LANRDD_RSNRDEVATT
                   001D 04
    LANRDD_RSNRESERVED0
                   001D 12
    LANRDD_RSNRESERVED1
                   001D 14
    LANRDD_RSNRESTART
                   001D 15
    LANRDD_RSNROUTING
                   001D 0A
    LANRDD_RSNSEVER
                   001D 09
    LANRDD_RSNSTALLEDO
                   001D 07
    LANRDD_RSNSTALLEDC
                   001D 08
    LANRDD_RSNSTORAGE
                   001D 0E
    LANRDD_RSNTCPIPCONF
                   001D 0F
    LANRDD_SELECT  001E 40
    LANRDD_SENT    002D
    LANRDD_SETACC  001E 04
    LANRDD_STANDBY
                   001E 20
    LANRDD_STANDBY_NEW
                   001E 10
    LANRDD_SUMMACTIVE
                   0030 40
    LANRDD_SUMMBACKUP
                   0030 20
    LANRDD_SUMMFREE
                   0030 80
    LANRDD_SUMMINOP
                   0030 10
    LANRDD_SUMMRETRY
                   0030 08
    LANRDD_SUMMRETRYATTACH
                   0030 04
    LANRDD_SWPPTR  0020
    LANRDD_VDEV    0012
    LANRDD_VQSBK   000C
    LANRDD_WHICH   002C
    LANRDD_WHICH_RECV
                   002C 02
    LANRDD_WHICH_SENT
                   002C 01
    LANRDD_XBPNT   0028
    LANRDD_XFPNT   0024
    LANRDDLB       0030 00000034
    LANRDDLD       0030 00000007
    LANRDV         0041 80
    LANREST        0041 02
    LANRFCTR       0044
    LANRRDEV       0140
    LANRRDVT       0144
    LANRTBL        00CC
    LANRXTBL       0170
    LANSPBLK       0070
    LANSPEED       0078
    LANSUSR        00C4
    LANSWPBK       0148
    LANSYSLN       0040 08
    LANTRACE       0080
    LANTRANP       0027
    LANTRANS       0040 02
    LANTRCBK       00C8
    LANTRID        00C0
    LANTRNET       0025 00000002
    LANTYPE        0024
    LANUPDBY       0068
    LANUSEFX       0130
    LANUSRLN       0040 04
    LANVDEVN       007C
    LANVDFLG       007C
    LANVID_BPNT    0004
    LANVID_CTR     000C
    LANVID_DLCTR   0010
    LANVID_FPNT    0000
    LANVID_ID      0008
    LANVID_TIMC    0014
    LANVID_TIMU    001C
    LANVIDLN       001C 00000024
    LANVIDSZ       001C 00000005
    LANVLACT       0041 01
    LANVLANL       00B8
    LANVLFLT       0041 10
    LANVSW         0026 00000002
    LANXIPV6       012D 80
    LAN10GE        0025 00000010
    MSVVSWIT       007C 80

    This information is
    based on z/VM V6R1.0.
    Last updated on 18 Feb 2010 at 08:46:01 EDT.

    Copyright IBM Corporation, 1990, 2008