aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libabis/input
AgeCommit message (Collapse)AuthorFilesLines
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther4-23/+23
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 Ayuso2-6/+6
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-04-04lapd: NULL pointer derefence possible hereHolger Hans Peter Freyther1-1/+1
The idiom seems to be to allocate the lapd_tei if it does not exist and use it then. This was found by clang --analyze.
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso6-19/+19
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-04fix path of bscconfig.h include fileHarald Welte1-1/+1
2011-03-04Make sure not to feed BSSGP messages into RSLHarald Welte1-1/+2
2011-03-04Implement the HSL SR1.0.1 protocolHarald Welte1-3/+5
It seems HSL has fixed most of their obvious issues in the SR1.0.1 release. However, this creates quite an incompatibility of the protocol, and we have to adapt accordingly
2011-03-04[HSL] initial support for the HSL 2.75G FemtocellHarald Welte1-0/+457
The HSL Femtocell seems to be a poor man implementation of the ip.access Abis/IP protocol, but cutting corners wherever possible. We try to workaround those corners wherever possible...
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte5-0/+2589
... and make sure tests work again after restructuring