Project

General

Profile

Actions

Feature #5580

closed

Missing API: osmo_stream_srv_get_sockname()

Added by pespin almost 2 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/16/2022
Due date:
% Done:

100%

Spec Reference:

Description

"srv_link" and "cli" have it, but not "srv".
It should be implemented the same way as "cli".


Related issues

Related to libosmo-netif - Bug #5581: osmo_stream_srv_link_get_sockname() only supports showing 1st IP addressResolvedpespin06/16/2022

Actions
Actions #1

Updated by pespin almost 2 years ago

  • Related to Bug #5581: osmo_stream_srv_link_get_sockname() only supports showing 1st IP address added
Actions #2

Updated by pespin almost 2 years ago

This seems to be wrokarounded by using:

        struct osmo_fd *ofd = osmo_stream_srv_get_ofd(client->conn);
        return osmo_sock_get_name2(ofd->fd);

Actions #3

Updated by laforge over 1 year ago

  • Assignee set to msuraev
Actions #4

Updated by msuraev over 1 year ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
Actions #5

Updated by msuraev over 1 year ago

  • Status changed from In Progress to Stalled
Actions #6

Updated by laforge 5 months ago

  • Assignee deleted (msuraev)
Actions #7

Updated by pespin 4 months ago

  • Assignee set to pespin
Actions #8

Updated by pespin 4 months ago

  • Status changed from Stalled to Feedback
  • % Done changed from 50 to 90

The API will be available once this patch is merged:
https://gerrit.osmocom.org/c/libosmo-netif/+/35286 stream_cli: Introduce API osmo_stream_srv_get_sockname()

Once merged, the ticket can be closed.

Actions #9

Updated by pespin 3 months ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)