aboutsummaryrefslogtreecommitdiffstats
path: root/src/intf_line.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-29 09:29:07 +0200
committerHarald Welte <laforge@osmocom.org>2020-06-29 23:10:33 +0200
commit27b271729fc9d5cdbdf3b90bfb9e78b0b52d8de8 (patch)
tree83b52aae7e0f05d0b39a15568fd6c395a536f26b /src/intf_line.c
parent9fc4d5f4e25231fe4f175ebe5b136d4b27b8b321 (diff)
Add virtual pair of E1 interfaces
The idea is to generate a pair of virtual E1 interfaces (each with identical number of lines), where each line A:n is connected to line B:n of the pair and vice-versa. This allows to test E1 using applications back to back against each other, without any physical E1 circuits in between. Change-Id: If42c959556b17d543762546eb45dd69d25f715f2
Diffstat (limited to 'src/intf_line.c')
-rw-r--r--src/intf_line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intf_line.c b/src/intf_line.c
index afe477d..ce30b4f 100644
--- a/src/intf_line.c
+++ b/src/intf_line.c
@@ -36,6 +36,7 @@
const struct value_string e1_driver_names[] = {
{ E1_DRIVER_USB, "usb" },
+ { E1_DRIVER_VPAIR, "vpair" },
{ 0, NULL }
};