Lines Matching defs:ERROR
80 #define ERROR 05 /* error code */
86 short tu_code; /* error code */
89 char th_data[1]; /* data or error string */
128 int error = -1;
168 if ((error = nfs_boot_init(nd, l)) != 0) {
170 __func__, __LINE__, error));
190 if ((error = tftproot_getfile(&trh, l)) != 0) {
192 __func__, __LINE__, error));
196 error = 0;
202 return error;
214 int error = -1;
219 if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0, l, NULL)) != 0) {
221 __func__, __LINE__, error));
228 if ((error = nfs_boot_setrecvtimo(so))) {
230 __func__, __LINE__, error));
248 error = E2BIG;
288 if ((error = nfs_boot_sendrecv(so, &sin, NULL, m_outbuf,
291 __func__, __LINE__, error));
320 if ((error = (*so->so_send)(so, mtod(m_serv, struct sockaddr *), NULL,
323 __func__, __LINE__, error));
336 error = 0;
345 return error;
389 * We handle data or error
395 case ERROR: {
409 printf("tftproot: TFTP server returned error %d, %s\n",