tftphdr
tp = (struct tftphdr *)req;
struct tftphdr *tp;
struct tftphdr *dp;
struct tftphdr *ap; /* ack buffer */
ap = (struct tftphdr *)oackbuf;
ap = (struct tftphdr *)ackbuf;
ap = (struct tftphdr *) (etftp ? oackbuf : ackbuf);
__dead static void tftp(struct tftphdr *, int);
struct tftphdr *tp;
tp = (struct tftphdr *)buf;
struct tftphdr *tp;
tp = (struct tftphdr *)buf;
blk_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
timeout_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
tsize_handler(struct tftphdr *tp, const char *val, char *ack, size_t asize,
int (*o_handler)(struct tftphdr *, const char *, char *, size_t,
get_options(struct tftphdr *tp, char *cp, int size, char *ackb, size_t asize,
tftp(struct tftphdr *tp, int size)
struct tftphdr *oack_h;
oack_h = (struct tftphdr *) oackbuf;
struct tftphdr *dp;
struct tftphdr *ap; /* ack packet */
ap = (struct tftphdr *)ackbuf;
dp = (struct tftphdr *)oackbuf;
struct tftphdr *tftp;
tftp = mtod(m_outbuf, struct tftphdr *);
struct tftphdr *tftp;
tftp = mtod(m, struct tftphdr *);
struct tftphdr *t;
t = (struct tftphdr *)pkt;
struct tftphdr t;
struct tftphdr *t;
struct tftphdr t;
struct tftphdr *t;
struct tftphdr t;
struct tftphdr t;
struct tftphdr *ap; /* data and ack packets */
struct tftphdr *dp;
ap = (struct tftphdr *)(void *)ackbuf;
struct tftphdr *ap;
struct tftphdr *dp;
ap = (struct tftphdr *)(void *)ackbuf;
makerequest(int request, const char *name, struct tftphdr *tp, const char *mode,
struct tftphdr *tp;
tp = (struct tftphdr *)(void *)ackbuf;
tpacket(const char *s, struct tftphdr *tp, int n)
static int makerequest(int, const char *, struct tftphdr *, const char *, off_t);
static void tpacket(const char *, struct tftphdr *, int);
static void get_options(struct tftphdr *, int);
get_options(struct tftphdr *ap, int size)
return (struct tftphdr *)(void *)bfs[0].buf;
struct tftphdr **dpp,
*dpp = (struct tftphdr *)(void *)b->buf; /* set caller's ptr */
struct tftphdr *dp;
dp = (struct tftphdr *)(void *)b->buf;
writeit(FILE *file, struct tftphdr **dpp, int ct, int convert)
*dpp = (struct tftphdr *)(void *)bfs[current].buf;
struct tftphdr *dp;
dp = (struct tftphdr *)(void *)b->buf;
static struct tftphdr *rw_init(int);
struct tftphdr *
struct tftphdr *
static struct tftphdr *
struct tftphdr *r_init(void);
int readit(FILE *, struct tftphdr **, size_t, int);
struct tftphdr *w_init(void);
int writeit(FILE *, struct tftphdr **, int, int);