Programming Interface Information:
This information is NOT intended to be used as Programming Interfaces of z/VM. |
LANBK
Control Block Contents
LANBK DSECT
LANVID DSECT
LANRDD DSECT
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 RELOCATION CONSIDERATIONS : None 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 00000004 LANINMN 4 LANINMN - INMN LAN 00000005 LANIEDN 5 LANIEDN - IEDN 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. Depending on the porttype, traffic on the default VID may or may not be delivered to the guest tagged. (INGRESS rule). There is no default VLAN ID for a virtual switch created as DEFINE VSWITCH VLAN AWARE. In this case LANDFVID is set to x'8000'; thus indicating no default LAN ID assigned. +---+-----+--------------+ LANDFVID | I | 000 | XXXXXXXXXXXX | +---+-----+--------------+ I = Invalid bit. When bit is on, there is no DEFAULT VLAN ID x = VLAN ID 1-4094 0074 116 Signed 2 LANDFVID Default VLAN ID 1... .... LANINVLD X'80' LANINVLD - No Default VLAN (VLAN AWARE) LANDFVID LANDFMSK X'0FFF' LANDFMSK - Default VLAN ID Mask 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 LANVDFLG Bits defined in HCPMSVBK MSVVDFLG 007C 124 Bitstring 1 LANVDFLG Virtual Device Type Flag 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). There is no NATIVE VLAN ID for a virtual switch created as DEFINE VSWITCH NATIVE NONE. In this case LANNVID is set to x'8000'; thus indicating no default LAN ID assigned. +---+-----+--------------+ LANNVID | I | 000 | XXXXXXXXXXXX | +---+-----+--------------+ I = Invalid bit. When bit is on, there is no DEFAULT VLAN ID x = VLAN ID 1-4094 LANNVID Bits defined in HCPLANBK LANDFVID 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 UPLINK NIC fields. 00D0 208 Bitstring 10 LANUSRDV (0) UPLINK NIC userid/dev addr 00D0 208 Character 8 LANNCUSR UPLINK NIC userid 00D8 216 Signed 2 LANNCDEV UPLINK NIC virtual device addr 00DA 218 Bitstring 1 LANNICCONN UPLINK NIC Connect Processing 1... .... LANNICCONN_ACT X'80' LANNICCONN_ACT - Connect/Disconnect Pendin 00DB 219 Bitstring 1 LANNIC_RSN Failure reason .... .... LANNIC_RSNNONE X'00' LANNIC_RSNNONE - None identified .... ...1 LANNIC_RSNNOUSER X'01' LANNIC_RSNNOUSER - Userid not logged on .... ..1. LANNIC_RSNNOAUTH X'02' LANNIC_RSNNOAUTH - Not authorized .... ..11 LANNIC_RSNNOVDEV X'03' LANNIC_RSNNOVDEV - VDEV does not exist .... .1.. LANNIC_RSNVDEVATT X'04' LANNIC_RSNVDEVATT - VDEV is attached elsew .... .1.1 LANNIC_RSNVDEVTYPE X'05' LANNIC_RSNVDEVTYPE - VDEV not compatible t .... .11. LANNIC_RSNVLANCONF X'06' LANNIC_RSNVLANCONF - vlan conflict .... .111 LANNIC_RSNNOMAC X'07' LANNIC_RSNNOMAC - No MAC address .... 1... LANNIC_RSNNOTENSEM X'08' LANNIC_RSNNOTENSEM - Not managed by Unifie Resource Manager .... 1..1 LANNIC_RSNPORTERR X'09' LANNIC_RSNPORTERR - Port error .... 11.1 LANNIC_RSNMISMATCH X'0D' LANNIC_RSNMISMATCH - Type Mismatch (IP< 1111 1111 LANNIC_RSNUNKNOWN X'FF' LANNIC_RSNUNKNOWN - Unknown error 00DC 220 Signed 4 LANUPPT UPLINK NIC portnumber 00E0 224 Signed 4 LANNICBK UPLINK NIC Adapter 00E4 228 Signed 4 * Reserved ******** 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. 00E8 232 Dbl-Word 8 LANCTLCK (3) LAN CONTROLLER lock word Active Interface Definition - 0100 256 Character 64 LANCNS (0) Controller 0100 256 Character 8 LANCONT Controller 0108 264 Character 8 LANCON2 Controller2 0110 272 Character 8 LANCON3 Controller3 0118 280 Character 8 LANCON4 Controller4 0120 288 Character 8 LANCON5 Controller5 0128 296 Character 8 LANCON6 Controller6 0130 304 Character 8 LANCON7 Controller7 0138 312 Character 8 LANCON8 Controller8 0140 320 Signed 4 * Reserved 0144 324 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. 0145 325 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 0146 326 Signed 2 LANCONCT Count of configured controllers 0148 328 Signed 4 LANUSEFX Adjustment factor for IPNUSAGE 014C 332 Address 4 LANIPCHN Chain of deferred SETIP requests 0150 336 Address 4 LANIPCHE Last entry - Chain of deferred SETIP requests 0154 340 Signed 4 LANIPCNT Count of incomplete SETIP reqs 0158 344 Address 4 LANRRDEV Chain of LANRDD descriptors(head) 015C 348 Address 4 LANRRDVT LANRDD descriptors (tail) 0160 352 Signed 4 LANSWPBK Link Aggregation Port Group Token 0164 356 Signed 4 LANMGIPA LAN Management IP Address 0168 360 Address 4 LANMGSWI SWIBK for management stack 016C 364 Signed 4 LANMGPOH Guest port/ifIndex high water mrk (Always > 65) LANMACPR Codes defined in HCPSLMBK SLMMACPR 0170 368 Bitstring 1 LANMACPR LAN MACProtect setting 0171 369 Bitstring 1 LANCFLG3 More LAN Configuration Flags 1... .... LANNIC X'80' LANNIC - NIC was specified for VSWITCH .1.. .... LANNOUPL X'40' LANNOUPL - NOUPLINK was specified for VSWITCH ..1. .... LANPORTB X'20' LANPORTB - PORT BASED vswitch ...1 .... LANUSERB X'10' LANUSERB - USER BASED vswitch 0172 370 Bitstring 2 * Reserved for IBM use 0174 372 Address 4 LANMGNIC LAN Management NICBK LANMGNIC LANMXGST 2048 LANMXGST Max guest ports .... 1... LANMXTRG 8 LANMXTRG Max port group trunk ports ..11 1... LANMXTRR 56 LANMXTRR Reserved for future use 0178 376 Address 4 LANMGPTR Pointer to LAN Management maps 1... .... LANMGPOR X'80' LANMGPOR Port is in use LANMGPTR LANMGAGG 2112 LANMGAGG Aggregator ifIndex constant 017C 380 Signed 4 * Reserved for IBM use 0180 384 Dbl-Word 8 LANMGTIM Time of manager assignment ******** End of Virtual Switch Controller/ ******** Management ID section. 0188 392 Dbl-Word 8 * Reserved for IBM use 0190 400 Dbl-Word 8 * Reserved for IBM use 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 0198 408 Dbl-Word 8 LANRXTBL (2) Reserve a MLTBK here End of the LANBK. 000001B8 LAN$END * End of the LANBK 000001B8 LANBKLN *-LANBK Length of LANBK in bytes 00000037 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_RSNRDEVTYPE X'05' LANRDD_RSNRDEVTYPE - RDEV not compatible t renamed from LANRDD_RSNNOTQDIO .... .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 ...1 1.1. LANRDD_RSNEQIDMISMT X'1A' LANRDD_RSNEQIDMISMT - EQID Mismatch ...1 1.11 LANRDD_RSNCONTROLLER X'1B' LANRDD_RSNCONTROLLER -Incompatible contr 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 * Reserved for future use. 0030 48 Signed 4 * 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 | LANNCUSR | * +-------------+------+------+---------------------------+ * D8 | LANNCDEV |(0DA) |(0DB) | LANUPPT | * +-------------+------+------+---------------------------+ * E0 | LANNICBK |///////////////////////////| * +---------------------------+---------------------------+ * E8 | | * = LANCTLCK = * | | * +-------------------------------------------------------+ * 100 | LANCONT | * +-------------------------------------------------------+ * 108 | LANCON2 | * +-------------------------------------------------------+ * 110 | LANCON3 | * +-------------------------------------------------------+ * 118 | LANCON4 | * +-------------------------------------------------------+ * 120 | LANCON5 | * +-------------------------------------------------------+ * 128 | LANCON6 | * +-------------------------------------------------------+ * 130 | LANCON7 | * +-------------------------------------------------------+ * 138 | LANCON8 | * +---------------------------+------+------+-------------+ * 140 |///////////////////////////|:CTSTA|:CTFLG| LANCONCT | * +---------------------------+------+------+-------------+ * 148 | LANUSEFX | LANIPCHN | * +---------------------------+---------------------------+ * 150 | LANIPCHE | LANIPCNT | * +---------------------------+---------------------------+ * 158 | LANRRDEV | LANRRDVT | * +---------------------------+---------------------------+ * 160 | LANSWPBK | LANMGIPA | * +---------------------------+---------------------------+ * 168 | LANMGSWI | LANMGPOH | * +------+------+-------------+---------------------------+ * 170 |:MACPR|:CFLG3|/////////////| LANMGNIC | * +------+------+-------------+---------------------------+ * 178 | LANMGPTR |///////////////////////////| * +---------------------------+---------------------------+ * 180 | LANMGTIM | * +-------------------------------------------------------+ * 188 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 190 |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 198 | LANRXTBL | * | | * +-------------------------------------------------------+ * 1A8 * *** 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) |//////| * +---------------------------+------+------+------+------+ * 30 |///////////////////////////| 34 * +---------------------------+ * *** LANRDD - Virtual LAN block
LANBK Cross Reference
Symbol Dspl Value -------------- ---- ----- LAN$END 0198 000001B8 LANACLHD 0050 LANACLTL 0054 LANACNT 0040 01 LANATM 0025 00000090 LANATME 0025 00000081 LANATMGE 0025 00000083 LANATMP 0025 00000088 LANATMTR 0025 00000082 LANBKLN 0198 000001B8 LANBKSZ 0198 00000037 LANBPNT 004C LANCFLG 0040 LANCFLG2 0041 LANCFLG3 0171 LANCNCTR 0064 LANCNLST 0060 LANCNS 0100 LANCONCT 0146 LANCONT 0100 LANCON2 0108 LANCON3 0110 LANCON4 0118 LANCON5 0120 LANCON6 0128 LANCON7 0130 LANCON8 0138 LANCTATT 0144 05 LANCTDEF 0144 01 LANCTDEL 0144 0A LANCTDET 0144 09 LANCTDIS 0144 04 LANCTFLG 0145 LANCTINI 0144 06 LANCTLCK 00E8 LANCTLST 0144 0C LANCTNOC 0144 02 LANCTNOT 0144 07 LANCTOPR 0144 03 LANCTRCV 0144 0B LANCTRDY 0144 08 LANCTRES 0144 0C LANCTSTA 0144 LANDEFBY 0018 LANDESC 0010 LANDEV# 007E LANDFMSK 0074 LANDFVID 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 LANIEDN 0024 00000005 LANINMN 0024 00000004 LANINPRG 0040 80 LANINVLD 0074 80 LANIP 0027 00000001 LANIPCHE 0150 LANIPCHN 014C LANIPCNT 0154 LANIPCTR 00B4 LANIPTBL 00B0 LANIPTO 0042 LANISOFL 00BF LANLEVEL 0026 LANLIMCN 0040 20 LANLIMID 0040 10 LANLKAG 0041 04 LANLKWRD 0028 LANMACPR 0170 LANMACSF 00BC LANMAXCN 005C LANMCCTR 008C LANMCTBL 0088 LANMFS 0058 LANMGAGG 0178 LANMGPTR LANMGIPA 0164 LANMGNIC 0174 LANMGPOH 016C LANMGPOR 0178 80 LANMGPTR 0178 LANMGSWI 0168 LANMGTIM 0180 LANMRCTR 008E LANMSARP 0145 10 LANMSGVR 0145 04 LANMSRCV 0145 02 LANMXGST 0174 LANMGNIC LANMXTRG 0174 08 LANMXTRR 0174 38 LANNAME 0008 LANNCDEV 00D8 LANNCUSR 00D0 LANNIC 0171 80 LANNIC_RSN 00DB LANNIC_RSNMISMATCH 00DB 0D LANNIC_RSNNOAUTH 00DB 02 LANNIC_RSNNOMAC 00DB 07 LANNIC_RSNNONE 00DB 00 LANNIC_RSNNOTENSEM 00DB 08 LANNIC_RSNNOUSER 00DB 01 LANNIC_RSNNOVDEV 00DB 03 LANNIC_RSNPORTERR 00DB 09 LANNIC_RSNUNKNOWN 00DB FF LANNIC_RSNVDEVATT 00DB 04 LANNIC_RSNVDEVTYPE 00DB 05 LANNIC_RSNVLANCONF 00DB 06 LANNICBK 00E0 LANNICCONN 00DA LANNICCONN_ACT 00DA 80 LANNOARP 0145 20 LANNOGVR 0145 08 LANNOUPL 0171 40 LANNVID 00B6 LANOWNER 0000 LANPORTB 0171 20 LANPROM 0084 LANPROTO 0025 LANPRTAC 0145 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_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_RSNCONTROLLER 001D 1B LANRDD_RSNDEDICATED 001D 16 LANRDD_RSNDETACHED 001D 0C LANRDD_RSNEQIDMISMT 001D 1A 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_RSNNOTREADY 001D 13 LANRDD_RSNOFFLINE 001D 0B LANRDD_RSNPORTNAME 001D 01 LANRDD_RSNRDEVATT 001D 04 LANRDD_RSNRDEVTYPE 001D 05 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 0158 LANRRDVT 015C LANRTBL 00CC LANRXTBL 0198 LANSPBLK 0070 LANSPEED 0078 LANSUSR 00C4 LANSWPBK 0160 LANSYSLN 0040 08 LANTRACE 0080 LANTRANP 0027 LANTRANS 0040 02 LANTRCBK 00C8 LANTRID 00C0 LANTRNET 0025 00000002 LANTYPE 0024 LANUPDBY 0068 LANUPPT 00DC LANUSEFX 0148 LANUSERB 0171 10 LANUSRDV 00D0 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 0145 80 LAN10GE 0025 00000010
Copyright IBM Corporation, 1990, 2011