Skip to content

Changes

Started by upstream project gerrit-libosmocore #2278
Started 2 days 2 hr ago
Queued 8 min 25 sec
Took 3 min 11 sec on build4-deb12build-ansible

Summary

  1. core: guard TCP stats on availability of linux/tcp.h (details)
Commit 0bb083d41a22be47e345d77674795c358085b97a by dtv.comp
core: guard TCP stats on availability of linux/tcp.h

Detect availability of linux/tcp.h at configure time
and build TCP statistics code conditionally based on that.

This replaces platform-specific conditionals with proper feature checks
and avoids build failures on systems lacking Linux TCP headers or types
(e.g. non-Linux or cross-build environments).

When TCP_INFO support is unavailable, the public API remains unchanged,
but all related functions return -ENOTSUP.

No functional changes on systems where linux/tcp.h are available.

Change-Id: Ibcd00f15131b0291f0b10eca51401c518b77cc39
The file was modifiedsrc/core/stats_tcp.c
The file was modifiedconfigure.ac