summaryrefslogtreecommitdiffstats
path: root/src/e1_input_vty.c
Commit message (Collapse)AuthorAgeFilesLines
* mISDN: optionally bypass kernel LAPD code and use userspace LAPDHarald Welte2011-08-211-2/+3
| | | | | | | | | The problem with kernel LAPD mainly is that you can only have one signalling timeslot in each E1 line/interface. However, with many BTS attached to the same line, we need multiple signalling slots per line. This allows the user to have a per-line selection between kernel-LAPD (misdn) and userspace-LAPD (misdn_lapd) drivers in the config file.
* add string.h include to fix compiler warningHarald Welte2011-08-191-0/+1
|
* E1 Input: Add rate counters for events related to E1 linesHarald Welte2011-08-161-9/+24
|
* E1 Input: Move 'show e1_*' command to e1_input_vty.cHarald Welte2011-08-161-0/+118
|
* E1 Input: Add VTY command to specify the name of a LineHarald Welte2011-08-161-1/+28
| | | | So far, there was no way to set the line->name field at all.
* update to comply with libosmocore namespace fixesHarald Welte2011-07-191-3/+3
| | | | | This updates the code and brings it in sync to libosmocore git commit 892e621fec571c7cba3573caa0d328ed1b25d8ee
* talloc: revert to use talloc inside libosmocoreHarald Welte2011-07-181-1/+1
| | | | | | It's not a good idea to confuse the two changes with each other. Moving the Abis part into a separate library is independent from the question whether we have talloc inside libosmocore or use a stand-alone talloc library.
* e1_input: add new refcounting scheme to avoid leaking E1 linesPablo Neira Ayuso2011-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch 's/e1inp_line_get/e1inp_line_find/g' since we need this function name for the new refcounting scheme. Basically, I have added a new function to clone lines that is used by the ipaccess driver: struct e1inp_line *e1inp_line_clone(void *ctx, struct e1inp_line *line); And two functions to bump and decrement the refcount: void e1inp_line_get(struct e1inp_line *line); void e1inp_line_put(struct e1inp_line *line); This is useful to avoid leaking virtual E1 lines in the ipaccess case, since we have two sockets for OML and RSL respectively, we have to release the line *once* both sockets have been closed. Without this patch, there are cases in which we don't know if it's time to release the virtual E1 line. This patch also includes a fix to avoid crashing if we open a connection with OML/RSL port without sending any ID_RESP message (in that case, we have no chance to set the signal link). I tested these situations with netcat.
* src: add e1_input_vty.c to libosmo-abisPablo Neira Ayuso2011-07-051-0/+102
This file provides the VTY interface for E1 lines, I have moved it to libosmo-abis since it belongs here.