Searched refs:ackbuf (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/
H A Dtftpd.c86 char ackbuf[PKTSIZE]; variable
359 ap = (struct tftphdr *)ackbuf;
380 n = recv(peer, ackbuf, sizeof (ackbuf), 0);
429 ap = (struct tftphdr *)ackbuf;
437 if (send(peer, ackbuf, 4, confirmed) != 4) {
479 (void) send(peer, ackbuf, 4, confirmed);
488 (void) send(peer, ackbuf, 4, 0); /* resend final ack */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/server/
H A Dtftpd.c195 static tftphdr_storage_t ackbuf; variable
1223 sap = &ackbuf.hdr;
1252 n = sread(peer, &ackbuf.storage[0], sizeof(ackbuf.storage));
1301 rap = &ackbuf.hdr;
1311 if (swrite(peer, &ackbuf.storage[0], 4) != 4) {
1358 (void) swrite(peer, &ackbuf.storage[0], 4);
1373 (void) swrite(peer, &ackbuf.storage[0], 4); /* resend final ack */

Completed in 64 milliseconds