forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
Separate the stuff that any record could have from the stuff that only particular record types have; put the latter into a union, and put all that into a wtap_rec structure. Add some record-type checks as necessary. Change-Id: Id6b3486858f826fce4b096c59231f463e44bfaa2 Reviewed-on: https://code.wireshark.org/review/25696 Reviewed-by: Guy Harris <guy@alum.mit.edu>
27 lines
574 B
C
27 lines
574 B
C
/* atm.h
|
|
*
|
|
* Wiretap Library
|
|
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef __ATM_H__
|
|
#define __ATM_H__
|
|
#include <glib.h>
|
|
#include "ws_symbol_export.h"
|
|
|
|
/*
|
|
* Routines to use with ATM capture file types that don't include information
|
|
* about the *type* of ATM traffic (or, at least, where we haven't found
|
|
* that information).
|
|
*/
|
|
|
|
extern void
|
|
atm_guess_traffic_type(wtap_rec *rec, const guint8 *pd);
|
|
|
|
extern void
|
|
atm_guess_lane_type(wtap_rec *rec, const guint8 *pd);
|
|
|
|
#endif /* __ATM_H__ */
|