Home
last modified time | relevance | path

Searched refs:spkt (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dtftpd.c93 char *ptr, *spkt, *rpkt; in do_action() local
96 spkt = xzalloc(blksize + 4); in do_action()
98 ptr = spkt+2; //point after opcode. in do_action()
142 ptr = spkt+2; in do_action()
158 *((uint16_t*)spkt) = htons(pktopcode); //append send pkt's opcode. in do_action()
160 if (sendto(TT.sfd, spkt, (ptr - spkt), 0, dstaddr, socklen) <0) in do_action()
231 free(spkt); in do_action()