Lines Matching defs:ur
57 t_PXENV_UDP_READ *ur;
67 ur = lmalloc(sizeof *ur + RCV_BUF);
84 memset(ur, 0, sizeof *ur);
85 ur->src_ip = tftp->srv_ip;
86 ur->dest_ip = tftp->my_ip;
87 ur->s_port = tftp->srv_port;
88 ur->d_port = tftp->my_port;
89 ur->buffer_size = RCV_BUF;
90 ur->buffer = FAR_PTR(ur+1);
92 err = pxe_call(PXENV_UDP_READ, ur);
94 if (!err && ur->status == PXENV_STATUS_SUCCESS &&
95 tftp->srv_ip == ur->src_ip &&
97 tftp->srv_port == ur->s_port)) {
98 uint16_t *xb = (uint16_t *)(ur+1);
101 tftp->srv_port = ur->s_port;
105 struct tftp_error *te = (struct tftp_error *)(ur+1);
117 lfree(ur);