guy 2002/04/30 03:48:28 CDT
Modified files:
wiretap iptrace.c netmon.c ngsniffer.c snoop.c
wtap.h
Log:
Replace the "ngsniffer_atm" with an "atm" pseudo-header, which isn't
just an image of the ATM Sniffer data. This means that Ethereal doesn't
have to know any ATM Sniffer-specific details (that's all hidden in
Wiretap), and allows us to add to that pseudo-header fields, traffic
types, etc. unknown to ATM Sniffers.
Have Wiretap map VPI 0/VCI 5 to the signalling AAL - for some capture
files, this might not be necessary, as they may mark all signalling
traffic as such, but, on other platforms, we don't know the AAL, so we
assume AAL5 except for 0/5 traffic. Doing it in Wiretap lets us hide
those details from Ethereal (and lets Ethereal interpret 0/5 traffic as
non-signalling traffic, in case that happens to be what it is).
We may know that traffic is LANE, but not whether it's LE Control or
emulated 802.3/802.5; handle that case.
Revision Changes Path
1.39 +18 -13 ethereal/wiretap/iptrace.c
1.52 +24 -15 ethereal/wiretap/netmon.c
1.79 +240 -10 ethereal/wiretap/ngsniffer.c
1.46 +46 -21 ethereal/wiretap/snoop.c
1.111 +76 -64 ethereal/wiretap/wtap.h