ares_parse_srv_reply(3) on Linux
The text af9038d128e3, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy), Debian 6.0 (Squeeze) shipped it.
Parse a reply to a DNS query of type SRV