libosmocore/include/osmocom/core
Oliver Smith a32bebd806 Import in46_addr from OsmoGGSN
Import ip_addr and tests from I54c8a4b1d3a02b71d5983badcd923fa39ce7dd84.
Apply minor fixes so it passes the linter.

I'm in the process of extending the public API of OsmoGGSN's libgtp, so
a GSN can be created with either IPv4 or IPv6. The in46_addr code from
osmo-ggsn.git provides a good abstraction for that. I've considered
making it public in libgtp, but given that it is generic code that could
be used outside of libgtp in other Osmocom projects, put it in
libosmocore instead.

Related: OS#1953, OS#6096
Related: osmo-ggsn I8f4d9d78689909a149683583cfe36bcdc3f7cbc7
Change-Id: I31078f130ec42aeaa5ead1dde82fdd1eb44d992b
2024-02-23 16:51:36 +01:00
..
Makefile.am Import in46_addr from OsmoGGSN 2024-02-23 16:51:36 +01:00
application.h application: do not document unrelated forward-declarations 2020-10-24 04:08:19 +07:00
backtrace.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
base64.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bitXXgen.h.tpl treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bitcomp.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
bits.h [doc] bits.c: Better / more Doxygen documentation 2017-10-16 14:19:12 +02:00
bitvec.h core: remove unnecessary #include <osmocom/core/talloc.h> 2023-03-31 05:39:24 +07:00
byteswap.h fix issue on big endian architecture 2018-04-09 17:32:11 +00:00
conv.h conv: Fix the traceback for tail biting codes 2022-01-05 20:24:49 +00:00
counter.h Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
crc16.h [doc] Put CRC-16 and generic CRC code in one Doxygen module 2017-10-16 14:29:26 +02:00
crcXXgen.h.tpl treewide: remove FSF address 2021-12-14 12:44:03 +01:00
crcgen.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
defs.h core/defs.h: introduce and use OSMO_DEPRECATED_OUTSIDE 2019-12-11 12:42:05 +00:00
endian.h Fix typo endianess -> endianness 2023-02-17 10:37:40 +01:00
exec.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
fsm.h fsm: fix OSMO_T_FMT_ARGS: add missing braces 2024-01-09 13:11:04 +00:00
gsmtap.h gsmtap.h: Add definitions for ISDN PPP sub-type 2023-09-20 16:10:57 +00:00
gsmtap_util.h gsmtap: Hide implementation of gsmtap_inst 2023-10-13 01:33:46 +02:00
hash.h Add hlist and hashtable from Linux kernel 2020-12-05 11:39:42 +01:00
hashtable.h Add hlist and hashtable from Linux kernel 2020-12-05 11:39:42 +01:00
in46_addr.h Import in46_addr from OsmoGGSN 2024-02-23 16:51:36 +01:00
isdnhdlc.h include: use '#pragma once' everywhere 2022-09-29 05:44:09 +00:00
it_q.h Add inter-thread queue 2021-01-06 00:22:13 +01:00
linuxlist.h Cosmetic: linuxlist.h: fix misleading comment 2022-03-13 21:36:27 +00:00
linuxrbtree.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
log2.h log2.h: Avoid redefining __always_inline 2020-12-06 15:45:52 +01:00
logging.h Revert "logging: add log level cache" 2024-01-09 16:37:05 +00:00
logging_internal.h logging: Move extern declaration of osmo_log_target_list from logging.h to logging_internal.h 2019-09-20 15:21:33 +00:00
loggingrb.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
macaddr.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
mnl.h Integrate libmnl (minimal netlink) library with libosmocore select loop 2020-12-02 21:04:51 +00:00
msgb.h msgb: fix doxygen docs for msgb_pull_u{8,16,32): end -> front 2023-11-12 14:24:11 +07:00
msgfile.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
netdev.h Introduce netdev API 2023-01-25 16:06:55 +01:00
netns.h Introduce netns API 2023-01-24 12:38:20 +01:00
osmo_io.h osmo_io: rename unsupported SCTP mode to OSMO_IO_FD_MODE_SCTP_RECVMSG_SEND 2023-11-22 12:20:12 +00:00
panic.h osmo_panic(): Annotate as __attribute__ ((noreturn)) 2018-06-29 20:32:57 +02:00
plugin.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
prbs.h Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
prim.h add osmo_prim_operation_name() 2023-02-22 16:45:14 +00:00
process.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
rate_ctr.h rate_ctr: Add rate_ctr_add2() similar to rate_ctr_inc2() 2023-03-24 14:08:08 +01:00
select.h Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
sercomm.h include: use '#pragma once' everywhere 2022-09-29 05:44:09 +00:00
serial.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
signal.h signal: Introduce API osmo_signal_talloc_ctx_init 2018-08-16 21:03:32 +02:00
sockaddr_str.h sockaddr_str.h Fix OSMO_SOCKADDR_STR_FMT_ARGS_NOT_NULL syntax error 2023-09-26 10:50:55 +00:00
socket.h socket: Introduce defines OSMO_SOCK_MULTIADDR_{PEER_STR,NAME}_MAXLEN 2023-12-12 14:00:12 +01:00
socket_compat.h.tpl Added generation of include/osmocom/core/socket_compat.h 2023-06-09 15:06:34 +00:00
soft_uart.h soft_uart: implement modem status lines and flow control 2023-12-04 04:23:07 +07:00
stat_item.h refactor stat_item: get rid of FIFO and "skipped" error 2021-09-30 18:33:43 +00:00
statistics.h Rename 'statistics.c' to 'counter.c' 2017-10-15 19:51:35 +02:00
stats.h stats: Functions with no arguments should specify(void) 2022-05-08 09:57:04 +02:00
stats_tcp.h stats_tcp: use a default batch size of 5 instead of 1 2022-01-05 20:32:07 +00:00
strrb.h core: remove unnecessary #include <osmocom/core/talloc.h> 2023-03-31 05:39:24 +07:00
talloc.h Declare osmo_ctx_init() in talloc.h 2020-12-28 22:29:01 +01:00
tdef.h core: osmo_tdef_fsm_inst_state_chg(): allow millisecond precision 2024-01-09 13:11:04 +00:00
thread.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
time_cc.h add osmo_time_cc, moved from osmo-bsc 2021-11-15 09:06:03 +00:00
timer.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
timer_compat.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
tun.h Introduce tundev API 2023-01-25 16:08:35 +01:00
use_count.h treewide: remove FSF address 2021-12-14 12:44:03 +01:00
utils.h utils: fix -Wsign-compare in definition of OSMO_STRBUF_CHAR_COUNT 2023-12-31 16:59:40 +07:00
write_queue.h write_queue: Enable updating max_length field 2023-09-19 18:46:09 +00:00