IPSec dynamic tunnel removed record (subtype 78)

The IPSec dynamic tunnel removed record is collected whenever the TCP/IP Stack removes a dynamic tunnel. This record contains information about the characteristics of the dynamic tunnel that was removed. This record uses the NMsecIPTunnel, NMsecIPDynTunnel, and NMsecIPDynamicStack structures. If you are using the IPSec NMI, the common IP tunnel section of this SMF record is analogous to the NMsecIPTunnel structure, the dynamic tunnel section is analogous to the NMsecIPDynTunnel structure, and the stack dynamic tunnel section is analogous to the NMsecIPDynamicStack structure.

Result: When a TCP/IP stack is stopped, all dynamic tunnels are removed from the stack, and subtype 78 records are generated at that time.

See Table 1 for the contents of the TCP/IP stack identification section. For the IPSec dynamic tunnel removed record, the TCP/IP stack identification section indicates STACK as the subcomponent and X'08' (event record) as the record reason.

See Table 2 for the contents of the common IP tunnel section.

See Table 3 for the contents of the dynamic tunnel section.

Table 1 lists the contents of the IPSec dynamic tunnel removed record self-defining section.
Table 1. IPSec dynamic tunnel removed record self-defining section
Offset Name Length Format Description
0(X'0') SMF119_HDR 24 EBCDIC Standard SMF header; subtype is 78(X'4E')
Self-defining section
24(X'18') SMF119SD_TRN 2 Binary Number of triplets in this record (4).
26(X'1A')   2 Binary Reserved
28(X'1C') SMF119IDOff 4 Binary Offset to TCP/IP identification section
32(X'20') SMF119IDLen 2 Binary Length of TCP/IP identification section
34(X'22') SMF119IDNum 2 Binary Number of TCP/IP identification sections
36(X'24') SMF119S1Off 4 Binary Offset to common IP tunnel section
40(X'28') SMF119S1Len 2 Binary Length of common IP tunnel section
42(X'2A') SMF119S1Num 2 Binary Number of common IP tunnel sections
44(X'2C') SMF119S2Off 4 Binary Offset to dynamic tunnel section
48(X'30') SMF119S2Len 2 Binary Length of dynamic tunnel section
50(X'32') SMF119S2Num 2 Binary Number of dynamic tunnel sections
52(X'34') SMF119S3Off 4 Binary Offset to stack dynamic tunnel removed section
56(X'38') SMF119S3Len 2 Binary Length of stack dynamic tunnel removed sections
58(X'3A') SMF119S3Num 2 Binary Number of stack dynamic tunnel removed sections

Table 2 lists the contents of the IPSec dynamic tunnel removed specific section.

Table 2. IPSec dynamic tunnel removed specific section
Offset Name Length Format Description
0(X'0')   4 Binary Dynamic tunnel removed flags.

The following list identifies the bits, their names, and meaning:

  • X'8000000', SMF119IS_IPDynStackShadow: SWSA shadow indicator. If set, the tunnel is an SWSA shadow tunnel originating from a distributing stack.
  • 1 - 31, SMF119IS_IPDynStackRsvd1: Reserved bits.
4(X'4') SMF119IS_IPDynStackLifesizeCur 8 Binary Current lifesize value. If the tunnel lifesize value is set, this setting represents the current value of the lifesize counter.
12(X'C') SMF119IS_IPDynStackOutPkt 8 Binary Outbound packet count for this tunnel. For SWSA tunnels, this value represents this tunnel's outbound packet count only for this particular TCP/IP stack.
20(X'14') SMF119IS_IPDynStackInPkt 8 Binary Inbound packet count for this tunnel. For SWSA tunnels, this value represents this tunnel's inbound packet count only for this particular TCP/IP stack.
28(X'1C') SMF119IS_IPDynStackOutBytes 8 Binary Outbound byte count for this tunnel, representing the number of outbound data bytes protected by the tunnel. For SWSA tunnels, this value represents this tunnel's outbound byte count only for this particular TCP/IP stack.
36(X'24') SMF119IS_IPDynStackInBytes 8 Binary Inbound byte count for this tunnel, representing the number of inbound data bytes protected by the tunnel. For SWSA tunnels, this value represents this tunnel's inbound byte count only for this particular TCP/IP stack.