Programming Interface Information:
This information is NOT intended to be used as Programming Interfaces of z/VM. |
LANBK
Control Block Contents
LANBK 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 - tbd CREATED BY : CP DEFINE LAN command DELETED BY : CP DELETE 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 - HiperSockets LAN 00000002 LANQDIO 2 - QDIO LAN 0025 37 Bitstring 1 LANPROTO LAN Protocol 00000001 LANENET X'01' - Ethernet / Fast Ethernet 00000002 LANTRNET X'02' - High Speed Token Ring 00000003 LANGBE X'03' - Gigabit Ethernet 00000010 LAN10GE X'10' - 10 Gig Ethernet 00000080 LANQDIOP X'80' - QDIO Protocol 00000081 LANATME X'81' - ATM Emulated Enet Port 00000082 LANATMTR X'82' - ATM Emulated Token Ring Port 00000083 LANATMGE X'83' - ATM Emulated GbEnet + MTU size 00000088 LANATMP X'88' - ATM Emulated Port + autoconfig 00000090 LANATM X'90' - Native ATM 0026 38 Bitstring 2 * Reserved LAN Lock - 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' - Initialization in Progress .1.. .... LANDLPRG X'40' - Delete in Progress ..1. .... LANLIMCN X'20' - Limit connections by LANMAXCN ...1 .... LANLIMID X'10' - Limit connections by userid .... 1... LANSYSLN X'08' - Registered System LAN .... .1.. LANUSRLN X'04' - Private LAN .... ..1. LANTRANS X'02' - Transient LAN .... ...1 LANACNT X'01' - Accounting Enabled 0041 65 Bitstring 3 * Reserved 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 Signed 4 LANCNCTR LAN Connection Counter 0064 100 Address 4 LANNICHD Pointer to first NICBK 0068 104 Address 4 LANBCLST Pointer to Broadcast IPNXM 006C 108 Address 4 LANMCRTR Pointer to MC Router IPNXM 0070 112 Address 4 LANDFNID Pointer to Default Router NIDBK 0074 116 Bitstring 4 * Reserved LAN IP Table - LANIPTBL represents the LAN IP Table. An IP Address is used as the KEY. The associated data is a pointer to an IPNBK. 0078 120 Dbl-Word 8 LANIPTBL (6) Reserve a MLTBK here End of the LANBK. 00A8 168 Bitstring 1 LAN$END (0) End of the LANBK 000000A8 LANBKLN *-LANBK Length of LANBK in bytes 00000015 LANBKSZ (*-LANBK+7)/8 Size of LANBK in doublewords 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|/////////////| * +---------------------------+------+------+-------------+ * 28 | | * = LANLKWRD = * | | * +------+--------------------+---------------------------+ * 40 |:CFLG |////////////////////| LANRFCTR | * +------+--------------------+---------------------------+ * 48 | LANFPNT | LANBPNT | * +---------------------------+---------------------------+ * 50 | LANACLHD | LANACLTL | * +---------------------------+---------------------------+ * 58 | LANMFS | LANMAXCN | * +---------------------------+---------------------------+ * 60 | LANCNCTR | LANNICHD | * +---------------------------+---------------------------+ * 68 | LANBCLST | LANMCRTR | * +---------------------------+---------------------------+ * 70 | LANDFNID |///////////////////////////| * +---------------------------+---------------------------+ * 78 | | * = LANIPTBL = * | | * +-------------------------------------------------------+ * *** LANBK - Virtual LAN block
LANBK Cross Reference
Symbol Dspl Value -------------- ---- ----- LAN$END 00A8 LANACLHD 0050 LANACLTL 0054 LANACNT 0040 01 LANATM 0025 00000090 LANATME 0025 00000081 LANATMGE 0025 00000083 LANATMP 0025 00000088 LANATMTR 0025 00000082 LANBCLST 0068 LANBKLN 00A8 000000A8 LANBKSZ 00A8 00000015 LANBPNT 004C LANCFLG 0040 LANCNCTR 0060 LANDEFBY 0018 LANDESC 0010 LANDFNID 0070 LANDFTOD 0020 LANDLPRG 0040 40 LANENET 0025 00000001 LANFPNT 0048 LANGBE 0025 00000003 LANHIPR 0024 00000001 LANID 0000 LANINPRG 0040 80 LANIPTBL 0078 LANLIMCN 0040 20 LANLIMID 0040 10 LANLKWRD 0028 LANMAXCN 005C LANMCRTR 006C LANMFS 0058 LANNAME 0008 LANNICHD 0064 LANOWNER 0000 LANPROTO 0025 LANQDIO 0024 00000002 LANQDIOP 0025 00000080 LANRFCTR 0044 LANSYSLN 0040 08 LANTRANS 0040 02 LANTRNET 0025 00000002 LANTYPE 0024 LANUSRLN 0040 04 LAN10GE 0025 00000010
Copyright IBM Corporation, 1990, 2002