aboutsummaryrefslogtreecommitdiff
path: root/tests/server/tftpd.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-23 14:34:08 +0000
committerYang Tse <yangsita@gmail.com>2008-10-23 14:34:08 +0000
commit068ba17e2183286e9e061b1a3566a26253e40bcf (patch)
treefd64a9acfbd5f04550b0526ed7456bb2110a5e26 /tests/server/tftpd.c
parent4d10c96aa62c8686fca53f1b412a5c00e0687d31 (diff)
moved some definitions from tftp.h to tftpd.c
Diffstat (limited to 'tests/server/tftpd.c')
-rw-r--r--tests/server/tftpd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index 867567560..364cddc3a 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -118,6 +118,11 @@ static int writeit(struct testcase *test, struct tftphdr **dpp, int ct,
int convert);
static void mysignal(int, void (*func)(int));
+#define opcode_RRQ 1
+#define opcode_WRQ 2
+#define opcode_DATA 3
+#define opcode_ACK 4
+#define opcode_ERROR 5
#define TIMEOUT 5