| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Macros
i4b_trace.h File Reference

Go to the source code of this file.

## Classes
struct | i4b_trace_hdr_t
| Header prepended to each ISDN4BSD kernel trace buffer entry describing a captured channel frame. More...
struct | i4b_trace_setupa_t
| Configuration parameters specifying which ISDN controller units and channels to trace. More...

## Macros
#define | TRC_CH_I 0
#define | TRC_CH_D 1
#define | TRC_CH_B1 2
#define | TRC_CH_B2 3
#define | FROM_TE 0
#define | FROM_NT 1
#define | INFO0 0 /* layer 1 */
#define | INFO1_8 1
#define | INFO1_10 2
#define | INFO2 3
#define | INFO3 4
#define | INFO4_8 5
#define | INFO4_10 6
#define | I4B_TRC_GET _IOR('T', 0, int) /* get trace settings */
#define | I4B_TRC_SET _IOW('T', 1, int) /* set trace settings */
#define | TRACE_OFF 0x00 /* tracing off */
#define | TRACE_I 0x01 /* trace L1 INFO's on */
#define | TRACE_D_TX 0x02 /* trace D channel on */
#define | TRACE_D_RX 0x04 /* trace D channel on */
#define | TRACE_B_TX 0x08 /* trace B channel on */
#define | TRACE_B_RX 0x10 /* trace B channel on */
#define | I4B_TRC_SETA _IOW('T', 2, i4b_trace_setupa_t) /* set analyze mode */
#define | I4B_TRC_RESETA _IOW('T', 3, int) /* reset analyze mode */

## Detailed Description

Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause

## Macro Definition Documentation

## ◆ FROM_NT

#define FROM_NT 1

Frame originated from the Network Termination (network → user).

## ◆ FROM_TE

#define FROM_TE 0

Frame originated from the Terminal Equipment (user → network).

## ◆ TRC_CH_B1

#define TRC_CH_B1 2

B1 bearer channel.

## ◆ TRC_CH_B2

#define TRC_CH_B2 3

B2 bearer channel.

## ◆ TRC_CH_D

#define TRC_CH_D 1

D channel (signalling).

## ◆ TRC_CH_I

#define TRC_CH_I 0

Layer 1 INFO signal (physical layer).