How about having an option -p that would prefix all lines of tethereal
output (when using -V that is) with the COL_PROTOCOL value for that set of
data. I.e. instead of:
User Datagram Protocol
Source port: 7002 (7002)
Destination port: 7002 (7002)
Length: 40
Checksum: 0x7a8a (correct)
RX Protocol
Epoch: Oct 18, 1902 22:15:31.0000
CID: 1265141308
Call Number: 13
Sequence Number: 0
Serial: 14
Type: abort (4)
Flags: 0x00
...0 .... = Free Packet: 0
.... 0... = More Packets: 0
.... .0.. = Last Packet: 0
.... ..0. = Request Ack: 0
.... ...0 = Client Initiated: 0
User Status: 0
Security Index: 2
Spare/Checksum: 0
Service ID: 50
Andrew File System (AFS)
Service: UBIK - Protection Server Reply
Operation: vote-beacon (10000)
have
UDP: User Datagram Protocol
UDP: Source port: 7002 (7002)
UDP: Destination port: 7002 (7002)
UDP: Length: 40
UDP: Checksum: 0x7a8a (correct)
RX: RX Protocol
RX: Epoch: Oct 18, 1902 22:15:31.0000
RX: CID: 1265141308
RX: Call Number: 13
RX: Sequence Number: 0
RX: Serial: 14
RX: Type: abort (4)
RX: Flags: 0x00
RX: ...0 .... = Free Packet: 0
RX: .... 0... = More Packets: 0
RX: .... .0.. = Last Packet: 0
RX: .... ..0. = Request Ack: 0
RX: .... ...0 = Client Initiated: 0
RX: User Status: 0
RX: Security Index: 2
RX: Spare/Checksum: 0
RX: Service ID: 50
AFS: Andrew File System (AFS)
AFS: Service: UBIK - Protection Server Reply
AFS: Operation: vote-beacon (10000)
or something like that...
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@xxxxxxx
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216