• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/netfilter/
1#ifndef _NF_CONNTRACK_TFTP_H
2#define _NF_CONNTRACK_TFTP_H
3
4#define TFTP_PORT 69
5
6struct tftphdr {
7	__be16 opcode;
8};
9
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
15
16extern unsigned int (*nf_nat_tftp_hook)(struct sk_buff *skb,
17				        enum ip_conntrack_info ctinfo,
18				        struct nf_conntrack_expect *exp);
19
20#endif /* _NF_CONNTRACK_TFTP_H */
21