Deleted Added
full compact
print-lane.c (127668) print-lane.c (146773)
1/*
2 * Marko Kiiskila carnil@cs.tut.fi
3 *
4 * Tampere University of Technology - Telecommunications Laboratory
5 *
6 * Permission to use, copy, modify and distribute this
7 * software and its documentation is hereby granted,
8 * provided that both the copyright notice and this

--- 8 unchanged lines hidden (view full) ---

17 * CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR
18 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS
19 * SOFTWARE.
20 *
21 */
22
23#ifndef lint
24static const char rcsid[] _U_ =
1/*
2 * Marko Kiiskila carnil@cs.tut.fi
3 *
4 * Tampere University of Technology - Telecommunications Laboratory
5 *
6 * Permission to use, copy, modify and distribute this
7 * software and its documentation is hereby granted,
8 * provided that both the copyright notice and this

--- 8 unchanged lines hidden (view full) ---

17 * CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR
18 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS
19 * SOFTWARE.
20 *
21 */
22
23#ifndef lint
24static const char rcsid[] _U_ =
25 "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.20.2.2 2003/11/16 08:51:31 guy Exp $ (LBL)";
25 "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.23 2004/03/17 23:24:37 guy Exp $ (LBL)";
26#endif
27
28#ifdef HAVE_CONFIG_H
29#include "config.h"
30#endif
31
32#include <tcpdump-stdinc.h>
33

--- 45 unchanged lines hidden (view full) ---

79 etheraddr_string(ep->h_dest),
80 etherproto_string(ep->h_type),
81 length);
82}
83
84/*
85 * This is the top level routine of the printer. 'p' points
86 * to the LANE header of the packet, 'h->ts' is the timestamp,
26#endif
27
28#ifdef HAVE_CONFIG_H
29#include "config.h"
30#endif
31
32#include <tcpdump-stdinc.h>
33

--- 45 unchanged lines hidden (view full) ---

79 etheraddr_string(ep->h_dest),
80 etherproto_string(ep->h_type),
81 length);
82}
83
84/*
85 * This is the top level routine of the printer. 'p' points
86 * to the LANE header of the packet, 'h->ts' is the timestamp,
87 * 'h->length' is the length of the packet off the wire, and 'h->caplen'
87 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
88 * is the number of bytes actually captured.
89 *
90 * This assumes 802.3, not 802.5, LAN emulation.
91 */
92void
93lane_print(const u_char *p, u_int length, u_int caplen)
94{
95 struct lane_controlhdr *lec;

--- 73 unchanged lines hidden ---
88 * is the number of bytes actually captured.
89 *
90 * This assumes 802.3, not 802.5, LAN emulation.
91 */
92void
93lane_print(const u_char *p, u_int length, u_int caplen)
94{
95 struct lane_controlhdr *lec;

--- 73 unchanged lines hidden ---