/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 30 ns_tsig_key *key, u_char *answer, int anslen) 98 * Stop res_send printing the answer. 105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen); 113 ret = ns_verify(answer, &len, dstkey, sig, siglen, 119 (stdout, ";; got answer:\n")); 124 answer, (anslen > len) ? len : anslen); 146 hp = (HEADER *) answer; 155 (stdout, ";; got answer:\n")); 160 answer, (anslen > len) ? len : anslen); 29 res_nsendsigned(res_state statp, const u_char *msg, int msglen, ns_tsig_key *key, u_char *answer, int anslen) argument
|
H A D | res_update.c | 57 * nameservers for that zone, and await answer. 96 u_char answer[PACKETSZ]; local 172 answer, sizeof answer); 174 n = res_nsend(statp, packet, n, answer, sizeof answer); 180 if (((HEADER *)answer)->rcode == NOERROR)
|
H A D | res_data.c | 193 u_char *answer, /*!< buffer to put answer */ 194 int anslen) /*!< size of answer buffer */ 200 return (res_nquery(&_res, name, class, type, answer, anslen)); 258 u_char *answer, /*!< buffer to put answer */ 259 int anslen) /*!< size of answer */ 266 return (res_nsearch(&_res, name, class, type, answer, anslen)); 273 u_char *answer, /*!< buffer to put answer */ 191 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument 256 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument 270 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
H A D | res_query.c | 101 * Formulate a normal query, send, and await answer. 102 * Returned answer is placed in supplied buffer "answer". 103 * Perform preliminary check of answer, returning success only 104 * if no error is indicated and the answer count is nonzero. 108 * Caller must parse answer and determine whether it answers the question. 114 u_char *answer, /*%< buffer to put answer */ 115 int anslen) /*%< size of answer buffer */ 118 HEADER *hp = (HEADER *) answer; 111 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 212 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument 358 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | look_up.c | 121 switch (response->answer) { 141 char answer; member in struct:ctl_response_runrise 158 rsp.answer = swaprsp.answer; 169 char answer; member in struct:ctl_response_sun3 188 rsp.answer = swaprsp.answer;
|
H A D | ctl.h | 67 /* the values for answer */ 80 char answer; member in struct:ctl_response
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 175 int answer; local 193 answer = atoi(buf); 195 return (answer != 0 ? answer : 2000);
|
H A D | SLPFindAttrs.c | 543 char *answer = NULL; local 548 slp_twalk(collator, collect_attrs, 0, &answer); 549 return (answer); 555 char *attr, *p, **answer = (char **)cookie; local 583 slp_add2list(attr, answer, SLP_FALSE);
|
H A D | slp_utils.c | 338 unsigned short answer = 0; local 339 (void) slp_get_sht(header, SLP_HDRLEN, &off, &answer); 340 return (answer);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getlogin.c | 83 getl_r_common(char *answer, size_t namelen, size_t maxlen) argument 117 (void) strncpy(answer, ubuf.ut_user, ulen); 118 answer[ulen] = '\0'; 119 return (answer); 127 getlogint_r(char *answer, int namelen) argument 129 return (getl_r_common(answer, (size_t)namelen, LOGNAME_MAX_TRAD)); 156 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX_TRAD, NULL); local 158 if (answer == NULL) 160 return (getl_r_common(answer, LOGIN_NAME_MAX_TRAD, LOGNAME_MAX_TRAD)); 169 getloginx_r(char *answer, in argument 202 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX, NULL); local [all...] |
H A D | getut.c | 306 struct utmp *answer; local 366 answer = NULL; 374 answer = &ubuf; 385 return (answer);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdxbyname.c | 69 static char ** decode_answer( unsigned char *answer, int len ); 118 decode_answer( unsigned char *answer, int len ) argument 128 /* __p_query( answer ); */ 133 hp = (HEADER *)answer; 134 eom = answer + len; 150 p = answer + HFIXEDSZ; 151 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) { 162 if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | input.c | 135 int answer = supplier; local 259 if (answer && newsize > 0) {
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_getalias.c | 44 * -1 = other failure. Contents in answer are undefined. 120 char *answer, *new_answer; local 129 answer = malloc(ans_size); 130 if (answer == NULL) { 135 answer[0] = '\0'; 182 answer[0] = '\0'; 208 new_answer = realloc(answer, ans_size); 213 free(answer); 216 answer = new_answer; 219 (void) strcat(answer, ","); [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer2.c | 47 char answer[ANSLEN], temp[TLEN], line[BUFSIZ]; local 78 answer[0] = 0; 114 if (strlen(temp)+strlen(answer) > BUFSIZ) 117 strcat(answer, temp); 118 if (strlen(answer) > BUFSIZ) 119 err(gettext("answer too long (%d)"), 120 strlen(answer)); 121 if (newline(answer) > 0) 126 assert(strlen(answer) < ANSLEN); 128 switch (newline(answer)) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | ctl.h | 83 * The values for answer. 96 char answer; member in struct:ctl_response
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 53 unsigned char answer[NS_MAXMSG], *ansp = NULL, *end, a, b, c, d; local 105 anslen = sizeof (answer); 106 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen); 113 ansp = answer; 117 h = (HEADER *)answer; 128 len = dn_expand(answer, end, ansp, name, hostlen); 143 len = dn_expand(answer, end, ansp, name, hostlen); 161 len = dn_expand(answer, end, ansp, name, hostlen); 176 len = dn_expand(answer, end, ansp, name, hostlen);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_align.c | 627 char answer[BUFSIZ]; local 636 if (!fgets(answer, sizeof (answer), stdin)) 639 answer[strlen(answer) -1] = '\0'; 642 STREQU(answer, "q") 643 || STREQU(answer, "n") 644 || STREQU(answer, "no") 649 !*answer 650 || STREQU(answer, " [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | revarp.c | 59 struct in_addr answer; local 171 (void) memcpy(&answer, (uchar_t *)ans + 173 sizeof (answer)); 178 (void) printf("answer: %s", inet_ntoa(answer)); 181 laddr->sin_addr = answer;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | util.c | 428 * answer is a pointer to the property value 432 * If successful, the property value is retured in *answer. 433 * Otherwise, *answer is undefined, and it is up to the caller to decide 438 const char *lprop, boolean_t *answer) 456 *answer = (boolean_t)prop_val; 468 * buf is the place to put the answer 516 * answer is a pointer to the property value 520 * If successful, the property value is retured in *answer. 521 * Otherwise, *answer is undefined, and it is up to the caller to decide 526 const char *lprop, uint64_t *answer) 437 nwamd_lookup_boolean_property(const char *lfmri, const char *lpg, const char *lprop, boolean_t *answer) argument 525 nwamd_lookup_count_property(const char *lfmri, const char *lpg, const char *lprop, uint64_t *answer) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_time_wait.c | 699 uint32_t answer[4]; local 716 MD5Final((uchar_t *)answer, &context); 717 answer[0] ^= answer[1] ^ answer[2] ^ answer[3]; 718 new_iss += (gethrtime() >> ISS_NSEC_SHT) + answer[0];
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 778 db_log_list * answer = new db_log_list; local 780 if (answer == NULL) 784 answer->list.list_len = count; 791 entries = answer->list.list_val = new db_log_entry_p[count]; 793 delete answer; 808 answer->list.list_val = NULL; 810 return (answer);
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 312 * TXT record. Thus, if the TXT record exists, the answer section of 364 * Decode any answer received from the DNS server. This interface is 394 ans_t answer = {0}; local 399 * and extract the answer counts for later. 402 answer = s_ans; 406 buf = (uchar_t *)&answer.buf; 407 hp = (HEADER *)&answer.hdr; 455 * Process actual answer(s). 486 * Advance to next answer record for any
|
/illumos-gate/usr/src/cmd/format/ |
H A D | misc.c | 172 int answer; local 176 * If we are running out of a command file, assume a yes answer. 184 answer = input(FIO_MSTR, question, '?', &ioparam, 186 return (answer);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 35 ** the size of the *un*truncated answer in case the supplied answer buffer 36 ** it not big enough to accommodate the entire answer. 221 querybuf answer; local 276 n = (*resfunc)(host, C_IN, T_MX, (unsigned char *) &answer, 277 sizeof(answer)); 326 if (n > sizeof(answer)) 327 n = sizeof(answer); 329 /* find first satisfactory answer */ 330 hp = (HEADER *)&answer; 798 querybuf answer; local [all...] |