summaryrefslogtreecommitdiffstats
path: root/src/gb
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not use --version-script linker flag on OSXTobias Engel2012-10-271-1/+1
| | | | | Add a check to not use --version-script linker flag if compiled on OSX since it doesn't exist there
* Define struct iphdr for OSXTobias Engel2012-10-271-1/+1
| | | | | | | | | | Use FreeBSD struct iphdr definition for OSX also. From the commentary in the source file: On BSD the IPv4 struct is called struct ip and instead of iXX the members are called ip_XX. One could change this code to use struct ip but that would require to define _BSD_SOURCE and that might have other complications. Instead make sure struct iphdr is present on FreeBSD.
* Doc: Adding new parameter descriptions in gprs_bssgp_bss.cAndreas Eversberg2012-09-301-1/+9
|
* Fix: Correcting bssgp_tx_fc_bvc, bssgp_tx_fc_ms, bssgp_tx_ul_udAndreas Eversberg2012-09-302-9/+28
|
* Fix: gprs_ns_destroy() now frees all NSVCs and its timersAndreas Eversberg2012-09-291-4/+14
| | | | | Freeing memory of registered timers and file descriptors cause corrupt lists.
* Gb: Add functions for sending flow control messages from BSS sideHarald Welte2012-09-101-0/+105
|
* Gb: Add header file for BSS-side BSSGP functionsHarald Welte2012-09-101-0/+1
| | | | .. not sure how we could have missed that so far.
* libosmogb: make build conditional, disable in embedded buildHarald Welte2012-09-081-0/+2
| | | | | when we build for osmocom-bb cross-compilation, we don't have sockets nor netinet/in.h and thus NS/BSSGP make no sense...
* BSSGP: print per-bvc flow control parameters on vtyHarald Welte2012-09-071-1/+12
|
* BSSGP: make bvc_ctx->fc a dynamic talloc allocationHarald Welte2012-09-071-5/+7
| | | | | this ensures that we can talloc the flow-control queue entries as siblings off the bvc_ctx.
* BSSGP flow-control: various fixesHarald Welte2012-09-072-10/+36
| | | | | | | * add more comments on units of struct members * make sure to parsre FC-BVC message correctly * add error message in case user passes PDU larger than bucket size * add new function to initialize flow control struct
* libosmogb: Port BSSGP flow control from openbsc/laforge/bssgp_fc branchHarald Welte2012-09-072-4/+225
| | | | | | | | This code is supposed to implement the BSSGP flow control algorithm, both for the per-BSS and for the per-MS flow control. The code currently has no test cases, they will come in a separate commit.
* BSSGP: fix unused variable compiler warningsHarald Welte2012-09-071-8/+2
|
* libosmogb: build without strict aliasing rulesHarald Welte2012-09-071-1/+1
| | | | | | This allows us to reliably do the trick with casting structures like libgb_msgb_cb to the msgb->cb[] array. Shamelessly stolen from the Linux kernel.
* gb: Make suspend_ref a plain uint8_t instead of a uint8_t*Holger Hans Peter Freyther2012-08-031-1/+1
| | | | | | The OpenSUSE build is not happy about the uint8_t to uint8_t* assignment. As the suspend_ref is a mandatory field we can make it a plain uint8_t. Increase the LIBVERSION as the ABI has changed.
* libgb: Link to the libraries used by libgbHolger Hans Peter Freyther2012-08-021-1/+4
| | | | | The Mandriva linker appears to be more strict in enforcing the as-needed rules. Link to the libraries that are used by libgb.
* Fix encoding of BSSGP_IE_NUM_OCT_AFF in bssgp_tx_llc_discarded()Andreas Eversberg2012-07-211-1/+1
| | | | | | This is a 24bit integer value, and thus we need to encode the three least significant octets of the network-byte-order 32bit value, not the three most significant octets.
* freebsd: Make libgb compile on FreeBSDHolger Hans Peter Freyther2012-07-122-0/+38
| | | | | Include header files for recfrom/AF_INET and include a struct ip_hdr as it is not available on *BSD.
* bssgp: check for IMSI being a null pointer, not just an empty string.Harald Welte2012-07-041-1/+1
|
* build: use LT_INIT(pic-only) instead of forcing -fPIC.Diego Elio Pettenò2012-06-301-1/+1
| | | | | | | | This actually allows for the user to override the decision and at the same time supports compilers that might not be able to use -fPIC at all. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
* add missing Makefile.am for libosmo-gbHarald Welte2012-06-191-0/+21
|
* libosmogb: export btsctx_* functionsHarald Welte2012-06-181-0/+4
| | | | Those should be private, but osmo-pcu currently needs them...
* libosmogb: export missing symbolsHarald Welte2012-06-171-0/+2
|
* libosmogb: move files to proper location and fix buildHarald Welte2012-06-1710-0/+3805