Searched refs:ackbuf (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 104 static tftpbuf ackbuf; variable 1040 n = recv(peer, &ackbuf, sizeof (ackbuf), 0); in tftpd_sendfile() 1053 ackbuf.tb_hdr.th_opcode = in tftpd_sendfile() 1054 ntohs((ushort_t)ackbuf.tb_hdr.th_opcode); in tftpd_sendfile() 1055 ackbuf.tb_hdr.th_block = in tftpd_sendfile() 1056 ntohs((ushort_t)ackbuf.tb_hdr.th_block); in tftpd_sendfile() 1058 if (ackbuf.tb_hdr.th_opcode == ERROR) { in tftpd_sendfile() 1062 ackbuf.tb_hdr.th_code); in tftpd_sendfile() 1066 ackbuf.tb_hdr.th_msg); in tftpd_sendfile() 1072 if (ackbuf.tb_hdr.th_opcode == ACK) { in tftpd_sendfile() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 90 static tftpbuf ackbuf; variable 130 ap = &ackbuf.tb_hdr; in tftp_sendfile() 176 n = recvfrom(f, ackbuf.tb_data, in tftp_sendfile() 177 sizeof (ackbuf.tb_data), 0, in tftp_sendfile() 202 errcode = process_oack(&ackbuf, n); in tftp_sendfile() 257 ap = &ackbuf.tb_hdr; in tftp_recvfile() 289 if (sendto(f, ackbuf.tb_data, size, 0, (struct sockaddr *)&sin6, in tftp_recvfile() 394 if (sendto(f, ackbuf.tb_data, 4, 0, in tftp_recvfile() 626 tp = &ackbuf.tb_hdr; in nak() 637 sizeof (ackbuf) - sizeof (struct tftphdr)); in nak() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 1274 uchar_t buf[BUFFSIZE], ackbuf[BUFFSIZE]; in vrrpd_cmdsock_handler() local 1359 ((vrrp_ret_t *)ackbuf)->vr_err = err; in vrrpd_cmdsock_handler() 1367 acksize = sizeof (ackbuf); in vrrpd_cmdsock_handler() 1370 cinfo->vi_cmdfunc((vrrp_cmd_t *)buf, ackbuf, &acksize); in vrrpd_cmdsock_handler() 1378 len = sendto(connfd, ackbuf + cursize, acksize - cursize, in vrrpd_cmdsock_handler()
|