osmo-msc/openbsc
Holger Hans Peter Freyther 686191a1c9 oml: Fix compiler warning about aliasing
Make the fill_fom_hdr return the header and use it throughout.

  CC       abis_nm.o
In file included from ../../include/openbsc/debug.h:8:0,
                 from abis_nm.c:38:
abis_nm.c: In function ‘abis_nm_opstart’:
abis_nm.c:1763:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
                                  ^
/home/ich/install/openbsc/include/osmocom/core/logging.h:23:74: note: in definition of macro ‘DEBUGP’
 #define DEBUGP(ss, fmt, args...) logp(ss, __FILE__, __LINE__, 0, fmt, ## args)
                                                                          ^
abis_nm.c:1763:2: note: in expansion of macro ‘abis_nm_debugp_foh’
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
  ^
abis_nm.c:1763:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
                                  ^
/home/ich/install/openbsc/include/osmocom/core/logging.h:23:74: note: in definition of macro ‘DEBUGP’
 #define DEBUGP(ss, fmt, args...) logp(ss, __FILE__, __LINE__, 0, fmt, ## args)
                                                                          ^
abis_nm.c:1763:2: note: in expansion of macro ‘abis_nm_debugp_foh’
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
  ^
abis_nm.c:1763:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
                                  ^
/home/ich/install/openbsc/include/osmocom/core/logging.h:23:74: note: in definition of macro ‘DEBUGP’
 #define DEBUGP(ss, fmt, args...) logp(ss, __FILE__, __LINE__, 0, fmt, ## args)
                                                                          ^
abis_nm.c:1763:2: note: in expansion of macro ‘abis_nm_debugp_foh’
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
  ^
abis_nm.c:1763:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
                                  ^
/home/ich/install/openbsc/include/osmocom/core/logging.h:23:74: note: in definition of macro ‘DEBUGP’
 #define DEBUGP(ss, fmt, args...) logp(ss, __FILE__, __LINE__, 0, fmt, ## args)
                                                                          ^
abis_nm.c:1763:2: note: in expansion of macro ‘abis_nm_debugp_foh’
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
  ^
abis_nm.c:1763:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
                                  ^
/home/ich/install/openbsc/include/osmocom/core/logging.h:23:74: note: in definition of macro ‘DEBUGP’
 #define DEBUGP(ss, fmt, args...) logp(ss, __FILE__, __LINE__, 0, fmt, ## args)
                                                                          ^
abis_nm.c:1763:2: note: in expansion of macro ‘abis_nm_debugp_foh’
  abis_nm_debugp_foh(DNM, (struct abis_om_fom_hdr *) oh->data);
2014-04-04 12:56:34 +02:00
..
contrib systemd: Add service for the osmo-sgsn 2014-03-21 17:43:19 +01:00
doc nat: Add CTRL command test case for the new control commands 2014-03-06 11:04:56 +01:00
include gprs: Fix compiler warnings in sgsn_main.c 2014-04-04 12:51:28 +02:00
src oml: Fix compiler warning about aliasing 2014-04-04 12:56:34 +02:00
tests sgsn/ctrl: Add ctrl interface, implement listing subscribers 2014-03-23 18:34:58 +01:00
tools hlrstat: Print numeric MCC/MNC in case no name is available 2010-01-01 15:08:38 +01:00
.gitignore Add EFR support to TRAU muxer + test case 2013-12-19 10:12:28 +01:00
AUTHORS add sylvain and andreas as authors 2010-01-10 18:21:33 +01:00
COPYING License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
Makefile.am Introduced support for external python tests 2013-06-24 13:22:34 +02:00
README update README with URL of the homepage 2010-05-04 08:10:18 +02:00
configure.ac ipa: Use enhanced ipa_msg_recv_buffered() to cope with partioned IPA messages 2014-04-01 13:40:59 +02:00
git-version-gen automatically include program version and print it from vty and --version 2010-03-23 00:09:32 +08:00
openbsc.pc.in Install gsm_04_08.h and required headers into a openbsc/ 2010-02-16 17:51:42 +01:00
osmoappdesc.py hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00

README

About OpenBSC
=============

OpenBSC is a minimalistic implementation of the GSM Network, with
particular emphasis on the functionality typically provided by the BSC,
MSC, HLR, VLR and SMSC.

Its currently supported interfaces towards the BTS are:

 * Classic A-bis over E1 using a mISDN based E1 interface. In other
   words, you can connect existing GSM Base Transceiver Station (BTS)
   through E1 to OpenBSC.  So far, we have only tested the Siemens BS-11
   Test reports with other BTS are much appreciated!

 * A-bis over IP as used by the ip.access nanoBTS product family

You can find the project documentation at http://openbsc.gnumonks.org/

This project is still in its early days, and there are lots of areas where it
doesn't behave as per GSM spec.

	Harald Welte <laforge@gnumonks.org>


libosmocore
===========

Please note that as of March 2010, OpenBSC has a dependency to a library
called "libosmocore".  You can obtain that library from

	git://git.osmocom.org/libosmocore.git