mirror of
https://github.com/fluencelabs/musl
synced 2025-07-22 18:01:58 +00:00
arch
crt
dist
include
arpa
ftp.h
inet.h
nameser.h
nameser_compat.h
telnet.h
tftp.h
net
netinet
netpacket
scsi
sys
aio.h
alloca.h
alltypes.h.in
ar.h
assert.h
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
dirent.h
dlfcn.h
elf.h
endian.h
err.h
errno.h
fcntl.h
features.h
fenv.h
float.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
iconv.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
lastlog.h
libgen.h
libintl.h
limits.h
link.h
locale.h
malloc.h
math.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h
nl_types.h
paths.h
poll.h
pthread.h
pty.h
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h
setjmp.h
shadow.h
signal.h
spawn.h
stdalign.h
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdio_ext.h
stdlib.h
stdnoreturn.h
string.h
strings.h
stropts.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h
tgmath.h
time.h
ucontext.h
ulimit.h
unistd.h
utime.h
utmp.h
utmpx.h
values.h
wait.h
wchar.h
wctype.h
wordexp.h
lib
src
tools
.gitignore
COPYRIGHT
INSTALL
Makefile
README
WHATSNEW
configure
32 lines
544 B
C
32 lines
544 B
C
![]() |
#ifndef _ARPA_TFTP_H
|
||
|
#define _ARPA_TFTP_H
|
||
|
#define SEGSIZE 512
|
||
|
#define RRQ 01
|
||
|
#define WRQ 02
|
||
|
#define DATA 03
|
||
|
#define ACK 04
|
||
|
#define ERROR 05
|
||
|
struct tftphdr {
|
||
|
short th_opcode;
|
||
|
union {
|
||
|
unsigned short tu_block;
|
||
|
short tu_code;
|
||
|
char tu_stuff[1];
|
||
|
} th_u;
|
||
|
char th_data[1];
|
||
|
};
|
||
|
#define th_block th_u.tu_block
|
||
|
#define th_code th_u.tu_code
|
||
|
#define th_stuff th_u.tu_stuff
|
||
|
#define th_msg th_data
|
||
|
#define EUNDEF 0
|
||
|
#define ENOTFOUND 1
|
||
|
#define EACCESS 2
|
||
|
#define ENOSPACE 3
|
||
|
#define EBADOP 4
|
||
|
#define EBADID 5
|
||
|
#define EEXISTS 6
|
||
|
#define ENOUSER 7
|
||
|
#endif
|
||
|
|