Lines Matching defs:tftp_client

126 struct tftp_client {
133 TAILQ_ENTRY(tftp_client) entry;
142 int (*fgetc)(struct tftp_client *);
143 int (*fputc)(struct tftp_client *, int);
160 void rewrite_map(struct tftp_client *, const char *);
167 int retry(struct tftp_client *);
168 int tftp_flush(struct tftp_client *);
170 void tftp(struct tftp_client *, struct tftphdr *, size_t);
171 void tftp_open(struct tftp_client *, const char *);
172 void nak(struct tftp_client *, int);
173 int oack(struct tftp_client *);
176 void sendfile(struct tftp_client *);
177 void recvfile(struct tftp_client *);
178 int fget_octet(struct tftp_client *);
179 int fput_octet(struct tftp_client *, int);
180 int fget_netascii(struct tftp_client *);
181 int fput_netascii(struct tftp_client *, int);
182 void file_read(struct tftp_client *);
183 void tftp_send(struct tftp_client *);
184 int tftp_wrq_ack_packet(struct tftp_client *);
186 void tftp_wrq_ack(struct tftp_client *client);
190 int parse_options(struct tftp_client *, char *, size_t,
192 int validate_access(struct tftp_client *, const char *);
194 struct tftp_client *
196 void client_free(struct tftp_client *client);
200 int (*f_getc)(struct tftp_client *);
201 int (*f_putc)(struct tftp_client *, int);
426 TAILQ_HEAD(, tftp_client) clients;
479 rewrite_map(struct tftp_client *client, const char *filename)
518 struct tftp_client *client;
632 struct tftp_client *
635 struct tftp_client *client;
655 client_free(struct tftp_client *client)
685 struct tftp_client *client;
784 parse_options(struct tftp_client *client, char *cp, size_t size,
826 tftp(struct tftp_client *client, struct tftphdr *tp, size_t size)
934 tftp_open(struct tftp_client *client, const char *filename)
970 validate_access(struct tftp_client *client, const char *requested)
1082 fget_octet(struct tftp_client *client)
1088 fput_octet(struct tftp_client *client, int c)
1094 fget_netascii(struct tftp_client *client)
1123 fput_netascii(struct tftp_client *client, int c)
1140 sendfile(struct tftp_client *client)
1149 file_read(struct tftp_client *client)
1181 tftp_send(struct tftp_client *client)
1195 struct tftp_client *client = arg;
1262 tftp_flush(struct tftp_client *client)
1285 recvfile(struct tftp_client *client)
1292 tftp_wrq_ack_packet(struct tftp_client *client)
1307 tftp_wrq_ack(struct tftp_client *client)
1323 struct tftp_client *client = arg;
1409 struct tftp_client *client = arg;
1469 nak(struct tftp_client *client, int error)
1509 oack(struct tftp_client *client)
1565 retry(struct tftp_client *client)
1580 struct tftp_client *client = arg;