Lines Matching defs:ds
98 print_ds(ad_disc_ds_t *ds)
102 for (; ds->host[0] != '\0'; ds++) {
105 (void) printf("Name: %s\n", ds->host);
106 (void) printf(" flags: 0x%X\n", ds->flags);
107 if (ds->addr.ss_family == AF_INET) {
109 sin = (struct sockaddr_in *)&ds->addr;
114 (void) printf(" A %s %d\n", p, ds->port);
116 if (ds->addr.ss_family == AF_INET6) {
118 sin6 = (struct sockaddr_in6 *)&ds->addr;
123 (void) printf(" AAAA %s %d\n", p, ds->port);