This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / linux / netfilter / nf_conntrack_tftp.h
diff --git a/include/linux/netfilter/nf_conntrack_tftp.h b/include/linux/netfilter/nf_conntrack_tftp.h
new file mode 100644 (file)
index 0000000..0d79b7a
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef _NF_CONNTRACK_TFTP_H
+#define _NF_CONNTRACK_TFTP_H
+
+#define TFTP_PORT 69
+
+struct tftphdr {
+       __be16 opcode;
+};
+
+#define TFTP_OPCODE_READ       1
+#define TFTP_OPCODE_WRITE      2
+#define TFTP_OPCODE_DATA       3
+#define TFTP_OPCODE_ACK                4
+#define TFTP_OPCODE_ERROR      5
+
+extern unsigned int (*nf_nat_tftp_hook)(struct sk_buff **pskb,
+                                       enum ip_conntrack_info ctinfo,
+                                       struct nf_conntrack_expect *exp);
+
+#endif /* _NF_CONNTRACK_TFTP_H */