aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libabis/input/ipaccess.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19src: use new msg->dst pointer instead of deprecated msg->trxPablo Neira Ayuso1-5/+5
This patch modifies openBSC code to use msg->dst which stores the pointer to the signalling link structure instead of the pointer to the transceiver structure. This patch prepares the introduction of libosmo-abis.
2011-05-24libabis: fix segfault on malformed ipaccess RSL linkAlexander Huemer1-1/+4
This patch fixes a segfault that occured when a ipaccess RSL link gets closed unexpectedly. The segfault can be provoked by connecting to the RSL port with ncat and hitting ^C.
2011-05-22abis: add init function for emulated ipaccess/HSL emulated E1 inputPablo Neira Ayuso1-6/+5
This patch is a cleanup. It adds an init function for the ipaccess and HSL emulated E1 input drivers.
2011-05-07src: use namespace prefix osmo_* for misc utilsPablo Neira Ayuso1-2/+2
Summary of changes: s/bcd2char/osmo_bcd2char/g s/char2bcd/osmo_char2bcd/g s/hexparse/osmo_hexparse/g s/hexdump/osmo_hexdump/g s/hexdump_nospc/osmo_hexdump_nospc/g s/ubit_dump/osmo_ubit_dump/g s/static_assert/osmo_static_assert/g
2011-05-06src: use namespace prefix osmo_fd* and osmo_select*Pablo Neira Ayuso1-28/+28
Summary of changes: s/struct bsc_fd/struct osmo_fd/g s/bsc_register_fd/osmo_fd_register/g s/bsc_unregister_fd/osmo_fd_unregister/g s/bsc_select_main/osmo_select_main/g
2011-05-06src: use namespace prefix osmo_timer* for timer functionsPablo Neira Ayuso1-1/+1
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
2011-04-18misc: Remove sys/types.h includes from the filesHolger Hans Peter Freyther1-1/+0
These are not needed any more. We used them for u_int types but we now use uint which comes from stdint.h
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther1-14/+14
This was done with sed on the files.
2011-04-12libabis: ipaccess: use log instead of debug under errors in ipaccess_send()Pablo Neira Ayuso1-1/+1
This patch was suggested by Zecke.
2011-04-12src: more robust ipaccess_idtag_parse()Pablo Neira Ayuso1-5/+9
Now ipaccess_idtag_parse() returns -EINVAL instead of -1. We also check for the return value of this function in every invocation to skip further processing in case of messages with malformed TLVs. This idea was suggested by Zecke.
2011-04-12libabis: ipaccess: more robust ipaccess_idtag_name()Pablo Neira Ayuso1-1/+1
ipaccess_idtag_name() now takes a uint8_t as parameter which is the length of the type tag. This patch was suggested by Zecke.
2011-04-07ipaccess: Add a function to prepend the osmocom ext headerHolger Hans Peter Freyther1-0/+9
* include/openbsc/ipaccess.h: Reserve a protocol number for control commands * input/ipaccess.c: New function ipaccess_prepend_header_ext prepends the extension header
2011-04-07libabis: ipaccess: export ipaccess_parse_unitidPablo Neira Ayuso1-3/+3
Now this is used by ipaccess-proxy, remove redundant implementation in it.
2011-04-07libabis: ipaccess: export ipaccess_idtag_name()Pablo Neira Ayuso1-2/+2
Now this is used by ipaccess-proxy, remove redundant implemention in it.
2011-04-07libabis: ipaccess: conclude new ipaccess_send_*() functions and use themPablo Neira Ayuso1-17/+48
This patch finishes the new ipaccess_send_*() functions and use them in the ipaccess-proxy code. I have also cleanup the definition of the PONG, ID_ACK and ID_REQ messages (including some minor documentation about them). I had to rename ipaccess_recvmsg() in ipaccess-proxy to avoid clashing with the one defined in libabis.
2011-04-05libcommon: socket: extend make_sock() prototypePablo Neira Ayuso1-4/+4
This patch extends the make_sock() prototype so you can fully set the fields priv_nr and data of the bsc_fd structure. This is the first step to get rid of the internal make_sock() implementation that ipaccess-proxy uses. This patch includes a minor cleanup to pass INADDR_ANY instead of zero, if you do not want to bind the socket to one specific address.
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-4/+4
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte1-0/+797
... and make sure tests work again after restructuring