Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dtftpcommon.h55 struct tftphdr tb_hdr;
66 extern struct tftphdr *w_init(void);
67 extern struct tftphdr *r_init(void);
68 extern int readit(FILE *, struct tftphdr **, int);
70 extern int writeit(FILE *, struct tftphdr **, int, int);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c115 struct tftphdr *ap; /* data and ack packets */ in tftp_sendfile()
116 struct tftphdr *dp; in tftp_sendfile()
194 if (n > offsetof(struct tftphdr, th_data)) in tftp_sendfile()
196 offsetof(struct tftphdr, th_data), in tftp_sendfile()
243 struct tftphdr *ap; in tftp_recvfile()
244 struct tftphdr *dp; in tftp_recvfile()
322 if (n > offsetof(struct tftphdr, th_data)) in tftp_recvfile()
324 offsetof(struct tftphdr, th_data), in tftp_recvfile()
588 struct tftphdr *oackp; in process_oack()
623 struct tftphdr *tp; in nak()
[all …]
H A Dtftpsubs.c97 static struct tftphdr *rw_init(int);
99 struct tftphdr *w_init() { return (rw_init(0)); } /* write-behind */ in w_init()
100 struct tftphdr *r_init() { return (rw_init(1)); } /* read-ahead */ in r_init()
106 static struct tftphdr *
124 readit(FILE *file, struct tftphdr **dpp, int convert) in readit()
149 struct tftphdr *dp; in read_ahead()
193 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) in writeit()
220 struct tftphdr *dp; in write_behind()
/illumos-gate/usr/src/boot/libsa/
H A Dtftp.c112 struct tftphdr *tftp_hdr;
141 struct tftphdr t; in tftp_senderr()
167 struct tftphdr t; in tftp_sendack()
185 struct tftphdr *t; in recvtftp()
292 struct tftphdr t; in tftp_makereq()
300 struct tftphdr *t; in tftp_makereq()
388 struct tftphdr t; in tftp_getnextblock()
394 struct tftphdr *t; in tftp_getnextblock()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c116 struct tftphdr hdr;
121 struct tftphdr hdr;
148 static void tftp(struct tftphdr *, int);
182 struct tftphdr *tp; in main()
664 struct tftphdr *oackp; in process_options()
772 tftp(struct tftphdr *tp, int size) in tftp()
1014 struct tftphdr *dp; in tftpd_sendfile()
1188 struct tftphdr *dp; in tftpd_recvfile()
1189 struct tftphdr *ap; /* ack buffer */ in tftpd_recvfile()
1353 struct tftphdr *tp; in nak()
[all …]
/illumos-gate/usr/src/head/arpa/
H A Dtftp.h57 struct tftphdr { struct
/illumos-gate/usr/src/boot/include/arpa/
H A Dtftp.h53 struct tftphdr { struct
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c49 struct tftphdr *tftp = data; in interpret_tftp()
H A Dsnoop.h281 struct tftphdr;
H A Dsnoop_rport.c380 (void) interpret_tftp(flags, (struct tftphdr *)data, in interpret_reserved()