Searched refs:oackend (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 586 char *cp, *oackend, *optname, *optval; in process_oack() local 592 oackend = (char *)oackbuf + n; in process_oack() 594 while (cp < oackend) { in process_oack() 596 if ((optval = next_field(optname, oackend)) == NULL) in process_oack() 598 if ((cp = next_field(optval, oackend)) == NULL) in process_oack()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 662 char *cp, *optname, *optval, *ostr, *oackend; in process_options() local 681 oackend = oackbuf.data + sizeof (oackbuf.data); in process_options() 702 oackend - cp) + 1; in process_options() 703 if (cp <= oackend) in process_options() 704 cp += strlcpy(cp, ostr, oackend - cp) in process_options() 707 if (cp > oackend) { in process_options()
|