Commit Graph

5 Commits

Author SHA1 Message Date
Pau Espin a7650de412 netif: sctp.h: Introduce value_string for enum sctp_sstat_state
This can be used by apps retrieving struct sctp_status through
getsockopt(SCTP_STATUS).
The relevant field is spinfo_state: osmo_sctp_sstat_state_str(st.sstat_state);

Change-Id: Id7d8a9ad7b32406ac603e520b33809d7ae5c762f
Related: SYS#6636
2023-12-08 17:45:20 +01:00
Pau Espin 1810e12df3 netif: sctp.h: Introduce value_string for enum sctp_spinfo_state
This can be used by apps retrieving struct sctp_paddrinfo through
getsockopt(SCTP_GET_PEER_ADDR_INFO).
The relevant field is spinfo_state: osmo_sctp_spinfo_state_str(pinfo.spinfo_state);

Related: SYS#6636
Change-Id: I78a0bd8279a04f4011c7273e0f542981308e482f
2023-12-08 17:45:07 +01:00
Pau Espin a49a2b4d70 stream_srv: Log SCTP REMOTE_ERROR events
The event was enabled but was not being logged.

Change-Id: I49f5a648fd474e320101424fb6873a37442339bf
2023-08-07 19:16:24 +02:00
Pau Espin c76b54ba63 stream: Improve logging of SCTP_PEER_ADDR_CHANGE notification
Related: SYS#6113
Change-Id: Ieebc6e623874b4770ec7cd8b934244ffecaa089d
2022-10-17 12:27:16 +02:00
Pau Espin d4a1107586 Introduce sctp.h to provide SCTP related functionalities
These value_strings are taken from existing private ones in
libosmo-sccp.git osmo_ss7.c, and are moved here in order to be
reused by other projects, such as osmo-hnodeb.

Change-Id: Ica6f01851fb94e31f4ef097494bb1b8a95597ba6
2021-11-23 14:18:40 +01:00