Lines Matching defs:dsi
33 #include <atalk/dsi.h>
176 const ASP asp, const DSI *dsi,
197 /* number of addresses. this currently screws up if we have a dsi
200 *data++ = ((options->fqdn && dsi)? 1 : 0) + (dsi ? 1 : 0) + (asp ? 1 : 0) +
201 (((options->flags & OPTION_ANNOUNCESSH) && options->fqdn && dsi)? 1 : 0);
204 if (dsi) {
205 if (dsi->server.ss_family == AF_INET) { /* IPv4 */
206 const struct sockaddr_in *inaddr = (struct sockaddr_in *)&dsi->server;
226 const struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)&dsi->server;
248 if (options->fqdn && dsi) {
301 const DSI *dsi _U_,
354 const DSI *dsi _U_,
432 DSI *dsi;
451 dsi = dsiconfig->obj.handle;
452 if (dsi->server.ss_family == AF_INET) { /* IPv4 */
453 const struct sockaddr_in *sa4 = (struct sockaddr_in *)&dsi->server;
456 const struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)&dsi->server;
466 dsi = NULL;
498 status_versions(status, asp, dsi);
508 status_netaddress(status, &c, asp, dsi, options);
511 statuslen = status_directorynames(status, &c, dsi, options);
515 statuslen = status_utf8servername(status, &c, dsi, options);
531 dsi_setstatus(dsi, status, statuslen);