|
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 LANENET 1 - EtherNet LAN
00000002 LANTRNET 2 - TokenRing LAN
00000007 LANFDDI 7 - FDDI LAN
00000080 LANQDIO 128 - QDIO LAN (X'80' bit)
0025 37 Bitstring 3 * 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
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 Bitstring 4 * Reserved
005C 92 Signed 4 LANMFS Maximum Frame Size in bytes
0060 96 Signed 4 LANMAXCN Maximum number of connections
0064 100 Signed 4 LANCNCTR LAN Connection Counter
0068 104 Address 4 LANNICHD Pointer to first NICBK
006C 108 Address 4 * <DELETE> Pointer to last
NICBK
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.
0070 112 Dbl-Word 8 LANIPTBL (6) Reserve a MLTBK here
End of the LANBK.
00A0 160 Bitstring 1 LAN$END (0) End of the LANBK
000000A0 LANBKLN *-LANBK Length of LANBK in bytes
00000014 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 |////////////////////|
* +---------------------------+------+--------------------+
* 28 | |
* = LANLKWRD =
* | |
* +------+--------------------+---------------------------+
* 40 |:CFLG |////////////////////| LANRFCTR |
* +------+--------------------+---------------------------+
* 48 | LANFPNT | LANBPNT |
* +---------------------------+---------------------------+
* 50 | LANACLHD | LANACLTL |
* +---------------------------+---------------------------+
* 58 |///////////////////////////| LANMFS |
* +---------------------------+---------------------------+
* 60 | LANMAXCN | LANCNCTR |
* +---------------------------+---------------------------+
* 68 | LANNICHD |///////////////////////////|
* +---------------------------+---------------------------+
* 70 | |
* = LANIPTBL =
* | |
* +-------------------------------------------------------+
*
*** LANBK - Virtual LAN block
LANBK Cross Reference
Symbol Dspl Value -------------- ---- ----- LAN$END 00A0 LANACLHD 0050 LANACLTL 0054 LANBKLN 00A0 000000A0 LANBKSZ 00A0 00000014 LANBPNT 004C LANCFLG 0040 LANCNCTR 0064 LANDEFBY 0018 LANDESC 0010 LANDFTOD 0020 LANDLPRG 0040 40 LANENET 0024 00000001 LANFDDI 0024 00000007 LANFPNT 0048 LANID 0000 LANINPRG 0040 80 LANIPTBL 0070 LANLIMCN 0040 20 LANLIMID 0040 10 LANLKWRD 0028 LANMAXCN 0060 LANMFS 005C LANNAME 0008 LANNICHD 0068 LANOWNER 0000 LANQDIO 0024 00000080 LANRFCTR 0044 LANSYSLN 0040 08 LANTRANS 0040 02 LANTRNET 0024 00000002 LANTYPE 0024 LANUSRLN 0040 04
Copyright IBM Corporation, 1990, 2001