Searched refs:answer (Results 1 - 25 of 83) sorted by relevance

1234

/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dcksum.c58 register u_short answer; local
81 answer = ~sum; /* truncate to 16 bits */
82 return (answer);
H A Dacksend.c40 struct tsp *answer; variable in typeref:struct:tsp
96 answer = 0;
98 if (!answer) {
112 answer = readmsg(ack, name, &twait, net);
113 if (answer != 0) {
114 if (answer->tsp_seq != sequence) {
117 answer->tsp_seq, sequence);
127 return(answer);
H A Dcandidate.c52 struct tsp *answer; local
139 answer = acksend(&msg, &htp->addr, htp->name,
141 if (!answer) {
H A Dtimed.c485 struct tsp resp, conflict, *answer; local
496 answer = acksend(&resp, &ntp->dest_addr, ANYADDR,
498 if (answer != 0 && !good_host_name(answer->tsp_name)) {
499 suppress(&from, answer->tsp_name, ntp);
501 answer = 0;
503 if (answer == 0) {
513 answer = readmsg(TSP_MASTERREQ, ANYADDR, &ntime, ntp);
514 if (answer != 0) {
515 if (!good_host_name(answer
[all...]
H A Dslave.c72 struct tsp *answer; local
412 "no answer from candidate %s\n",
445 answer = acksend(&to, &ntp->dest_addr,
448 if (answer == NULL)
450 htp = addmach(answer->tsp_name,&from,ntp);
452 answer = acksend(&to, &htp->addr, htp->name,
454 if (!answer) {
472 answer = acksend(&to, &slavenet->dest_addr,
475 if (answer != NULL
476 && good_host_name(answer
[all...]
/freebsd-9.3-release/contrib/telnet/libtelnet/
H A Dgetent.c70 char *answer, *tempid; local
73 retval = cgetstr(area, tempid, &answer);
75 return((retval > 0) ? answer : NULL);
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/
H A Dguess.d26 answer = (rand() % 100) + 1;
27 answer = answer > 0 ? answer : - answer;
78 /self->doneguess && guess == answer/
88 /self->doneguess && guess != answer/
92 printf("%s...\n", guess < answer ? "Higher" : "Lower");
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Misc/
H A Dguess.d26 answer = (rand() % 100) + 1;
27 answer = answer > 0 ? answer : - answer;
78 /self->doneguess && guess == answer/
88 /self->doneguess && guess != answer/
92 printf("%s...\n", guess < answer ? "Higher" : "Lower");
/freebsd-9.3-release/usr.bin/tset/
H A Dterm.c126 static char answer[256]; local
141 if (fgets(answer, sizeof(answer), stdin) == NULL) {
149 if ((p = index(answer, '\n')))
151 if (answer[0])
152 return (answer);
/freebsd-9.3-release/contrib/gcclibs/libcpp/include/
H A Dcpp-id-data.h28 struct answer GTY(()) function
30 struct answer *next;
/freebsd-9.3-release/contrib/gdb/gdb/tui/
H A Dtui-hooks.c74 int answer; local
76 /* Automatically answer "yes" if input is not from a terminal. */
92 answer = tui_getc (stdin);
94 if (answer == EOF) /* C-d */
100 if (answer != '\n')
108 if (answer >= 'a')
109 answer -= 040;
110 if (answer == 'Y')
115 if (answer == 'N')
120 printf_filtered ("Please answer
[all...]
/freebsd-9.3-release/include/protocols/
H A Dtalkd.h61 u_char answer; /* not used */ member in struct:__anon4958
80 u_char answer; /* respose to request message, see below */ member in struct:__anon4959
94 /* answer values */
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c168 struct dns_rr *answer; member in struct:dns_response
198 u_char answer[ANSWER_BUFFER_SIZE]; local
236 answer, sizeof(answer));
252 response = parse_dns_response(answer, length);
271 rrset->rri_ttl = response->answer->ttl;
280 /* copy name from answer section */
281 rrset->rri_name = strdup(response->answer->name);
288 rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass,
290 rrset->rri_nsigs = count_dns_rr(response->answer, rrse
383 parse_dns_response(const u_char *answer, int size) argument
448 parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count) argument
494 parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, int count) argument
[all...]
/freebsd-9.3-release/libexec/talkd/
H A Dprocess.c79 rp->answer = BADVERSION;
87 rp->answer = BADADDR;
94 rp->answer = BADCTLADDR;
100 rp->answer = FAILED;
116 rp->answer = SUCCESS;
127 rp->answer = SUCCESS;
129 rp->answer = NOT_HERE;
133 rp->answer = delete_invite(mp->id_num);
137 rp->answer = UNKNOWN_REQUEST;
154 rp->answer
[all...]
H A Dprint.c87 if (rp->answer > NANSWERS) {
88 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
91 ap = answers[rp->answer];
/freebsd-9.3-release/usr.sbin/pkg_install/version/
H A Dtest-pkg_version.sh40 setvar answer $2
44 if [ ${res} != ${answer} ]; then \
45 ${ECHO} "${type} test failed (${v1} ${res} ${v2}, should have been ${answer})"; \
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_query.c100 * Formulate a normal query, send, and await answer.
101 * Returned answer is placed in supplied buffer "answer".
102 * Perform preliminary check of answer, returning success only
103 * if no error is indicated and the answer count is nonzero.
107 * Caller must parse answer and determine whether it answers the question.
113 u_char *answer, /*%< buffer to put answer */
114 int anslen) /*%< size of answer buffer */
117 HEADER *hp = (HEADER *) answer;
110 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
211 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
405 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_data.c170 u_char *answer, /*!< buffer to put answer */
171 int anslen) /*!< size of answer buffer */
177 return (res_nquery(&_res, name, class, type, answer, anslen));
239 u_char *answer, /*!< buffer to put answer */
240 int anslen) /*!< size of answer */
247 return (res_nsearch(&_res, name, class, type, answer, anslen));
254 u_char *answer, /*!< buffer to put answer */
168 res_query(const char *name, int class, int type, u_char *answer, int anslen) argument
237 res_search(const char *name, int class, int type, u_char *answer, int anslen) argument
251 res_querydomain(const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
[all...]
H A Dres_update.c60 * nameservers for that zone, and await answer.
99 u_char answer[PACKETSZ]; local
180 answer, sizeof answer);
183 n = res_nsend(statp, packet, n, answer, sizeof answer);
189 if (((HEADER *)answer)->rcode == NOERROR)
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dbitdomain.c215 querybuf answer; local
234 &answer, sizeof(answer));
268 hp = (HEADER *) &answer;
269 ap = (u_char *) &answer + sizeof(HEADER);
270 eom = (u_char *) &answer + ret;
283 n = dn_expand((u_char *) &answer, eom, ap,
299 if ((ret = dn_expand((u_char *)&answer,
/freebsd-9.3-release/contrib/sendmail/src/
H A Ddomain.c200 querybuf answer; local
255 n = (*resfunc)(host, C_IN, T_MX, (unsigned char *) &answer,
256 sizeof(answer));
305 if (n > sizeof(answer))
306 n = sizeof(answer);
308 /* find first satisfactory answer */
309 hp = (HEADER *)&answer;
310 cp = (unsigned char *)&answer + HFIXEDSZ;
311 eom = (unsigned char *)&answer + n;
330 if ((n = dn_expand((unsigned char *)&answer, eo
777 querybuf answer; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/
H A Dmake.dist68 read answer
69 if [ "$answer" = y -o "$answer" = Y ]; then
/freebsd-9.3-release/usr.bin/talk/
H A Dinvite.c138 "answer #0", /* SUCCESS */
161 if (response.answer != SUCCESS) {
162 if (response.answer < NANSWERS)
163 message(answers[response.answer]);
182 * and don't wait for an answer
/freebsd-9.3-release/crypto/heimdal/lib/ntlm/
H A Dtest_ntlm.c193 struct ntlm_buf infotarget, infotarget2, answer, key; local
206 answer.length = 0;
207 answer.data = NULL;
218 &answer);
228 &answer,
244 free(answer.data);
/freebsd-9.3-release/contrib/gcclibs/libcpp/
H A Ddirectives.c122 static int parse_answer (cpp_reader *, struct answer **, int);
123 static cpp_hashnode *parse_assertion (cpp_reader *, struct answer **, int);
124 static struct answer ** find_answer (cpp_hashnode *, const struct answer *);
1808 /* Read the tokens of the answer into the macro pool, in a directive
1811 ANSWERP to point to the answer. */
1813 parse_answer (cpp_reader *pfile, struct answer **answerp, int type)
1816 struct answer *answer; local
1826 /* In a conditional no answer i
1928 struct answer *answer = *result; local
1950 struct answer *answer; local
2019 struct answer *answer; local
[all...]

Completed in 131 milliseconds

1234