Lines Matching full:hp
37 dovend_rfc1497(struct host *hp, byte *buf, int len) in dovend_rfc1497() argument
46 hp->hostname->string, MSG); \ in dovend_rfc1497()
63 if (hp->flags.time_offset) { in dovend_rfc1497()
67 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */ in dovend_rfc1497()
73 if (hp->flags.swap_server) { in dovend_rfc1497()
78 insert_u_long(hp->swap_server.s_addr, &vp); /* -4 bytes */ in dovend_rfc1497()
81 if (hp->flags.root_path) { in dovend_rfc1497()
86 len = strlen(hp->root_path->string); in dovend_rfc1497()
90 bcopy(hp->root_path->string, vp, len); in dovend_rfc1497()
94 if (hp->flags.dump_file) { in dovend_rfc1497()
99 len = strlen(hp->dump_file->string); in dovend_rfc1497()
103 bcopy(hp->dump_file->string, vp, len); in dovend_rfc1497()
110 if (hp->flags.domain_server) { in dovend_rfc1497()
112 hp->domain_server, in dovend_rfc1497()
116 if (hp->flags.domain_name) { in dovend_rfc1497()
121 len = strlen(hp->domain_name->string); in dovend_rfc1497()
125 bcopy(hp->domain_name->string, vp, len); in dovend_rfc1497()
132 if (hp->flags.nis_server) { in dovend_rfc1497()
134 hp->nis_server, in dovend_rfc1497()
138 if (hp->flags.nis_domain) { in dovend_rfc1497()
143 len = strlen(hp->nis_domain->string); in dovend_rfc1497()
147 bcopy(hp->nis_domain->string, vp, len); in dovend_rfc1497()
152 if (hp->flags.name_server) { in dovend_rfc1497()
154 hp->name_server, in dovend_rfc1497()
158 if (hp->flags.rlp_server) { in dovend_rfc1497()
160 hp->rlp_server, in dovend_rfc1497()
165 if (hp->flags.time_server) { in dovend_rfc1497()
167 hp->time_server, in dovend_rfc1497()
172 if (hp->flags.ntp_server) { in dovend_rfc1497()
174 hp->ntp_server, in dovend_rfc1497()
188 if (hp->flags.name_switch && hp->flags.send_name) { in dovend_rfc1497()
193 len = strlen(hp->hostname->string); in dovend_rfc1497()
204 char *tmpstr = hp->hostname->string; in dovend_rfc1497()
215 bcopy(hp->hostname->string, vp, len); in dovend_rfc1497()
222 if (hp->flags.lpr_server) { in dovend_rfc1497()
224 hp->lpr_server, in dovend_rfc1497()
228 if (hp->flags.cookie_server) { in dovend_rfc1497()
230 hp->cookie_server, in dovend_rfc1497()
234 if (hp->flags.log_server) { in dovend_rfc1497()
236 hp->log_server, in dovend_rfc1497()
243 if (hp->flags.generic) { in dovend_rfc1497()
244 if (insert_generic(hp->generic, &vp, &bytesleft)) in dovend_rfc1497()