wireshark/epan/dissectors/packet-pw-atm.h
Guy Harris 814c57a8b5 Pass a structure including an atm_phdr to dissect_atm_pw_oam_cell().
This will allow the VPI and VCI to be handed to
dissect_atm_cell_payload() in
https://code.wireshark.org/review/c/31381/.

That structure also needs to include the enable_fill_columns_by_atm_dissector
flag; we remove that from the pwatm_private_data_t, which is now private
to the ATM pseudo-wire dissector, and put it in the new structure.

Change-Id: I88f4a9f4b3c4c1c94914311bb883ea38e10ca4b4
Reviewed-on: https://code.wireshark.org/review/31384
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-01-05 08:19:03 +00:00

23 lines
482 B
C

/* packet-pw-atm.h
* Interface of pw-atm module
* Copyright 2009, Artem Tamazov <artem.tamazov@tellabs.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_PW_ATM_H
#define PACKET_PW_ATM_H
#include "packet-pw-common.h"
struct pw_atm_phdr {
struct atm_phdr info;
gboolean enable_fill_columns_by_atm_dissector;
};
#endif /*PACKET_PW_ATM_H*/