! Peer information tables for INet process, GDMR, Feb. 1987

%conststring(31) peer table name = "INET__PEER_TABLE"

%constinteger peer slots = 64

%constinteger peer statistics = 54

%recordformat peer info fm(%integer address,
                           %record(ether address fm) ether address,
                           %record(peer info fm)%name gateway,
                           %integer flags,
                           ((%integer ARP in, ARP for us,
                             %integer ARP for old broadcast, ARP for new broadcast,
                             %integer ARP out,
                             %integer IP packets in, IP bytes in,
                             %integer IP old broadcasts, IP new broadcasts,
                             %integer IP fragmented packets, IP dud lengths,
                             %integer IP dud protocols, IP other errors,
                             %integer IP packets out, IP bytes out,
                             %integer ICMP in, ICMP errors in,
                             %integer ICMP broadcasts,
                             %integer ICMP out, ICMP errors out,
                             %integer TCP packets in, TCP bytes in,
                             %integer TCP packets out, TCP bytes out,
                             %integer TCP bogus addresses,
                             %integer TCP checksum errors, TCP for closed,
                             %integer TCP resets received, TCP junk received,
                             %integer TCP SYNs received, TCP FINs received,
                             %integer TCP good ACKs received,
                             %integer TCP old ACKs received, TCP dud ACKs received,
                             %integer TCP window updates,
                             %integer TCP connections established,
                             %integer TCP connections reset,
                             %integer TCP connections closed,
                             %integer TCP acceptable segments,
                             %integer TCP unacceptable segments,
                             %integer TCP ahead segments,
                             %integer TCP duplicate bytes,
                             %integer TCP data bytes received,
                             %integer TCP data bytes sent,
                             %integer TCP retransmits, TCP retransmit timeouts,
                             %integer UDP packets in, UDP bytes in,
                             %integer UDP checksum errors, UDP no checksums,
                             %integer UDP bogus checksums, UDP other errors,
                             %integer UDP packets out, UDP bytes out) %or %c
                            %integerarray x(1 : peer statistics)))
! Ether removed to non-peer stats page.  Some "duplicate" ARP logging
! there too...

%constinteger peer info size = 14 {addresses}   + %c
                                4 {flags}       + %c
                               20 {ARP}         + %c
                               40 {IP}          + %c
                               20 {ICMP}        + %c
                              104 {TCP}         + %c
                               32 {UDP}

%constinteger peer ether address known = 1
%constinteger peer gated               = 2

%recordformat peer table fm(%integer slots used,
                            %record(peer info fm)%array slot(1 : peer slots))
%constinteger peer table size = peer info size * peer slots + 4

%end %of %file
