Home
last modified time | relevance | path

Searched refs:reply (Results 1 – 25 of 110) sorted by relevance

12345

/mirbsd/src/usr.sbin/apm/
Dapm.c56 int send_command(int fd, struct apm_command *cmd, struct apm_reply *reply);
75 send_command(int fd, struct apm_command *cmd, struct apm_reply *reply) in send_command() argument
81 if (recv(fd, reply, sizeof(*reply), 0) != sizeof(*reply)) { in send_command()
96 struct apm_reply reply; in do_zzz() local
111 exit(send_command(fd, &command, &reply)); in do_zzz()
149 struct apm_reply reply; in main() local
219 &reply.batterystate) == 0) in main()
231 if ((rval = send_command(fd, &command, &reply)) != 0) in main()
240 reply.batterystate.battery_state); in main()
243 reply.batterystate.battery_life); in main()
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/ExtUtils/
Dinstmodsh56 my $reply = <STDIN>; chomp($reply);
57 my($cmd) = $reply =~ /^(\w)\b/;
62 $Module_Commands{$cmd}->($reply, $module);
75 my($reply, $module) = @_;
77 my $class = (split(' ', $reply))[1];
92 my($reply, $module) = @_;
94 my $class = (split(' ', $reply))[1];
109 my($reply, $module) = @_;
111 my $file = (split(' ', $reply))[1];
131 my($reply, $module) = @_;
[all …]
/mirbsd/src/usr.sbin/ntpd/
Dserver.c118 #define reply (st.reply_) in server_dispatch() macro
140 bzero(&reply, sizeof(reply)); in server_dispatch()
142 reply.status = conf->status.leap; in server_dispatch()
144 reply.status = LI_ALARM; in server_dispatch()
145 reply.status |= (query.status & VERSIONMASK); in server_dispatch()
147 reply.status |= MODE_SERVER; in server_dispatch()
149 reply.status |= MODE_SYM_PAS; in server_dispatch()
154 reply.stratum = conf->status.stratum; in server_dispatch()
155 reply.ppoll = query.ppoll; in server_dispatch()
156 reply.precision = conf->status.precision; in server_dispatch()
[all …]
Dclient.c265 p->reply[p->shift].offset = ((T2 - T1) + (T3 - T4)) / 2; in client_dispatch()
266 p->reply[p->shift].delay = (T4 - T1) - (T3 - T2); in client_dispatch()
267 if (p->reply[p->shift].delay < DELAY_NEGLIGEE) { in client_dispatch()
273 p->reply[p->shift].delay, (int)interval); in client_dispatch()
276 p->reply[p->shift].error = (T2 - T1) - (T3 - T4); in client_dispatch()
277 if (p->reply[p->shift].error < 0) in client_dispatch()
278 p->reply[p->shift].error = -p->reply[p->shift].error; in client_dispatch()
279 p->reply[p->shift].rcvd = time(NULL); in client_dispatch()
280 p->reply[p->shift].good = 1; in client_dispatch()
282 p->reply[p->shift].status.leap = (msg.status & LIMASK); in client_dispatch()
[all …]
/mirbsd/src/libexec/ftpd/
Dftpcmd.y178 reply(500,
183 reply(500,
190 reply(500,
198 reply(200, "PORT command successful.");
207 reply(500,
216 reply(200, "LPRT command successful.");
226 reply(500,
235 reply(200, "LPRT command successful.");
265 reply(200, "EPSV ALL command successful.");
281 reply(200, "Type set to A.");
[all …]
Dftpd.c565 reply(530, in main()
606 reply(530, "System not available."); in main()
632 reply(220, "FTP server (%s) ready.", version); in main()
634 reply(220, "%s FTP server (%s) ready.", in main()
739 reply(530, "User %s access denied.", name); in user()
753 reply(421, "Local resource failure"); in user()
756 reply(331, in user()
759 reply(530, "User %s unknown.", name); in user()
801 reply(421, "Local resource failure"); in user()
811 reply(530, "Sorry, only anonymous ftp allowed."); in user()
[all …]
/mirbsd/src/sys/dev/ic/
Dbha.c935 inquire.cmd.len = sizeof(inquire.reply);
938 sizeof(inquire.reply), (u_char *)&inquire.reply);
949 i, sizeof(inquire.reply), "INQUIRE_EXTENDED");
956 switch (inquire.reply.bus_type) {
965 inquire.reply.bus_type);
970 iswide = inquire.reply.scsi_flags & BHA_SCSI_WIDE;
980 sizeof(config.reply), (u_char *)&config.reply);
981 switch (config.reply.chan) {
999 config.reply.chan);
1003 switch (config.reply.intr) {
[all …]
Dbhareg.h331 } reply; member
348 } reply; member
374 } reply; member
386 } reply; member
395 } reply; member
404 } reply; member
458 struct bha_setup_reply reply; member
471 struct bha_period_reply reply; member
Dmpt_openbsd.c459 if (mpt->reply != NULL) in mpt_dma_mem_alloc()
486 (caddr_t *) &mpt->reply, BUS_DMA_COHERENT/*XXX*/); in mpt_dma_mem_alloc()
501 error = bus_dmamap_load(mpt->sc_dmat, mpt->reply_dmap, mpt->reply, in mpt_dma_mem_alloc()
593 bus_dmamem_unmap(mpt->sc_dmat, (caddr_t)mpt->reply, PAGE_SIZE); in mpt_dma_mem_alloc()
599 mpt->reply = NULL; in mpt_dma_mem_alloc()
611 uint32_t reply; in mpt_intr() local
625 reply = mpt_pop_reply_queue(mpt); in mpt_intr()
627 if (reply == 0xffffffff) { in mpt_intr()
633 while (reply != MPT_REPLY_EMPTY) { in mpt_intr()
636 if ((reply & MPT_CONTEXT_REPLY) != 0) { in mpt_intr()
[all …]
Dmpt.c430 mpt_recv_handshake_reply(mpt_softc_t *mpt, size_t reply_len, void *reply) in mpt_recv_handshake_reply() argument
438 data16 = (u_int16_t *)reply; in mpt_recv_handshake_reply()
440 hdr = (MSG_DEFAULT_REPLY *)reply; in mpt_recv_handshake_reply()
543 MSG_IOC_INIT_REPLY reply; in mpt_send_ioc_init() local
581 error = mpt_recv_handshake_reply(mpt, sizeof reply, &reply); in mpt_send_ioc_init()
600 MSG_CONFIG_REPLY *reply; in mpt_read_cfg_header() local
629 reply = (MSG_CONFIG_REPLY *) MPT_REPLY_PTOV(mpt, req->sequence); in mpt_read_cfg_header()
630 if ((reply->IOCStatus & MPI_IOCSTATUS_MASK) != MPI_IOCSTATUS_SUCCESS) { in mpt_read_cfg_header()
632 reply->IOCStatus); in mpt_read_cfg_header()
636 bcopy(&reply->Header, rslt, sizeof (fCONFIG_PAGE_HEADER)); in mpt_read_cfg_header()
[all …]
/mirbsd/src/sbin/fsck_ffs/
Dpass2.c93 if (reply("ALLOCATE") == 0) { in pass2()
103 if (reply("REALLOCATE")) { in pass2()
109 if (reply("CONTINUE") == 0) { in pass2()
118 if (reply("REALLOCATE")) { in pass2()
124 if (reply("FIX") == 0) { in pass2()
163 if (reply("FIX") == 1) { in pass2()
182 if (preen || reply("ADJUST") == 1) { in pass2()
213 if (reply("FIX") == 0) in pass2()
221 if (reply("FIX") == 0) in pass2()
277 if (reply("FIX") == 1) in pass2check()
[all …]
Dsetup.c87 if (reply("CONTINUE") == 0) in setup()
122 if (reply("LOOK FOR ALTERNATE SUPERBLOCKS") == 0) in setup()
171 if (reply("SET TO DEFAULT") == 1) { in setup()
179 if (reply("SET TO DEFAULT") == 1) { in setup()
191 if (preen || reply("SET TO DEFAULT") == 1) { in setup()
203 if (preen || reply("SET TO DEFAULT") == 1) { in setup()
214 if (preen || reply("FIX") == 1) { in setup()
225 if (preen || reply("FIX") == 1) { in setup()
235 if (preen || reply("FIX") == 1) { in setup()
245 if (preen || reply("FIX") == 1) { in setup()
[all …]
Dpass1.c131 if (reply("CLEAR") == 1) { in checkinode()
147 if (!preen && mode == IFMT && reply("HOLD BAD BLOCK") == 1) { in checkinode()
228 if (reply("CONTINUE") == 0) { in checkinode()
264 else if (reply("CORRECT") == 0) in checkinode()
274 if (reply("CLEAR") == 1) { in checkinode()
298 else if (reply("CONTINUE") == 0) { in pass1check()
318 else if (reply("CONTINUE") == 0) { in pass1check()
327 if (reply("CONTINUE") == 0) { in pass1check()
/mirbsd/src/sbin/fsck_ext2fs/
Dpass2.c69 if (reply("ALLOCATE") == 0) in pass2()
77 if (reply("REALLOCATE")) { in pass2()
83 if (reply("CONTINUE") == 0) in pass2()
90 if (reply("REALLOCATE")) { in pass2()
96 if (reply("FIX") == 0) in pass2()
128 if (reply("FIX") == 1) { in pass2()
141 if (preen || reply("ADJUST") == 1) { in pass2()
169 if (reply("FIX") == 0) in pass2()
177 if (reply("FIX") == 0) in pass2()
212 if (reply("FIX") == 1) in pass2check()
[all …]
Dpass1.c140 if (reply("CLEAR") == 1) { in checkinode()
152 if (preen || reply("CORRECT")) { in checkinode()
172 if (preen || reply("CORRECT")) { in checkinode()
183 if (!preen && mode == IFMT && reply("HOLD BAD BLOCK") == 1) { in checkinode()
242 if (reply("CONTINUE") == 0) in checkinode()
269 else if (reply("CORRECT") == 0) in checkinode()
279 if (reply("CLEAR") == 1) { in checkinode()
303 else if (reply("CONTINUE") == 0) in pass1check()
321 else if (reply("CONTINUE") == 0) in pass1check()
328 if (reply("CONTINUE") == 0) in pass1check()
/mirbsd/src/sys/lib/libsa/
Drpc.c117 struct rpc_reply *reply; in rpc_call() local
178 recv_head -= sizeof(*reply); in rpc_call()
191 if ((size_t)cc <= sizeof(*reply)) { in rpc_call()
202 reply = (struct rpc_reply *)recv_head; in rpc_call()
203 auth = &reply->rp_u.rpu_rok.rok_auth; in rpc_call()
213 x = ntohl(reply->rp_u.rpu_rok.rok_status); in rpc_call()
219 recv_head += sizeof(*reply); in rpc_call()
232 struct rpc_reply *reply; in recvrpc() local
246 reply = (struct rpc_reply *)pkt; in recvrpc()
248 x = ntohl(reply->rp_xid); in recvrpc()
[all …]
/mirbsd/src/sys/dev/isa/
Daha.c955 sizeof(config.reply), (u_char *)&config.reply);
956 switch (config.reply.chan) {
974 config.reply.chan);
980 switch (config.reply.intr) {
1001 config.reply.intr);
1009 sc->sc_scsi_dev = config.reply.scsi_dev;
1062 (u_char *)&extbios.cmd, sizeof(extbios.reply),
1063 (u_char *)&extbios.reply);
1068 extbios.reply.flags, extbios.reply.mailboxlock);
1073 unlock.cmd.magic = extbios.reply.mailboxlock;
[all …]
Dahareg.h178 } reply; member
188 } reply; member
207 } reply; member
232 } reply; member
255 } reply; member
Dbha_isa.c103 digit.reply.digit = '@';
106 sizeof(digit.reply), (u_char *)&digit.reply);
107 if (digit.reply.digit == '@')
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dsm_resolve.c403 unsigned char *reply; local
429 reply = (unsigned char *)&reply_buf;
430 len = res_search(domain, rr_class, rr_type, reply, SMRBSIZE);
446 reply = (unsigned char *)sm_malloc(IP_MAXPACKET);
447 if (reply == NULL)
451 reply, IP_MAXPACKET);
460 if (len >= 0 && len < IP_MAXPACKET && reply != NULL)
461 r = parse_dns_reply(reply, len);
462 if (reply != (unsigned char *)&reply_buf && reply != NULL)
464 sm_free(reply);
[all …]
/mirbsd/src/usr.sbin/apmd/
Dapmd.c219 struct apm_reply reply; in handle_client() local
240 power_status(ctl_fd, 0, &reply.batterystate); in handle_client()
243 reply.newstate = SUSPENDING; in handle_client()
246 reply.newstate = STANDING_BY; in handle_client()
249 reply.newstate = NORMAL; in handle_client()
253 reply.vno = APMD_VNO; in handle_client()
254 if (send(cli_fd, &reply, sizeof(reply), 0) != sizeof(reply)) in handle_client()
258 return reply.newstate; in handle_client()
/mirbsd/src/sys/nfs/
Dkrpc_subr.c200 struct rpc_reply *reply; local
386 reply = mtod(m, struct rpc_reply *);
389 if (reply->rp_direction != txdr_unsigned(RPC_REPLY))
392 if (reply->rp_xid != txdr_unsigned(xid))
396 if (reply->rp_astatus != 0) {
397 error = fxdr_unsigned(u_int32_t, reply->rp_errno);
403 if (reply->rp_status != 0) {
404 error = fxdr_unsigned(u_int32_t, reply->rp_status);
423 len = sizeof(*reply);
431 reply = mtod(m, struct rpc_reply *);
[all …]
/mirbsd/src/usr.bin/tip/
Dtipout.c72 char reply; in intEMT() local
84 reply = 'y'; in intEMT()
87 reply = 'n'; in intEMT()
89 reply = 'y'; in intEMT()
93 write(repdes[1], &reply, 1); in intEMT()
/mirbsd/src/gnu/usr.bin/perl/utils/
Dperlbug.PL789 my $reply = scalar <STDIN>;
790 chomp $reply;
791 if ($reply ne '') {
792 unless (TrivialSubject($reply)) {
793 $subject = $reply;
801 my $reply = scalar <STDIN>;
802 chomp $reply;
803 if ($reply eq "yes") {
/mirbsd/src/usr.sbin/fdformat/
Dfdformat.c159 char reply [256], *p; in yes() local
161 reply[sizeof(reply)-1] = 0; in yes()
164 if (! fgets (reply, sizeof(reply)-1, stdin)) in yes()
166 for (p=reply; *p==' ' || *p=='\t'; ++p) in yes()

12345