Change in osmo-hlr[master]: add mDNS lookup method to libosmo-mslookup

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Thu Jan 9 14:53:36 UTC 2020


neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/16256 )

Change subject: add mDNS lookup method to libosmo-mslookup
......................................................................


Patch Set 11:

(1 comment)

https://gerrit.osmocom.org/c/osmo-hlr/+/16256/11/src/mslookup/mdns_sock.c 
File src/mslookup/mdns_sock.c:

https://gerrit.osmocom.org/c/osmo-hlr/+/16256/11/src/mslookup/mdns_sock.c@129 
PS11, Line 129: int osmo_mdns_sock_send(const struct osmo_mdns_sock *mdns_sock, struct msgb *msg)
> I think it might be an idea to optionally put this on the wire more than once, based on a configurat […]
as discussed on IRC:

On lossy links, it makes sense to re-send N mDNS requests with a delay between them, configurable by cfg file.
All that is required is a timer here that re-sends the same msgb N times.
All the rest will already work without code changes:
Each request reached will cause a separate response, and the requestor will consolidate all received results into one final result.

(One could also consider caching responses at the server to optimize resending the same result, but that is likely overkill.)



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/16256
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: I03a0ffa1d4dc1b24ac78a5ad0975bca90a49c728
Gerrit-Change-Number: 16256
Gerrit-PatchSet: 11
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: keith <keith at rhizomatica.org>
Gerrit-Comment-Date: Thu, 09 Jan 2020 14:53:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: keith <keith at rhizomatica.org>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200109/3c37724f/attachment.htm>


More information about the gerrit-log mailing list