linux/include/linux/netfilter/nf_conntrack_tftp.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NF_CONNTRACK_TFTP_H
#define _NF_CONNTRACK_TFTP_H

#define TFTP_PORT

#include <linux/netfilter.h>
#include <linux/skbuff.h>
#include <linux/types.h>
#include <net/netfilter/nf_conntrack_expect.h>

struct tftphdr {};

#define TFTP_OPCODE_READ
#define TFTP_OPCODE_WRITE
#define TFTP_OPCODE_DATA
#define TFTP_OPCODE_ACK
#define TFTP_OPCODE_ERROR

extern unsigned int (*nf_nat_tftp_hook)(struct sk_buff *skb,
				        enum ip_conntrack_info ctinfo,
				        struct nf_conntrack_expect *exp);

#endif /* _NF_CONNTRACK_TFTP_H */