Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / netfilter_ipv4 / ip_conntrack_tftp.h
blobcde9729aa1734a341e5e6f081fc56c5cc2e448fd
1 #ifndef _IP_CT_TFTP
2 #define _IP_CT_TFTP
4 #define TFTP_PORT 69
6 struct tftphdr {
7 u_int16_t opcode;
8 };
10 #define TFTP_OPCODE_READ 1
11 #define TFTP_OPCODE_WRITE 2
12 #define TFTP_OPCODE_DATA 3
13 #define TFTP_OPCODE_ACK 4
14 #define TFTP_OPCODE_ERROR 5
16 extern unsigned int (*ip_nat_tftp_hook)(struct sk_buff **pskb,
17 enum ip_conntrack_info ctinfo,
18 struct ip_conntrack_expect *exp);
20 #endif /* _IP_CT_TFTP */