Home
last modified time | relevance | path

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

/titanic_44/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);
/titanic_44/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 */ in w_init()
102 struct tftphdr *r_init() { return (rw_init(1)); } /* read-ahead */ in r_init()
108 static struct tftphdr *
126 readit(FILE *file, struct tftphdr **dpp, int convert) in readit()
151 struct tftphdr *dp; in read_ahead()
195 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) in writeit()
222 struct tftphdr *dp; in write_behind()
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 */ in tftp_sendfile()
117 struct tftphdr *dp; in tftp_sendfile()
183 } while (n < offsetof(struct tftphdr, th_data)); 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()
310 } while (n < offsetof(struct tftphdr, th_data)); in tftp_recvfile()
[all …]
/titanic_44/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; in main()
663 struct tftphdr *oackp; in process_options()
771 tftp(struct tftphdr *tp, int size) in tftp()
1013 struct tftphdr *dp; in tftpd_sendfile()
1187 struct tftphdr *dp; in tftpd_recvfile()
1188 struct tftphdr *ap; /* ack buffer */ in tftpd_recvfile()
1352 struct tftphdr *tp; in nak()
[all …]
/titanic_44/usr/src/head/arpa/
H A Dtftp.h59 struct tftphdr { struct
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.h245 struct tftphdr;
246 extern int interpret_tftp(int, struct tftphdr *, int);
H A Dsnoop_tftp.c38 interpret_tftp(int flags, struct tftphdr *tftp, int fraglen) in interpret_tftp()
H A Dsnoop_rport.c381 (void) interpret_tftp(flags, (struct tftphdr *)data, in interpret_reserved()