libosmo-pfcp/src/libosmo-pfcp
Neels Hofmeyr c41bfcbbf0 add osmo_pfcp_ip_addrs_to_str_*()
Move static function ip_addrs_to_str_buf() to public API as
osmo_pfcp_ip_addrs_to_str_buf() and osmo_pfcp_ip_addrs_to_str_c().

So far the static function was only used in places where it follows
other strings, so that it made sense to always start with a comma. Move
this comma out of the function to the callers.

Sensibly handle a NULL pointer and an empty address set.

Rationale: osmo-upf would like to print an osmo_pfcp_ip_addrs struct in
logging.

Change-Id: I5f67db8d347690cbb1ce273a2d072636859f1bf6
2022-11-26 03:04:13 +01:00
..
Makefile.am set LIBVERSION=0:0:0 2022-08-09 19:40:11 +02:00
gen__pfcp_ies_auto.c PFCP: add Network Instance IE in PDI IE 2022-11-23 23:40:28 +00:00
pfcp_cp_peer.c pfcp_cp_peer: check use count correctness 2022-08-13 00:35:49 +00:00
pfcp_endpoint.c comment / whitespace tweaks in pfcp_endpoint.c 2022-08-09 20:42:39 +00:00
pfcp_ies_custom.c add osmo_pfcp_ip_addrs_to_str_*() 2022-11-26 03:04:13 +01:00
pfcp_msg.c pfcp_msg: check use count correctness 2022-08-24 17:04:42 +02:00
pfcp_strs.c libosmo-pfcp: add pfcp_proto.h pfcp_strs.h 2022-06-16 13:04:33 +02:00