From c312f69abcbd44c8ca982f16d086c5bef05783f7 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Thu, 21 Sep 2000 04:41:37 +0000 Subject: Make sure to pass the sent/received direction from pppdump.c in pseudo_header. Use generic "p2p_phdr" instead of "lapd_phdr". Modify toshiba.c and packet-lapd.c to take that into account. Add frame.p2p_dir, a filterable field, 0=sent, 1=recvd Make p2p_dir available in packe_info, as I think it will be needed in VJ COMP and UNCOMP dissection. Rename WTAP_ENCAP_TR to WTAP_ENCAP_TOKEN_RING. Mention pppd-log support in man page. Mention atmsnoop in README. svn path=/trunk/; revision=2455 --- wiretap/ngsniffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wiretap/ngsniffer.c') diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c index 898806c5fc..807cda7dee 100644 --- a/wiretap/ngsniffer.c +++ b/wiretap/ngsniffer.c @@ -1,6 +1,6 @@ /* ngsniffer.c * - * $Id: ngsniffer.c,v 1.51 2000/09/07 05:34:16 gram Exp $ + * $Id: ngsniffer.c,v 1.52 2000/09/21 04:41:33 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -291,7 +291,7 @@ int ngsniffer_open(wtap *wth, int *err) guint16 start_date; guint16 start_time; static const int sniffer_encap[] = { - WTAP_ENCAP_TR, + WTAP_ENCAP_TOKEN_RING, WTAP_ENCAP_ETHERNET, WTAP_ENCAP_ARCNET, WTAP_ENCAP_UNKNOWN, /* StarLAN */ @@ -893,7 +893,7 @@ static void ngsniffer_close(wtap *wth) static const int wtap_encap[] = { -1, /* WTAP_ENCAP_UNKNOWN -> unsupported */ 1, /* WTAP_ENCAP_ETHERNET */ - 0, /* WTAP_ENCAP_TR */ + 0, /* WTAP_ENCAP_TOKEN_RING */ -1, /* WTAP_ENCAP_SLIP -> unsupported */ 7, /* WTAP_ENCAP_PPP -> Internetwork analyzer (synchronous) FIXME ! */ -1, /* WTAP_ENCAP_FDDI -> unsupported */ -- cgit v1.2.1