cregit-Linux how code gets into the kernel

Release 4.17 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 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 *skb,
				        enum ip_conntrack_info ctinfo,
				        struct nf_conntrack_expect *exp);

#endif /* _NF_CONNTRACK_TFTP_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Patrick McHardy6396.92%133.33%
Greg Kroah-Hartman11.54%133.33%
Herbert Xu11.54%133.33%
Total65100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.