dahdi-linux/include/dahdi
Harald Welte 588281bff0 Introduce virtual DAHDI trunk device
This virtual trunk device is a new character device. Contrary to
the per-channel devices, this is a per-span device for virtual E1
spans.  Userspace reads and writes 32-byte E1 frames on it.

ioctl's are added to create and delete such virtual trunk devices
at runtime.  Each virtual trunk device is limited to one span.

Opening trunkdev is similar to opening channels via /dev/dahdi/chan
works:  All users open the same generic device node but then issue
an ioctl to specify which (named) trundev they actually want to open.

This avoids having to dynamically register minor device ids, creating
device nodes, etc.

The trunkdev is in RED + LOS alarm after creation.  Only once a userspace
process opens the E1 frame side, those alarms cease.

Change-Id: Iffd9a1a09d835b29927acd374364cab56745fb74
2023-08-09 15:55:31 +00:00
..
Kbuild wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
dahdi_config.h enable PPP and DAHDI_MIRROR by default. 2022-04-24 18:06:56 +02:00
fasthdlc.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
kernel.h Introduce virtual DAHDI trunk device 2023-08-09 15:55:31 +00:00
user.h Introduce virtual DAHDI trunk device 2023-08-09 15:55:31 +00:00
wctdm_user.h wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00