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

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Dtftpcommon.h57 struct tftphdr tb_hdr;
68 extern struct tftphdr *w_init(void);
69 extern struct tftphdr *r_init(void);
70 extern int readit(FILE *, struct tftphdr **, int);
72 extern int writeit(FILE *, struct tftphdr **, int, int);
/illumos-gate/usr/src/head/arpa/
H A Dtftp.h59 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.bin/tftp/
H A Dtftpsubs.c99 static struct tftphdr *rw_init(int);
101 struct tftphdr *w_init() { return (rw_init(0)); } /* write-behind */
102 struct tftphdr *r_init() { return (rw_init(1)); } /* read-ahead */
108 static struct tftphdr *
126 readit(FILE *file, struct tftphdr **dpp, int convert)
151 struct tftphdr *dp;
195 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert)
222 struct tftphdr *dp;
H A Dtftp.c73 static int makerequest(int, char *, struct tftphdr *, char *);
74 static void tpacket(char *, struct tftphdr *, int);
116 struct tftphdr *ap; /* data and ack packets */
117 struct tftphdr *dp;
183 } while (n < offsetof(struct tftphdr, th_data));
194 if (n > offsetof(struct tftphdr, th_data))
196 offsetof(struct tftphdr, th_data),
243 struct tftphdr *ap;
244 struct tftphdr *dp;
310 } while (n < offsetof(struct tftphdr, th_dat
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c119 struct tftphdr t;
145 struct tftphdr t;
171 struct tftphdr t;
188 struct tftphdr *t;
197 t = (struct tftphdr *) pkt;
273 struct tftphdr t;
279 struct tftphdr *t;
361 struct tftphdr t;
365 struct tftphdr *t;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c115 struct tftphdr hdr;
120 struct tftphdr hdr;
147 static void tftp(struct tftphdr *, int);
181 struct tftphdr *tp;
663 struct tftphdr *oackp;
771 tftp(struct tftphdr *tp, int size)
1013 struct tftphdr *dp;
1187 struct tftphdr *dp;
1188 struct tftphdr *ap; /* ack buffer */
1352 struct tftphdr *t
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c38 interpret_tftp(int flags, struct tftphdr *tftp, int fraglen)
H A Dsnoop.h245 struct tftphdr;
246 extern int interpret_tftp(int, struct tftphdr *, int);
H A Dsnoop_rport.c381 (void) interpret_tftp(flags, (struct tftphdr *)data,

Completed in 97 milliseconds