Home
last modified time | relevance | path

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

/freebsd/libexec/tftpd/
H A Dtftp-io.c114 packettype(ntohs(((struct tftphdr *) in send_packet()
120 packettype(ntohs(((struct tftphdr *)(pkt))->th_opcode)), in send_packet()
139 struct tftphdr *tp; in send_error()
149 tp = (struct tftphdr *)buf; in send_error()
177 struct tftphdr *tp; in send_wrq()
189 tp = (struct tftphdr *)buf; in send_wrq()
191 size = offsetof(struct tftphdr, th_stuff); in send_wrq()
225 struct tftphdr *tp; in send_rrq()
237 tp = (struct tftphdr *)buf; in send_rrq()
239 size = offsetof(struct tftphdr, th_stuff); in send_rrq()
[all …]
H A Dtftp-transfer.c61 struct tftphdr *rp; in tftp_send()
69 rp = (struct tftphdr *)recvbuffer; in tftp_send()
244 struct tftphdr *firstblock, size_t fb_size) in tftp_receive()
246 struct tftphdr *rp; in tftp_receive()
286 rp = (struct tftphdr *)recvbuffer; in tftp_receive()
H A Dtftp-transfer.h30 struct tftphdr *firstblock, size_t fb_size);
H A Dtftpd.c115 struct tftphdr *tp; in main()
399 tp = (struct tftphdr *)recvbuffer; in main()
570 struct tftphdr *rp = (struct tftphdr *)lrecvbuffer; in tftp_rrq()
H A Dtftp-options.h37 int option_tsize(int peer, struct tftphdr *, int, struct stat *);
H A Dtftp-options.c139 option_tsize(int peer __unused, struct tftphdr *tp __unused, int mode, in option_tsize()
/freebsd/usr.bin/tftp/
H A Dtftp.c66 struct tftphdr *rp; in xmitfile()
76 rp = (struct tftphdr *)recvbuffer; in xmitfile()
168 struct tftphdr *rp; in recvfile()
176 rp = (struct tftphdr *)recvbuffer; in recvfile()
/freebsd/stand/libsa/
H A Dtftp.c114 struct tftphdr *tftp_hdr;
145 struct tftphdr t; in tftp_senderr()
171 struct tftphdr t; in tftp_sendack()
189 struct tftphdr *t; in recvtftp()
301 struct tftphdr t; in tftp_makereq()
309 struct tftphdr *t; in tftp_makereq()
398 struct tftphdr t; in tftp_getnextblock()
404 struct tftphdr *t; in tftp_getnextblock()
/freebsd/include/arpa/
H A Dtftp.h52 struct tftphdr { struct
/freebsd/contrib/pf/tftp-proxy/
H A Dtftp-proxy.c76 struct tftphdr *tp; in main()
204 tp = (struct tftphdr *)req; in main()