Osmocom library for network/soecket abstraction and osmux audio multiplex https://osmocom.org/projects/libosmo-netif
Go to file
Pau Espin 668c804197 stream: Provide caller with SCTP flags during osmo_stream_*_recv()
The user may want to check the flags in order to know if the content
pointed at by msgb is an sctp_notification structure, and not in-band
data.
This is useful for the user in order to gain connection state such as
SCTP RESET notification, which means the client reconnected reusing the
same socket, loosing all higher layers state.

The MSG_NOTIFICATION from netinet/sctp.h is not reused, and instead an
osmocom specific flag (and bitmask) is used. This is done in order to
fit the flags in one byte, since for instance MSG_NOTIFICATION requires
2 bytes in my system (0x8000).

Related: SYS#6113
Change-Id: I0ee94846a15a23950b9d70eaaef1251267296bdd
2022-09-19 14:50:34 +02:00
contrib Bump version: 1.1.0.14-d1ab-dirty → 1.2.0 2022-06-28 18:09:49 +02:00
debian Bump version: 1.1.0.14-d1ab-dirty → 1.2.0 2022-06-28 18:09:49 +02:00
examples osmux: Allocate struct osmux_out_handle through API 2022-09-02 11:29:05 +02:00
include stream: Provide caller with SCTP flags during osmo_stream_*_recv() 2022-09-19 14:50:34 +02:00
m4 initial commit 2011-10-04 02:36:46 +02:00
src stream: Provide caller with SCTP flags during osmo_stream_*_recv() 2022-09-19 14:50:34 +02:00
tests stream: Fix typos in log messages 2022-09-12 12:44:03 +02:00
.gitignore gitignore: Ignore autfoo *~ churn 2021-02-19 12:58:44 +01:00
.gitreview Add gerrit settings 2016-12-22 14:06:35 +00:00
COPYING add COPYING file (GPLv2 license) 2011-10-05 13:43:25 +02:00
Doxyfile.in Add minimal doxygen documentation for stream + datagram modules 2017-04-08 20:13:14 +02:00
Makefile.am Makefile.am: EXTRA_DIST: debian, contrib/*.spec.in 2020-05-22 13:29:50 +02:00
README.md update git URLs (git -> https; gitea) 2022-06-17 23:15:16 +02:00
TODO-RELEASE osmux: Allocate struct osmux_out_handle through API 2022-09-02 11:29:05 +02:00
configure.ac Bump version: 1.1.0.14-d1ab-dirty → 1.2.0 2022-06-28 18:09:49 +02:00
git-version-gen initial commit 2011-10-04 02:36:46 +02:00
libosmo-netif.pc.in libosmo-netif.pc.in: Append -lsctp to Libs.private 2019-10-22 19:38:07 +00:00

README.md

libosmo-netif- Osmocom network interface library

This repository contains a C-language library that form the basis of various higher-layer cellular communications protocol implementation. It implements stream server and clients for TCP, UDP, IPA as well as the non-standard/proprietary OSMUX protocol.

Homepage

The official homepage of the project is https://osmocom.org/projects/libosmo-netif

GIT Repository

You can clone from the official libosmo-netif.git repository using

git clone https://gitea.osmocom.org/osmocom/libosmo-netif

There is a web interface at https://gitea.osmocom.org/osmocom/libosmo-netif

Documentation

There is no Doxygen-generated API documentation yet for this library. It would be great to some day have it, comparable to libosmocore.

Mailing List

Discussions related to libosmo-netif are happening on the openbsc@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/openbsc for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.

Contributing

Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for libosmo-netif can be seen at https://gerrit.osmocom.org/#/q/project:libosmo-netif+status:open