Inter-Office MemorandumToCommunication ProtocolsDateMarch 8, 1978FromDavid BoggsLocationPalo AltoSubjectPup Statistics ProtocolOrganizationParcXEROX Filed on: Statistics.bravoThis memo documents a protocol by which one host may request statistics from another host. Theprotocol is intended for monitoring gateway traffic and inter-gateway line loading.The ProtocolWhen a Pup of type SendStatistics arrives at the statistics socket, the receiver should look at thesubtype word to determine what kind of statistics are being requested. If the receiver can answerthat kind of request, it should construct a Pup of type StatisticsReply with the same Pup ID andreturn it to the requester, otherwise it should discard the packet.Packet types, formats, etc.All of the information given below is contained in PupStats.decl as BCPL manifest constants andstructure definitions.SendStatistics:Pup type #200Data: 2 bytes containing a request subtype.StatisticsAck:Pup type #201Data: 2 bytes containing a reply subtype. The rest of the Pup contains statistics in the formatdescribed by the subtype.StatisticsNak:Pup type #202Contains no data. The requested statistics are not available.statistics socket:#22Request subtypes:0-#400:Statistics for network 'subtype'-1:Gateway forwarding statisticsReply subtypes:small integers:Statistics for net type 'subtype'-1:Gateway forwarding statisticsreply formats:Gateway statistics consist of a word giving the number of directly connected networks followed by]gp c8q]r-q7Br ]q]r -q7Br Yq]r-q 7BrSsr M H5L FS Ct A,ru rB ?b >"2ur <C 9t 7rC 5 2vr /+ +v r (w6* & $0v r !&> dvr v r> > Qv Gr>  > v >rB >H_ Pup Statistics Protocol2that many words each containing one net number. Following this is zero or more blocks with theformat of the GSE structure.SLA statistics consist of the level 0 SLA routing table and a block of statistics for each line. Thesecond data word of the packet contains the maximum host number, followed by that many routingtable entries in the format of the SLARTE structure. Next is a word giving the maximum linenumber minus one, followed by that many line statistics blocks (plus one) in the format of theSLAStats structure.Ether Statistics consist of a block in the format of the EtherStats structure.Revison HistoryOctober 26, 1976First releaseMarch 8, 1978The format of the gateway statistics reply changed to include the list of nets to which the gateway isdirectly connected. frG b:% ` ]F \R3+ Z> YHD W UN R?t O}r L I G7*< E$ ?>H(d TIMESROMAN  TIMESROMAN TIMESROMAN LOGO TIMESROMAN  HELVETICA  TIMESROMAN #j/ 0oStatistics.bravoBoggsJuly 3, 1978 12:06 AM